Nova compute error

asked 2015-05-16 10:57:38 -0600

sadok1989 gravatar image

updated 2015-05-18 11:43:08 -0600

i create VM's with the status error this is the log file /var/log/nova/nova-compute.log on the compute node and this is /var/log/libvirt/libvirtd.log on the compute node

 2015-05-16 16:10:09.898 4725 ERROR nova.compute.manager [-] [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584] Instance failed to spawn
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584] Traceback (most recent call last):
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2252, in _build_resources
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     yield resources
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2122, in _build_and_run_instance
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     block_device_info=block_device_info)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2622, in spawn
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     block_device_info, disk_info=disk_info)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     power_on=power_on)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4349, in _create_domain
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     LOG.error(err)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     six.reraise(self.type_, self.value, self.tb)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4339, in _create_domain
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     domain.createWithFlags(launch_flags)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     rv = execute(f,*args,**kwargs)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584]     rv = meth(*args,**kwargs)
2015-05-16 16:10:09.898 4725 TRACE nova.compute.manager [instance: 84c94783-1d51-40e4-94f5-ba80f6cfe584 ...
(more)
edit retag flag offensive close merge delete

Comments

there should be more error messages before the "Instance failed to spawn" line

vblando gravatar imagevblando ( 2015-05-18 08:11:18 -0600 )edit

no there is no error before the "Instance failed to spawn" line

sadok1989 gravatar imagesadok1989 ( 2015-05-18 11:19:35 -0600 )edit

Can you tell us what are you trying to do. What is your setup?

GLaupre gravatar imageGLaupre ( 2015-05-19 19:14:39 -0600 )edit

i am trying to launch Vm but always the Vm will be created with the status error

sadok1989 gravatar imagesadok1989 ( 2015-05-20 06:07:04 -0600 )edit