lxc: get-console-output does not work

Bug #832159 reported by Scott Moser on 2011-08-23
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nova (Ubuntu)
Undecided
Chuck Short
Oneiric
Undecided
Chuck Short

Bug Description

$ euca-describe-instances i-00000004
RESERVATION r-7hraufks test-project default
INSTANCE i-00000004 ami-00000001 11.0.0.2 11.0.0.2 running mykey 0m1.small 2011-08-23T16:28:54Z nova ami-00000000 ami-00000000
$ euca-describe-images ami-00000001
IMAGE ami-00000001 ubuntu-bucket/ubuntu-oneiric-daily-amd64-server-20110822.manifest.xml available private x86_64 machine instance-store
$ sudo cat /etc/nova/nova.conf
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--flagfile=/etc/nova/nova-compute.conf
--verbose
--libvirt_type=lxc
--network_manager=nova.network.manager.FlatDHCPManager
$ euca-get-console-output i-00000004
UnknownError: An unknown error has occurred. Please try your request again.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nova-compute-lxc 2011.3~d4~20110812.1417-0ubuntu1
ProcVersionSignature: User Name 3.0.0-9.13-virtual 3.0.3
Uname: Linux 3.0.0-9-virtual x86_64
Architecture: amd64
Date: Tue Aug 23 16:29:17 2011
NovaConf: Error: [Errno 13] Permission denied: '/etc/nova/nova.conf'
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)

Scott Moser (smoser) wrote :
Changed in nova (Ubuntu):
status: New → Confirmed
Dave Walker (davewalker) on 2011-09-29
tags: added: server-o-rs
Changed in nova (Ubuntu Oneiric):
assignee: nobody → Chuck Short (zulcss)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2011.3-0ubuntu4

---------------
nova (2011.3-0ubuntu4) oneiric; urgency=low

  [James Page]
  * debian/nova-common.postinst:
    - Exclude mounted LXC rootfs filesystems within /var/lib/nova from
      user/group ownership changes (LP: #861260).
    - Ensure that primary group for 'nova' user is 'nova' so that files
      created by this user have the correct group ownership.

  [Adam Gandelman]
  * debian/nova-common.postinst: Restrict permissions of /var/log/nova
    (LP: #862816)

  [Ante Karamatic]
  * Add /usr/sbin/ietadm to sudoers (LP: #861547)
  * debian/control: Fix typo in Vcs-Bzr

  [Chuck Short]
  * debian/patches/backport-libvirt-console-pipe.patch:
    Move console.log to a ringbuffer so that the console.log
    keeps filling up. (LP: #832507)
  * debian/patches/backport-lxc-container-console-fix.patch:
    Make euca-get-console-output usable for LXC containers.
    (LP: #832159)
  * debian/patches/backport-snapshot-cleanup.patch:
    Enforce snapshot cleanup. (LP: #861582).
  * debian/patches/fix-lp863305-images-permission.patch:
    Fix image access control. (LP: #863305)
 -- Chuck Short <email address hidden> Fri, 30 Sep 2011 15:21:56 -0400

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

Other bug subscribers