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