yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01492
[Bug 1123274] Re: Unable to pre-create chardev file when booting from volume
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1123274
Title:
Unable to pre-create chardev file when booting from volume
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
I am using openstack-ubuntu-testing-grizzly and I have this problem
when booting from volumes, this was working well before but seems to
have broken in the last 72 hours.
booting from local storage works fine but when trying to boot from
volume, libvirt complains that the instance-xxxxxxxx directory does
not exist:
2013-02-12 12:36:05.860 ERROR nova.compute.manager [req-808284f5-5641-4fd6-b8fd-733f243e49da 8636766bc6b342539a9c1b0e3e0c24cc 24e6c25ee7bf4f5bbcd19c53bbe84f37] [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] Instance failed to spawn
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] Traceback (most recent call last):
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 985, in _spawn
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] block_device_info)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1200, in spawn
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] block_device_info)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2082, in _create_domain_and_network
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] domain = self._create_domain(xml, instance=instance)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2043, in _create_domain
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] domain.createWithFlags(launch_flags)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] result = proxy_call(self._autowrap, f, *args, **kwargs)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] rv = execute(f,*args,**kwargs)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] rv = meth(*args,**kwargs)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2013-02-12 12:36:05.860 23382 TRACE nova.compute.manager [instance: 0d17dae7-66e8-491d-8727-77ba163dfb94] libvirtError: Unable to pre-create chardev file '/var/lib/nova/instances/instance-00000122/console.log': No such file or directory
Again, this is only when booting from volume.
Boris
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1123274/+subscriptions