All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@inktank.com>
To: Florian Haas <florian@hastexo.com>
Cc: ceph-devel@vger.kernel.org, Openstack <openstack@lists.launchpad.net>
Subject: Re: Ceph/OpenStack integration on Ubuntu precise: horribly broken, or am I doing something wrong?
Date: Fri, 08 Jun 2012 08:48:28 -0700	[thread overview]
Message-ID: <4FD21ECC.7040906@inktank.com> (raw)
In-Reply-To: <CAPUexz846keC+6KvFeethXV4xzpke3n_YKU0_oh-YfTCVR1ozw@mail.gmail.com>

Hi Florian,

There's an Ubuntu bug already:

https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/981130

librgw was not complete, and wasn't actually used by radosgw, so it was
dropped. The Ubuntu package just needs to be updated to remove the
dependency and rgw.py, like upstream did.

Josh

On 06/08/2012 08:24 AM, Florian Haas wrote:
> Hi everyone,
>
> apologies for the cross-post, and not sure if this is new information.
> I did do a cursory check of both list archives and didn't find
> anything pertinent, so here goes. Feel free to point me to an existing
> thread if I'm merely regurgitating something that's already known.
>
> Either I'm doing something terribly wrong, or the current state of
> OpenStack/Ceph integration in Ubuntu precise is somewhat suboptimal.
> At least as far as sticking to packages available in Ubuntu repos is
> concerned.
>
> Steps to reproduce:
>
> 1. On an installation using 12.04 with current updates, create a RADOS pool.
> 2. Configure glance to use "rbd" as its backend storage.
> 3. Attempt to upload an image.
>
> glance add name="Ubuntu 12.04 cloudimg amd64" is_public=true
> container_format=ovf disk_format=qcow2<
> precise-server-cloudimg-amd64-disk1.img
> Uploading image 'Ubuntu 12.04 cloudimg amd64'
> ==============================================================================================[
> 92%]         222.109521M/s, ETA  0h  0m  0sFailed to add image. Got
> error:
> Data supplied was not valid.
> Details: 400 Bad Request
>
> The server could not comply with the request since it is either
> malformed or otherwise incorrect.
>
>   Error uploading image: (NameError): global name 'rados' is not defined
>
> Digging around in glance/store/rbd.py yields this:
>
> try:
>      import rados
>      import rbd
> except ImportError:
>      pass
>
> I will go so far as say the error handling here could be improved --
> however, the Swift store implementation seems to do the same.
>
> Now, in Ubuntu rados.py and rbd.py ship in the python-ceph package,
> which is available in universe, but has an unresolvable dependency on
> librgw1. librgw1 apparently had been in Ubuntu for quite a while, but
> was dropped just before the Essex release:
>
> https://launchpad.net/ubuntu/precise/amd64/radosgw
>
> ... and if I read
> http://changelogs.ubuntu.com/changelogs/pool/main/c/ceph/ceph_0.41-1ubuntu2/changelog
> correctly, then the rationale for it was to "drop radosgw since
> libfcgi is not in main and the code may not be suitable for LTS." (I
> wonder why this wasn't factored out into a separate package then, as
> was apparently the case for ceph-mds).
>
> Does this really mean that radosgw functionality was dropped from
> Ubuntu because it wasn't considered ready for main, and now it
> completely breaks a package in universe that's essential for
> Ceph/OpenStack integration? AFAICT the only thing that would be
> unaffected by this would be nova-volume (now cinder) which rather than
> using the Ceph Python bindings just calls out to the rados and rbd
> binaries. But both the glance RBD store and the RADOS Swift and S3
> frontends (via radosgw) would be affected.
>
> This can of course all be fixed by using "upstream" packages from the
> Ceph guys (thanks to Sébastien Han for pointing that out to me).
>
> Anyone able to confirm or refute these findings? Should there be an
> Ubuntu bug for this? If so, against what package?
>
> Cheers,
> Florian
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-06-08 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 15:24 Ceph/OpenStack integration on Ubuntu precise: horribly broken, or am I doing something wrong? Florian Haas
2012-06-08 15:48 ` Josh Durgin [this message]
2012-06-08 16:04   ` Florian Haas
     [not found]   ` <4FD2217F.8040804@ubuntu.com>
2012-06-08 16:11     ` [Openstack] " Florian Haas
2012-06-21 19:43       ` James Page
2012-06-21 22:23         ` Florian Haas
2012-06-08 16:02 ` Tommi Virtanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FD21ECC.7040906@inktank.com \
    --to=josh.durgin@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=florian@hastexo.com \
    --cc=openstack@lists.launchpad.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.