[Bug 1045955] [NEW] lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

Scott Moser smoser at ubuntu.com
Tue Sep 4 18:20:38 UTC 2012


Public bug reported:

'lxc-create -t ubuntu-cloud' was broken on quantal images as it assumes
presense of 'ubuntu' user, and that has been removed from the images.
Now, cloud-init creates the ubuntu user on first  boot.

$ lxc-create -t ubuntu-cloud -n source-quantal-amd64 -- --release quantal --arch amd64 --stream daily
No config file specified, using the default config
ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query
wget is /usr/bin/wget
--2012-09-04 18:16:36--  https://cloud-images.ubuntu.com/server/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz
Resolving cloud-images.ubuntu.com (cloud-images.ubuntu.com)... 91.189.88.141
Connecting to cloud-images.ubuntu.com (cloud-images.ubuntu.com)|91.189.88.141|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cloud-images.ubuntu.com/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz [following]
--2012-09-04 18:16:36--  https://cloud-images.ubuntu.com/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz
Reusing existing connection to cloud-images.ubuntu.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 172848992 (165M) [application/x-gzip]
Saving to: `quantal-server-cloudimg-amd64-root.tar.gz'

100%[======================================================>]
172,848,992 17.5M/s   in 10s

2012-09-04 18:16:46 (16.4 MB/s) - `quantal-server-cloudimg-
amd64-root.tar.gz' saved [172848992/172848992]

Extracting container rootfs
Configuring for running outside of a cloud environment
If you want to configure for a cloud evironment, please use '-- -C' to create the container
usermod: user 'ubuntu' does not exist
failed to execute template 'ubuntu-cloud'
aborted

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lxc 0.8.0~rc1-4ubuntu32
ProcVersionSignature: User Name 3.5.0-13.13-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
Architecture: amd64
Date: Tue Sep  4 18:17:47 2012
KernLog:
 
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
lxcsyslog:

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1045955/+subscriptions



More information about the Ubuntu-server-bugs mailing list