<div dir="ltr">Nope. Never have. Exit value 0 every time.<div><br></div><div>I was going to wait until after I upgraded OpenStack to the latest bugfix, but what the heck:</div><div><br></div><div>glance image-create --name centos6.4-x86_64-02-03 --disk-format qcow2 --container-format bare --location <a href="http://vm-images/centos64-03.qcow2" target="_blank">http://vm-images/centos64-03.qcow2</a> --is-public False<br>
<br></div><div>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!</div>
<div><br></div><div>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.</div>
<div><br></div><div>Had nothing to do with a missing python-ceph package.</div><div><br></div><div>The ceph post that deals with this is here: <a href="http://bit.ly/17oBaum">http://bit.ly/17oBaum</a></div><div><br></div>
<div>Thanks for everyone's responses.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 2, 2013 at 5:21 AM, Simon Pasquier <span dir="ltr"><<a href="mailto:simon.pasquier@bull.net" target="_blank">simon.pasquier@bull.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>And if you execute the following
command on your nodes, you get no error?<br>
<br>
$ python -c 'import rados'<br>
<br>
<br>
Le 01/08/2013 21:25, Greg Chavez a écrit :<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">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.
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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
:)</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Aug 1, 2013 at 5:06 AM, Simon
Pasquier <span dir="ltr"><<a href="mailto:simon.pasquier@bull.net" target="_blank">simon.pasquier@bull.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
It means that the rados Python library is not installed.<br>
Try:<br>
sudo apt-get install python-ceph<br>
<br>
Simon<br>
Le 31/07/2013 20:27, Greg Chavez a écrit :<br>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>
<div>2013-07-30 17:39:31.308 7294 ERROR
glance.api.v1.images [-] Failed to upload
image</div>
<div>...</div>
<div>2013-07-30 17:39:31.308 7294 TRACE
glance.api.v1.images NameError: global name
'rados' is not defined</div>
</div>
<div><br>
</div>
<div>(complete message here: <a href="http://pastebin.com/TkrCWigt" target="_blank">http://pastebin.com/TkrCWigt</a>)<br>
</div>
<div><br>
</div>
<div>This happens regardless of whether I use
Horizon or the CLI. Here' my stack's CV:</div>
<div><br>
</div>
<div>o Grizzly on Ubuntu 13.04</div>
<div>o Openstack: 1:2013.1-0ubuntu2</div>
<div>o Ceph: 0.61.4-1raring</div>
<div>o separate controller, network, and compute
nodes with public, management, and data VLANs
(ceph talks over the mgmt, quantum over the
data).</div>
<div><br>
</div>
<div>Any ideas? Thanks.</div>
<br clear="all">
<div><br>
</div>
-- <br>
\*..+.-<br>
--Greg Chavez<br>
+//..;}; </div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<div>
<pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</div>
</blockquote>
<span><font color="#888888"> <br>
<br>
<pre cols="72">--
Simon Pasquier
Software Engineer
Bull, Architect of an Open World
Phone: <a href="tel:%2B%2033%204%2076%2029%2071%2049" value="+33476297149" target="_blank">+ 33 4 76 29 71 49</a>
<a href="http://www.bull.com" target="_blank">http://www.bull.com</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
\*..+.-<br>
--Greg Chavez<br>
+//..;};
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Simon Pasquier
Software Engineer
Bull, Architect of an Open World
Phone: <a href="tel:%2B%2033%204%2076%2029%2071%2049" value="+33476297149" target="_blank">+ 33 4 76 29 71 49</a>
<a href="http://www.bull.com" target="_blank">http://www.bull.com</a></pre>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>\*..+.-<br>--Greg Chavez<br>+//..;};
</div>