Ask Your Question

Revision history [back]

nova instance fails with libvirtError: internal error Process exited while reading console log output

ERROR nova.scheduler.filter_scheduler [req-3927ad08-f236-4e84-960e-a592c68174c5 admin admin] [instance: 6c24819d-9be0-4c7d-b5fc-61d075f10429] Error from last host: swapnil-ThinkCentre-A58 (node swapnil-ThinkCentre-A58): [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 995, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1249, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1245, in _spawn\n block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1596, in spawn\n block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2569, in _create_domain_and_network\n domain = self._create_domain(xml, instance=instance, power_on=power_on)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2524, in _create_domain\n domain.XMLDesc(0))\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2519, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n result = proxy_call(self._autowrap, f, args, kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n rv = execute(f,args,kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker\n rv = meth(args,*kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file" failed\n\n']

Error : libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file

nova instance fails with libvirtError: internal error Process exited while reading console log output

ERROR nova.scheduler.filter_scheduler [req-3927ad08-f236-4e84-960e-a592c68174c5 admin admin] [instance: 6c24819d-9be0-4c7d-b5fc-61d075f10429] Error from last host: swapnil-ThinkCentre-A58 (node swapnil-ThinkCentre-A58): [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 995, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1249, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1245, in _spawn\n    block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1596, in spawn\n    block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2569, in _create_domain_and_network\n    domain = self._create_domain(xml, instance=instance, power_on=power_on)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2524, in _create_domain\n    domain.XMLDesc(0))\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2519, in _create_domain\n    domain.createWithFlags(launch_flags)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n    result = proxy_call(self._autowrap, f, args, kwargs)\n', *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n    rv = execute(f,args,kwargs)\n', execute(f,*args,**kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker\n    rv = meth(args,*kwargs)\n', meth(*args,**kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags\n    if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file" failed\n\n']

Error failed\n\n'] **Error : libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file

"file**

nova instance fails with libvirtError: internal error Process exited while reading console log output

ERROR nova.scheduler.filter_scheduler [req-3927ad08-f236-4e84-960e-a592c68174c5 admin admin] [instance: 6c24819d-9be0-4c7d-b5fc-61d075f10429] Error from last host: swapnil-ThinkCentre-A58 (node swapnil-ThinkCentre-A58): [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 995, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1249, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1245, in _spawn\n    block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1596, in spawn\n    block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2569, in _create_domain_and_network\n    domain = self._create_domain(xml, instance=instance, power_on=power_on)\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2524, in _create_domain\n    domain.XMLDesc(0))\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2519, in _create_domain\n    domain.createWithFlags(launch_flags)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n    rv = execute(f,*args,**kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker\n    rv = meth(*args,**kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags\n    if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file" failed\n\n']


**Error : libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file**

nova instance fails with libvirtError: internal error Process exited while reading console log output

Installation Details: DevStack installed on ubuntu 12.10 64bit with KVM as hypervisor. I was able to create the instances. Once I have restarted the instance, I am not able to login to the dashboard and create instances. Apache is failing with some permission error, but i can submit the requests with nova-client. But the request fails with following error.

ERROR nova.scheduler.filter_scheduler [req-3927ad08-f236-4e84-960e-a592c68174c5 admin admin] [instance: 6c24819d-9be0-4c7d-b5fc-61d075f10429] Error from last host: swapnil-ThinkCentre-A58 (node swapnil-ThinkCentre-A58): [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 995, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1249, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 1245, in _spawn\n block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1596, in spawn\n block_device_info)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2569, in _create_domain_and_network\n domain = self._create_domain(xml, instance=instance, power_on=power_on)\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2524, in _create_domain\n domain.XMLDesc(0))\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2519, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', args, kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n rv = execute(f,*args,**kwargs)\n', execute(f,args,kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker\n rv = meth(*args,**kwargs)\n', meth(args,*kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file" failed\n\n'] failed\n\n']

**Error : libvirtError: internal error Process exited while reading console log output: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.\nchardev: opening backend "file**