Nope. Never have. Exit value 0 every time. I was going to wait until after I upgraded OpenStack to the latest bugfix, but what the heck:
glance image-create --name centos6.4-x86_64-02-03 --disk-format qcow2 --container-format bare --location http://vm-images/centos64-03.qcow2--is-public False I was expecting it to fail, but it worked. Must have been the upgrades to ceph that I did on Wed. The python-ceph package had been installed across OpenStack nodes since I instantiated Ceph, so I didn't think that upgrading Ceph would be enough to do it. I was sure the issue was OpenStack. Nope! So the reason that I did the Ceph upgrades was that it seemed that about 95% of the /var/run/ceph sockets had disappeared across my Ceph Cluster, thus preventing daemon restarts after upgrades. So I think what I had was a speckled cluster, with each node running anything between 0.61.1 and 0.61.5. I ended up restarting every OSD and every MON process in order to verify that all daemons were running the same version, 0.61.7. Had nothing to do with a missing python-ceph package. The ceph post that deals with this is here: http://bit.ly/17oBaum Thanks for everyone's responses. On Fri, Aug 2, 2013 at 5:21 AM, Simon Pasquier <[email protected]>wrote: > 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 <[email protected]>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 : [email protected] >> 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 49http://www.bull.com >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected] >> 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 49http://www.bull.com > > -- \*..+.- --Greg Chavez +//..;};
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
