Openstack VM Created with Error Status

asked 2015-03-16 04:33:12 -0500

RkReddy gravatar image

Hi,

Using JCloud API I have written the code to create the VM. Th steps as follows. 1. I created custom Flavor 2. By passing the ID of the flavour I created VM Server. But VM was created with the Error status.

Please find below the complete Error stack from nova logs:

2015-03-16 04:05:32.632 1897 ERROR nova.compute.manager [req-eb14e9f3-3ce1-4907-8b0a-b94e48e466db d5b5edb66d44434096e29c64ffed2dbf 15b801a553c947108b2c043880004465] [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] Instance failed to spawn 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] Traceback (most recent call last): 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] block_device_info) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2070, in spawn 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] block_device_info, context=context) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3205, in _create_domain_and_network 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] domain = self._create_domain(xml, instance=instance, power_on=power_on) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3148, in _create_domain 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] domain.XMLDesc(0)) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3143, in _create_domain 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] domain.createWithFlags(launch_flags) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] result = proxy_call(self._autowrap, f, args, kwargs) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] rv = execute(f,args,kwargs) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] rv = meth(args,*kwargs) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 728, in createWithFlags 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2015-03-16 04:05:32.632 1897 TRACE nova.compute.manager [instance: 5250f2a8-4746-495c-aa2c-1dfc354147fb] libvirtError: Unable to read from monitor: Connection reset by peer 2015-03-16 04:05:32.632 1897 ... (more)

edit retag flag offensive close merge delete