chown error for console.fifo when launching vm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Chuck Short | ||
Oneiric |
Won't Fix
|
Undecided
|
Chuck Short | ||
Precise |
Fix Released
|
Medium
|
Chuck Short |
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/
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/
s/nova/utils.py:168
2011-10-21 16:31:54,153 INFO nova.virt.
2011-10-21 16:31:54,153 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /var/lib/
on2.7/dist-
2011-10-21 16:31:54,173 DEBUG nova.utils [-] Result was 1 from (pid=1185) execute /usr/lib/
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/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: block_device_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: run_as_root=True)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutio
(nova.exception): TRACE: Command: sudo chown 107 /var/lib/
(nova.exception): TRACE: Exit code: 1
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: "chown: cannot access `/var/lib/
(nova.exception): TRACE:
2011-10-21 16:31:54,192 ERROR nova.compute.
Command: sudo chown 107 /var/lib/
Exit code: 1
Stdout: ''
Stderr: "chown: cannot access `/var/lib/
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2011-10-21 16:32:43,346 INFO nova.compute.
2011-10-21 16:32:44,184 INFO nova.compute.
2011-10-21 16:33:45,087 INFO nova.compute.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 2138 lines (+1286/-428)37 files modifieddebian/README.xcp_and_openstack (+243/-0)
debian/changelog (+29/-3)
debian/control (+69/-2)
debian/copyright (+10/-7)
debian/debian_control_vars (+0/-3)
debian/gbp.conf (+6/-0)
debian/nova-api.init (+77/-56)
debian/nova-common.install (+1/-0)
debian/nova-common.manpages.in (+0/-1)
debian/nova-compute-kvm.postinst (+7/-0)
debian/nova-compute-lxc.postinst (+7/-0)
debian/nova-compute-qemu.postinst (+7/-0)
debian/nova-compute-uml.postinst (+7/-0)
debian/nova-compute-xen.postinst (+7/-0)
debian/nova-compute.init (+78/-53)
debian/nova-console.init (+76/-50)
debian/nova-doc.links (+7/-0)
debian/nova-network.init (+77/-51)
debian/nova-objectstore.init (+77/-51)
debian/nova-scheduler.init (+76/-50)
debian/nova-volume.default (+2/-3)
debian/nova-volume.init (+91/-59)
debian/nova-xcp-network.init (+167/-0)
debian/nova-xcp-network.install (+6/-0)
debian/nova-xcp-plugins.docs (+1/-0)
debian/nova-xcp-plugins.install (+6/-0)
debian/nova-xcp-plugins.postinst (+13/-0)
debian/nova-xcp-plugins.postrm (+11/-0)
debian/nova-xvpvncproxy.init (+97/-0)
debian/nova-xvpvncproxy.install (+1/-0)
debian/nova-xvpvncproxy.logrotate (+4/-0)
debian/patches/path-to-the-xenhost.conf-fixup.patch (+14/-0)
debian/python-nova.install (+0/-1)
debian/pyversions (+0/-1)
debian/rules (+11/-35)
debian/ubuntu_control_vars (+0/-2)
debian/xen-openvswitch-nova.rules (+1/-0)
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Precise): | |
assignee: | nobody → Robie Basak (racb) |
description: | updated |
This bug is Ubuntu specific - console.fifo has never existed upstream