Where's your glance server located? On the same node ? Can you telnet the glance API port to see if connects ? TCP 9292 , if that fail it seems like your glance service is down ...<br><br>Regards<br>Lele<br><br><div class="gmail_quote">
On Wed, Jul 13, 2011 at 11:48 PM, Sharif Islam <span dir="ltr"><<a href="mailto:islamsh@indiana.edu">islamsh@indiana.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
<br>
<br>
<br>
I would really appreciate if someone can point me to the right<br>
direction. I already spent few hours with this but can't seem to resolve<br>
the issue. I have checked all the virtualization/libvirtd options in the<br>
bios and the node. All seems to be ok there. My hunch is that my glance<br>
setup is not correct (until today, I didn't realize that there was a<br>
/etc/glance/*.conf).<br>
<br>
I am using RHEL 6.1<br>
<br>
from failed to spawn it goes to shutdown.<br>
<br>
This is from the nova-compute.log from the compute node:<br>
<br>
<br>
2011-07-13 22:36:23,168 nova.compute.manager: AUDIT<br>
[KIO6M5FGWOQXGS0EVPW8 sharif myproject] instance 32: starting...<br>
2011-07-13 22:36:24,795 nova: called setup_basic_filtering in nwfilter<br>
2011-07-13 22:36:24,795 nova: ensuring static filters<br>
2011-07-13 22:36:25,076 nova.virt.libvirt_conn: instance<br>
instance-00000020: Creating image<br>
2011-07-13 22:36:25,095 nova.exception: Uncaught exception<br>
(nova.exception): TRACE: Traceback (most recent call last):<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/exception.py", line 87, in _wrap<br>
(nova.exception): TRACE:     return f(*args, **kw)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line<br>
590, in spawn<br>
(nova.exception): TRACE:     block_device_mapping=block_device_mapping)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line<br>
845, in _create_image<br>
(nova.exception): TRACE:     size=size)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line<br>
751, in _cache_image<br>
(nova.exception): TRACE:     call_if_not_exists(base, fn, *args, **kwargs)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/utils.py", line 605, in inner<br>
(nova.exception): TRACE:     retval = f(*args, **kwargs)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line<br>
749, in call_if_not_exists<br>
(nova.exception): TRACE:     fn(target=base, *args, **kwargs)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line<br>
762, in _fetch_image<br>
(nova.exception): TRACE:     images.fetch(image_id, target, user, project)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/virt/images.py", line 44, in fetch<br>
(nova.exception): TRACE:     metadata = image_service.get(elevated,<br>
image_id, image_file)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/image/glance.py", line 139, in get<br>
(nova.exception): TRACE:     image_meta, image_chunks =<br>
self.client.get_image(image_id)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/glance/client.py", line 224, in get_image<br>
(nova.exception): TRACE:     res = self.do_request("GET", "/images/%s" %<br>
image_id)<br>
(nova.exception): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/glance/client.py", line 167, in do_request<br>
(nova.exception): TRACE:     "server. Got error: %s" % e)<br>
(nova.exception): TRACE: ClientConnectionError: Unable to connect to<br>
server. Got error: [Errno 111] ECONNREFUSED<br>
(nova.exception): TRACE:<br>
2011-07-13 22:36:25,096 nova.compute.manager: Instance '32' failed to<br>
spawn. Is virtualization enabled in the BIOS? Details: Unable to connect<br>
to server. Got error: [Errno 111] ECONNREFUSED<br>
(nova.compute.manager): TRACE: Traceback (most recent call last):<br>
(nova.compute.manager): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 323, in<br>
_run_instance<br>
(nova.compute.manager): TRACE:<br>
block_device_mapping=block_device_mapping)<br>
(nova.compute.manager): TRACE:   File<br>
"/usr/lib/python2.6/site-packages/nova/exception.py", line 93, in _wrap<br>
(nova.compute.manager): TRACE:     raise Error(str(e))<br>
(nova.compute.manager): TRACE: Error: Unable to connect to server. Got<br>
error: [Errno 111] ECONNREFUSED<br>
(nova.compute.manager): TRACE:<br>
2011-07-13 22:37:02,254 nova.compute.manager: Updating host status<br>
2011-07-13 22:37:02,280 nova.compute.manager: Found instance<br>
'instance-00000020' in DB but no VM. State=8, so setting state to shutoff.<br>
2011-07-13 22:37:02,280 nova.compute.manager: DB/VM state mismatch.<br>
Changing state from '8' to '5'<br>
<br>
<br>
thanks. let me know if you need more information about the setup here.<br>
<br>
- --sharif<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJOHlkBAAoJEACffes9SivF/DcIAJNOiQbsdmzP7tT8CSjIkYHc<br>
zqchpLCIq/W9ypGNg4ISNQnyWdoBIUmSxfbKleA1kVq/bkzihV8JjEQ4qcyGGkzR<br>
7TqY2+tipA8nm3UD289ll/7cX3QvZFhdX/qbMpi0AePvHtQTTUs5iGUOQ1KtGbHT<br>
Scp5G/GofYjakZgWoDFyAlbYQH6FRF4mCKZ3rVO9Ir7sU1Xm1FD52SMQzVqb7+9H<br>
6h2NbYaI+4Zh/ZqnAJG5HRRk3j+blJq5vhAkmSRSIV9copxUbqJ9a9DAYyFWCMD6<br>
blZMMq2JZiwP6+3TOE4kwVanNagvCDERTHYr5E1V1ifASswGnKthQIELRpRWVQ4=<br>
=5WGU<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Openstack-operators mailing list<br>
<a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br>