cloud-final is not executed during creation of a container from template ubuntu-cloud

Bug #1155652 reported by Jean-Baptiste Lallement on 2013-03-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Undecided
Unassigned

Bug Description

When creating a container with template "ubuntu-cloud" the service cloud-final is not executed resulting in a incomplete installation.

TEST CASE:
1. Copy the user-data script in attachment to a local directory (you can remove the package list to go faster)
2. Create a new container from the template "ubuntu-cloud" with the command:
  $ sudo lxc-create -n raring-test -t ubuntu-cloud -- -r raring -u user-data
3. Start the container and wait until installation is done:
  $ sudo lxc-start -n raring-test

ACTUAL RESULT:
cloud-final is not executed, final-message is not displayed and boot-finished is not created on disk.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0~alpha3-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-11.20-generic 3.8.2
Uname: Linux 3.8.0-11-generic x86_64
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
Date: Fri Mar 15 15:58:40 2013
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to raring on 2012-01-31 (408 days ago)

Jean-Baptiste Lallement (jibel) wrote :
Jean-Baptiste Lallement (jibel) wrote :
Serge Hallyn (serge-hallyn) wrote :

 assignee utlemming

Changed in lxc (Ubuntu):
assignee: nobody → Ben Howard (utlemming)
Jean-Baptiste Lallement (jibel) wrote :

It could be another instance of bug 1103881. If I remove the dist-upgrade from the user-data file cloud-final is executed as expected.

Here are the packages that would be upgraded with a Raring beta1 tarball:
The following NEW packages will be installed:
  libudev1
The following packages will be upgraded:
  apt apt-transport-https apt-utils bsdmainutils busybox-initramfs
  busybox-static byobu console-setup dbus dmsetup gir1.2-gudev-1.0 grub-common
  grub-pc grub-pc-bin grub2-common initramfs-tools initramfs-tools-bin
  isc-dhcp-client isc-dhcp-common keyboard-configuration kmod libapt-inst1.5
  libapt-pkg4.12 libdbus-1-3 libdevmapper1.02.1 libdrm2 libgudev-1.0-0
  libicu48 libkmod2 libnewt0.52 libnih-dbus1 libnih1 libpam-modules
  libpam-modules-bin libpam-runtime libpam0g libpci3 libpcsclite1
  module-init-tools mountall pciutils python-newt python-twisted-bin
  python-twisted-core python3-software-properties python3-update-manager
  software-properties-common ssh-import-id tzdata update-manager-core
  update-notifier-common upstart ureadahead whiptail

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers