[Openstack] Glance fails to use RBD store

Simon Pasquier simon.pasquier at bull.net
Fri Aug 2 09:21:08 UTC 2013


And if you execute the following command on your nodes, you get no error?

$ python -c 'import rados'


Le 01/08/2013 21:25, Greg Chavez a écrit :
> I should have noted this in my original post, but I already have 
> python-ceph installed on my controller node and on each compute node. 
>  And still I get this error.
>
> Last night, I upgraded all of my ceph nodes to 0.61.7-1raring, 
> including those that are also compute nodes.  Next, I'm going to 
> upgrade all of my OpenStack packages to the latest dot.dot 
> release, 1:2013.1.2-0ubuntu1.
>
> I don't see any bugfixes in Glance that might help me, but I figure do 
> this first before asking the community to help me figure this out 
> since it's clear that "you're missing python-ceph" is not the problem. 
>  Watch this space for updates :)
>
>
> On Thu, Aug 1, 2013 at 5:06 AM, Simon Pasquier 
> <simon.pasquier at bull.net <mailto:simon.pasquier at bull.net>> wrote:
>
>     Hi,
>     It means that the rados Python library is not installed.
>     Try:
>     sudo apt-get install python-ceph
>
>     Simon
>     Le 31/07/2013 20:27, Greg Chavez a écrit :
>>
>>     This is the error I get when I try to upload an image with Glance
>>     set to use RBD via Ceph in glance/api.log:
>>
>>     2013-07-30 17:39:31.308 7294 ERROR glance.api.v1.images [-]
>>     Failed to upload image
>>     ...
>>     2013-07-30 17:39:31.308 7294 TRACE glance.api.v1.images
>>     NameError: global name 'rados' is not defined
>>
>>     (complete message here: http://pastebin.com/TkrCWigt)
>>
>>     This happens regardless of whether I use Horizon or the CLI.
>>      Here' my stack's CV:
>>
>>     o Grizzly on Ubuntu 13.04
>>     o Openstack: 1:2013.1-0ubuntu2
>>     o Ceph: 0.61.4-1raring
>>     o separate controller, network, and compute nodes with public,
>>     management, and data VLANs (ceph talks over the mgmt, quantum
>>     over the data).
>>
>>     Any ideas?  Thanks.
>>
>>
>>     -- 
>>     \*..+.-
>>     --Greg Chavez
>>     +//..;};
>>
>>
>>     _______________________________________________
>>     Mailing list:http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>     Post to     :openstack at lists.openstack.org  <mailto:openstack at lists.openstack.org>
>>     Unsubscribe :http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>     -- 
>     Simon Pasquier
>     Software Engineer
>     Bull, Architect of an Open World
>     Phone:+ 33 4 76 29 71 49  <tel:%2B%2033%204%2076%2029%2071%2049>
>     http://www.bull.com
>
>
>     _______________________________________________
>     Mailing list:
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>     Post to     : openstack at lists.openstack.org
>     <mailto:openstack at lists.openstack.org>
>     Unsubscribe :
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
> -- 
> \*..+.-
> --Greg Chavez
> +//..;};


-- 
Simon Pasquier
Software Engineer
Bull, Architect of an Open World
Phone: + 33 4 76 29 71 49
http://www.bull.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130802/f8ba166b/attachment.html>


More information about the Openstack mailing list