yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25064
[Bug 879666] Re: chown error for console.fifo when launching vm
oneiric has seen the end of its life and is no longer receiving any
updates. Marking the oneiric task for this ticket as "Won't Fix".
** Changed in: nova (Ubuntu Oneiric)
Status: New => Won't Fix
--
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/879666
Title:
chown error for console.fifo when launching vm
Status in OpenStack Compute (Nova):
Invalid
Status in nova package in Ubuntu:
Fix Released
Status in nova source package in Oneiric:
Won't Fix
Status in nova source package in Precise:
Fix Released
Bug description:
[Impact]
<fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
1.
2.
3.
Broken Behavior:
Fixed Behavior:
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
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@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