Ask Your Question

sadok1989's profile - activity

2016-01-05 20:36:29 -0600 received badge  Famous Question (source)
2015-06-01 20:56:30 -0600 received badge  Notable Question (source)
2015-05-28 02:59:57 -0600 received badge  Popular Question (source)
2015-05-26 05:45:58 -0600 asked a question i install OpenStack Juno, and when i try ti launch a Vm it always be created with the state error ,this is the /var/log/nova/nova-compute.log on my compute node

</disk> <controller type="usb" index="0">
</controller> <controller type="pci" index="0" model="pci-root"/> <interface type="bridge"> <mac address="fa:16:3e:52:d0:b0"/> <source bridge="qbr8cd3752d-52"/> <target dev="tap8cd3752d-52"/> <model type="virtio"/>
</interface> <serial type="file"> <source path="/var/lib/nova/instances/7ab40630-4f44-4071-9e61-087ce3c15f3d/console.log"/> <target port="0"/> </serial> <serial type="pty"> <target port="1"/> </serial> <console type="file"> <source path="/var/lib/nova/instances/7ab40630-4f44-4071-9e61-087ce3c15f3d/console.log"/> <target type="serial" port="0"/> </console> <input type="tablet" bus="usb"/> <input type="mouse" bus="ps2"/> <input type="keyboard" bus="ps2"/> <graphics type="vnc" port="-1" autoport="yes" listen="0.0.0.0" keymap="en-us"> <listen type="address" address="0.0.0.0"/> </graphics> <video> <model type="cirrus" vram="9216" heads="1"/>
</video> <memballoon model="virtio">
<stats period="10"/> </memballoon> </devices> </domain>

2015-05-26 10:11:09.532 2161 ERROR nova.compute.manager [-] [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] Instance failed to spawn 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] Traceback (most recent call last): 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2252, in _build_resources 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] yield resources 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2122, in _build_and_run_instance 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] block_device_info=block_device_info) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2622, in spawn 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] block_device_info, disk_info=disk_info) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] power_on=power_on) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4349, in _create_domain 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] LOG.error(err) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__ 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] six.reraise(self.type_, self.value, self.tb) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4339, in _create_domain 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] domain.createWithFlags(launch_flags) 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit 2015-05-26 10:11:09.532 2161 TRACE nova.compute.manager [instance: 7ab40630-4f44-4071-9e61-087ce3c15f3d] result = proxy_call(self._autowrap ...

(more)
2015-05-26 05:41:41 -0600 commented answer Can't spawn instance anymore.. if ret == -1: raise libvirtError

can you please clarify more about the solution. thanks

2015-05-26 04:13:04 -0600 received badge  Enthusiast
2015-05-20 06:07:04 -0600 commented question Nova compute error

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

2015-05-20 04:42:28 -0600 received badge  Famous Question (source)
2015-05-18 11:43:08 -0600 received badge  Editor (source)
2015-05-18 11:19:35 -0600 commented question Nova compute error

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

2015-05-18 11:06:44 -0600 received badge  Notable Question (source)
2015-05-18 05:39:51 -0600 received badge  Popular Question (source)
2015-05-17 12:44:20 -0600 asked a question Nova compute error

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)