[Bug 979996] [NEW] ubuntu-cloud template can't find .img
Serge Hallyn
979996 at bugs.launchpad.net
Thu Apr 12 15:39:23 UTC 2012
Public bug reported:
When creating releases older than precise, i.e.
lxc-create -t ubuntu-cloud -n o1 -- -r oneiric
I get the following error. note that the tarball contains:
oneiric-server-cloudimg-amd64.img, not ubuntu-11.10-server-cloudimg-amd64.img.
===============================
ubuntu at server-8308:~$ sudo lxc-create -t ubuntu-cloud -n cloudl1 -- -r
oneiric
No config file specified, using the default config
ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query
wget is /usr/bin/wget
--2012-04-12 15:34:02-- https://cloud-images.ubuntu.com/server/releases/oneiric/release-20120401/ubuntu-11.10-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/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64-root.tar.gz [following]
--2012-04-12 15:34:02-- https://cloud-images.ubuntu.com/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64-root.tar.gz
Reusing existing connection to cloud-images.ubuntu.com:443.
HTTP request sent, awaiting response... 404 Not Found
2012-04-12 15:34:02 ERROR 404: Not Found.
Downloading cloud image from https://cloud-images.ubuntu.com/server/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64.tar.gz
--2012-04-12 15:34:02-- https://cloud-images.ubuntu.com/server/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64.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/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64.tar.gz [following]
--2012-04-12 15:34:02-- https://cloud-images.ubuntu.com/releases/oneiric/release-20120401/ubuntu-11.10-server-cloudimg-amd64.tar.gz
Reusing existing connection to cloud-images.ubuntu.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 217901063 (208M) [application/x-gzip]
Saving to: `ubuntu-11.10-server-cloudimg-amd64.tar.gz'
100%[===============================================================================================================================>]
217,901,063 15.8M/s in 12s
2012-04-12 15:34:14 (17.2 MB/s) - `ubuntu-11.10-server-cloudimg-
amd64.tar.gz' saved [217901063/217901063]
Creating new cached cloud image rootfs
tar: ubuntu-11.10-server-cloudimg-amd64.img: Not found in archive
tar: Exiting with failure status due to previous errors
umount: /var/cache/lxc/cloud-oneiric/./tmp.XAPfavowLw: not mounted
failed to execute template 'ubuntu-cloud'
aborted
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
--
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/979996
Title:
ubuntu-cloud template can't find .img
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/979996/+subscriptions
More information about the Ubuntu-server-bugs
mailing list