[Bug 879666] Re: chown error for console.fifo when launching vm
Robie Basak
879666 at bugs.launchpad.net
Fri Jan 27 11:48:47 UTC 2012
Precise seems to be missing the console fifo patch. What am I missing?
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/879666
Title:
chown error for console.fifo when launching vm
Status in OpenStack Compute (Nova):
Invalid
Status in “nova” package in Ubuntu:
New
Status in “nova” source package in Oneiric:
New
Status in “nova” source package in Precise:
New
Bug description:
I saw this once before when I was less confident I knew how to run
nova. I cannot reliably reproduce this problem. Here is the contents
of the directory supposedly containng the missing file:
root at xg11eth0:~# ls -l /var/lib/nova/instances/instance-00000001/
total 82492
prw-rw---- 1 root root 0 2011-10-21 16:21 console.fifo.in
prw-rw---- 1 root root 0 2011-10-21 16:22 console.fifo.out
-rw-rw-r-- 1 nova nova 65545 2011-10-21 16:22 console.ring
-rw-r--r-- 1 root root 75497472 2011-10-21 16:26 disk
-rw-r--r-- 1 root root 12582912 2011-10-21 16:22 disk.local
-rw-rw-r-- 1 root root 4732048 2011-10-21 16:21 kernel
-rw-rw-r-- 1 nova nova 1750 2011-10-21 16:31 libvirt.xml
This was running from packages using oneiric-proposed
2011-10-21 16:31:54,147 DEBUG nova.utils [-] Running cmd (subprocess): mkdir -p /var/lib/nova/instances/instance-00000001/ from (pid=1185) execute /usr/lib/python2.7/dist-package\
s/nova/utils.py:168
2011-10-21 16:31:54,153 INFO nova.virt.libvirt_conn [-] instance instance-00000001: Creating image
2011-10-21 16:31:54,153 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo from (pid=1185) execute /usr/lib/pyth\
on2.7/dist-packages/nova/utils.py:168
2011-10-21 16:31:54,173 DEBUG nova.utils [-] Result was 1 from (pid=1185) execute /usr/lib/python2.7/dist-packages/nova/utils.py:183
2011-10-21 16:31:54,174 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 98, in wrapped
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 676, in spawn
(nova.exception): TRACE: block_device_info=block_device_info)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 928, in _create_image
(nova.exception): TRACE: run_as_root=True)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 191, in execute
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutionError: Unexpected error while running command.
(nova.exception): TRACE: Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
(nova.exception): TRACE: Exit code: 1
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.exception): TRACE:
2011-10-21 16:31:54,192 ERROR nova.compute.manager [-] Instance '1' failed to spawn. Is virtualization enabled in the BIOS? Details: Unexpected error while running command.
Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
Exit code: 1
Stdout: ''
Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 424, in _run_instance
(nova.compute.manager): TRACE: network_info, block_device_info)
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 129, in wrapped
(nova.compute.manager): TRACE: raise Error(str(e))
(nova.compute.manager): TRACE: Error: Unexpected error while running command.
(nova.compute.manager): TRACE: Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
(nova.compute.manager): TRACE: Exit code: 1
(nova.compute.manager): TRACE: Stdout: ''
(nova.compute.manager): TRACE: Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.compute.manager): TRACE:
2011-10-21 16:32:43,346 INFO nova.compute.manager [-] Updating host status
2011-10-21 16:32:44,184 INFO nova.compute.manager [-] Found 1 in the database and 0 on the hypervisor.
2011-10-21 16:33:45,087 INFO nova.compute.manager [-] Found 1 in the database and 0 on the hypervisor.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/879666/+subscriptions
More information about the Ubuntu-sponsors
mailing list