[Bug 1237543] [NEW] lxc-create (or clone) of cloud template with '--cloud' exits failure
Scott Moser
smoser at ubuntu.com
Wed Oct 9 17:52:36 UTC 2013
Public bug reported:
$ sudo lxc-create -n lxc-precise-server-pristine -t ubuntu-cloud -- -r precise -a amd64 -C
ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query
wget is /usr/bin/wget
Extracting container rootfs
lxc-create: container creation template for lxc-precise-server-pristine failed
lxc-create: Error creating container lxc-precise-server-pristine
The issue is silly.
/usr/share/lxc/hooks/ubuntu-cloud-prep does nothing because of the --cloud (-C) arg, except for 'debug()'
but since no '-v' flags were provided, it exited non-zero.
fix is to fix debug()
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: lxc 1.0.0~alpha1-0ubuntu8
ProcVersionSignature: Ubuntu 3.11.0-9.16-generic 3.11.2
Uname: Linux 3.11.0-9-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Wed Oct 9 13:47:51 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (721 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: Upgraded to saucy on 2013-05-20 (142 days ago)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxcsyslog:
** Affects: lxc (Ubuntu)
Importance: Low
Assignee: Serge Hallyn (serge-hallyn)
Status: In Progress
** Tags: amd64 apparmor apport-bug saucy
--
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/1237543
Title:
lxc-create (or clone) of cloud template with '--cloud' exits failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1237543/+subscriptions
More information about the Ubuntu-server-bugs
mailing list