Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is not an answer, but more information and the code is more readable here then in comments:

2013-12-19 11:43:09.980 ERROR nova.compute.manager [req-68352c27-536d-41ac-95ba-496cf199cf26 7f034b093c9540da9887ec2f147108f3 f70b99e9536a472d881470355164e22b] [instanc
e: 8f36f1c6-288d-459c-b0ca-74e498561a90] Instance failed to spawn
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90] Traceback (most recent call last):
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.p
y", line 1119, in _spawn
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     block_device_info)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driv
er.py", line 1531, in spawn
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     block_device_info)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driv
er.py", line 2447, in _create_domain_and_network
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     domain = self._create_domain(xml, instance=instance)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driv
er.py", line 2408, in _create_domain
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     domain.createWithFlags(launch_flags)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", li
ne 187, in doit
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", li
ne 147, in proxy_call
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     rv = execute(f,*args,**kwargs)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", li
ne 76, in tworker
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     rv = meth(*args,**kwargs)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 711,
 in createWithFlags
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags
() failed', dom=self)
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90] libvirtError: Unable to read from monitor: Connection reset by
peer
2013-12-19 11:43:09.980 1525 TRACE nova.compute.manager [instance: 8f36f1c6-288d-459c-b0ca-74e498561a90]
2013-12-19 11:43:12.030 ERROR nova.compute.manager [req-68352c27-536d-41ac-95ba-496cf199cf26 7f034b093c9540da9887ec2f147108f3 f70b99e9536a472d881470355164e22b] [instanc
e: 8f36f1c6-288d-459c-b0ca-74e498561a90] Error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 864, i
n _run_instance\n    set_access_ip=set_access_ip)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1123, in _spawn\n    LOG.exception(_(\'In
stance failed to spawn\'), instance=instance)\n', '  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', '  File "/usr/lib/python2.7/
dist-packages/nova/compute/manager.py", line 1119, in _spawn\n    block_device_info)\n', '  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 15
31, in spawn\n    block_device_info)\n', '  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2447, in _create_domain_and_network\n    domain =
self._create_domain(xml, instance=instance)\n', '  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2408, in _create_domain\n    domain.createW
ithFlags(launch_flags)\n', '  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\
n', '  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n    rv = execute(f,*args,**kwargs)\n', '  File "/usr/lib/python2.7/dist-packa
ges/eventlet/tpool.py", line 76, in tworker\n    rv = meth(*args,**kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 711, in createWithFlags\n
if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', 'libvirtError: Unable to read from monitor: Connection reset by peer\n']