[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 Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Branch linked: lp:~openstack-ubuntu-testing/nova/raring-grizzly -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Branch linked: lp:~ubuntu-server-dev/nova/debian-merge -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Branch linked: lp:~openstack-ubuntu-packagers/nova/ubuntu -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
This bug was fixed in the package nova - 2012.1~e4~20120224.12913-0ubuntu1 --- nova (2012.1~e4~20120224.12913-0ubuntu1) precise; urgency=low [ Monty Taylor ] * Move files from nova/locale to /usr/share/locale [ Chuck Short ] * debian/rules: Fix FTBFS. * debian/control: Add depends on python-babel. * debian/control: Add depends on python-iso8601. * debian/nova-api-os-volume.install: Fix FTBS. * debian/patches/libvirt-use-console-pipe.patch: Refreshed and Re-enabled. (LP: #879666) * debian/control: Make sure we install nova-cert [ Joseph Heck ] * debian/nova-console.install: Add nova-consoleauth. * Add nova-api-ec2, nova-api-os-compute, and nova-api-os-volume. -- Chuck Short zul...@ubuntu.com Fri, 24 Feb 2012 10:08:10 -0500 ** Changed in: nova (Ubuntu Precise) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Branch linked: lp:ubuntu/nova -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
Un-subscribing ubuntu-sponsors as Chuck has this in hand. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
Just to update anyone following this bug, the plan decided at the last meeting is that Chuck will rebase the console fifo patch for Precise, fixing this bug on the way, and then SRU the fix for this bug in Oneiric. Thanks Chuck! ** Changed in: nova (Ubuntu Precise) Assignee: Robie Basak (racb) = Chuck Short (zulcss) ** Changed in: nova (Ubuntu Oneiric) Assignee: (unassigned) = Chuck Short (zulcss) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
Ok, looking at the precise tree, this bug is not valid there as that chunk of code has been removed. Robie, Daviey, it's possible I'm misreading, but it seems to me this should be marked Fix Released for precise, and Robie's debdiff should be updated to apply to oneiric-proposed's version (which still has the bug). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
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 Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Description changed: - 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: + [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-0001/ total 82492 prw-rw 1 root root0 2011-10-21 16:21 console.fifo.in prw-rw 1 root root0 2011-10-21 16:22 console.fifo.out -rw-rw-r-- 1 nova nova65545 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-0001/ 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-0001: Creating image 2011-10-21 16:31:54,153 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /var/lib/nova/instances/instance-0001/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-0001/console.fifo (nova.exception): TRACE: Exit code: 1 (nova.exception): TRACE: Stdout: '' (nova.exception): TRACE: Stderr: chown: cannot access `/var/lib/nova/instances/instance-0001/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-0001/console.fifo Exit code: 1 Stdout: '' Stderr: chown: cannot access `/var/lib/nova/instances/instance-0001/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-0001/console.fifo (nova.compute.manager): TRACE: Exit code: 1 (nova.compute.manager): TRACE: Stdout: '' (nova.compute.manager): TRACE: Stderr: chown:
[Bug 879666] Re: chown error for console.fifo when launching vm
** Changed in: nova (Ubuntu Precise) Assignee: (unassigned) = Robie Basak (racb) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
@Robie, Can you propose this fix for Precise first; then we'll SRU it. Thanks. ** Also affects: nova (Ubuntu Oneiric) Importance: Undecided Status: New ** Also affects: nova (Ubuntu Precise) Importance: Medium Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
** Changed in: nova (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
I think that this might have been caused by an erroneous merge. Untested, but it looks obvious to me what the fix should be. I've attached it. But because it's a race, it will be difficult to test the fix itself. I think it's only realistic to test that this doesn't break anything. What's the status of this in precise, as upstream will not accept the console fifo security fix? Does this issue exist in precise also? For this reason I'm not sure what to do about the SRU procedure here. ** Attachment added: debdiff https://bugs.launchpad.net/nova/+bug/879666/+attachment/2678841/+files/debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
The attachment debdiff of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 879666] Re: chown error for console.fifo when launching vm
This bug is Ubuntu specific - console.fifo has never existed upstream ** Also affects: nova (Ubuntu) Importance: Undecided Status: New ** Changed in: nova Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/879666 Title: chown error for console.fifo when launching vm To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/879666/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs