nova-compute: euca-get-console-output returns no data

Bug #932787 reported by Andrew Glen-Young
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nova (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have recently upgraded from Oneiric to Precise and noticed that 'euca-get-console-output <instance>' no longer returns data.

Some investigation reveals that there may be a regression where the libvirt template is set to log to a log file, but nova-compute is reading a fifo. Comparing an Oneirc template against a Precise template seems to confirm the difference.

Could you please fix the template so that libvirt will log to a fifo?

Instances that have been created seem to behave correctly, but only their console output is unavailable.

Some investigations:
----------------------------

$ grep -c fifo /usr/share/pyshared/nova/virt/libvirt.xml.template
0

$ grep log /usr/share/pyshared/nova/virt/libvirt.xml.template
            <source path='${basepath}/console.log'/>

$ dpkg-query --show nova-compute
nova-compute 2012.1~e4~20120210.12574-0ubuntu1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nova (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Hey Andrew, thanks for reporting. It seems there was an error when forward-porting the FIFO console log patch from oneiric to precise/essex. I believe Chuck is the process of refreshing it and fixing it, so it the newer version of the patch will include the changes required to get a proper libvirt template.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2012.1~e4~20120217.12709-0ubuntu1

---------------
nova (2012.1~e4~20120217.12709-0ubuntu1) precise; urgency=low

  [ Dave Walker (Daviey) ]
  * New upstream snapshot
  * debian/patches/temp_fix_linux_net.patch:
    - Dropped, applied upstream. LP: #929127
  * debian/patches/libvirt-use-console-pipe.patch:
    - Rebased against latest trunk

  [ Chuck Short ]
  * debian/nova.conf: Re-enable default iscsi_helper.
  * debian/nova.conf: More fixups.
  * debian/control: Dont depend and conflicts on nova-compute-
    hypervisor. (LP: #923681)
  * debian/patches/libvirt-us-console-pipe.patch: Refreshed.
  * Temporarily disable console patch. (LP: #932787)
  * New usptream version.
 -- Chuck Short <email address hidden> Fri, 17 Feb 2012 10:59:59 -0500

Changed in nova (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.