Dun Peal
2015-12-29 19:19:19 UTC
I'm trying to follow the "Getting Started" guide, and the creation of my
first image fails due to inability to download a necessary file from
linuxcontainers.org.
This issue occurs on a fully up-to-date Trusty host, running both the
default release from the Ubuntu repositories (1.0.8), as well as the latest
stable from the PPA (1.1.5). It happens when I try to download the default
image recommended by the guide (Ubuntu Trusty i386), as well as other
images (such as CentOS 6 i386/amd64).
I'm not sure how to proceed at this point, and trying to wget/curl/browse
directly the URL mentioned in the error message below returns 403 Forbidden.
Full error message follows:
$ lxc-create -t download -n my-container
Setting up the GPG keyring
Downloading the image index
---
DIST RELEASE ARCH VARIANT BUILD
---
centos 6 amd64 default 20151227_02:16
centos 6 i386 default 20151227_02:16
debian wheezy amd64 default 20151226_22:42
debian wheezy armel default 20151227_14:15
debian wheezy armhf default 20151227_14:15
debian wheezy i386 default 20151227_14:15
gentoo current amd64 default 20151227_14:12
gentoo current armhf default 20151227_14:12
gentoo current i386 default 20151227_14:12
oracle 6.5 amd64 default 20151227_11:40
oracle 6.5 i386 default 20151227_11:40
plamo 5.x amd64 default 20151227_14:15
plamo 5.x i386 default 20151226_21:36
ubuntu precise amd64 default 20151227_03:49
ubuntu precise armel default 20151227_03:49
ubuntu precise armhf default 20151227_03:49
ubuntu precise i386 default 20151227_03:49
ubuntu trusty amd64 default 20151227_03:49
ubuntu trusty arm64 default 20150604_03:49
ubuntu trusty armhf default 20151227_03:49
ubuntu trusty i386 default 20151227_03:49
ubuntu trusty ppc64el default 20151227_14:20
---
Distribution: ubuntu
Release: trusty
Architecture: i386
Downloading the image index
Downloading the rootfs
ERROR: Failed to download
http://images.linuxcontainers.org//images/ubuntu/trusty/i386/default/20151227_03:49//rootfs.tar.xz
lxc-create: lxccontainer.c: create_run_template: 1201 container creation
template for my-container failed
lxc-create: lxc_create.c: main: 274 Error creating container my-container
first image fails due to inability to download a necessary file from
linuxcontainers.org.
This issue occurs on a fully up-to-date Trusty host, running both the
default release from the Ubuntu repositories (1.0.8), as well as the latest
stable from the PPA (1.1.5). It happens when I try to download the default
image recommended by the guide (Ubuntu Trusty i386), as well as other
images (such as CentOS 6 i386/amd64).
I'm not sure how to proceed at this point, and trying to wget/curl/browse
directly the URL mentioned in the error message below returns 403 Forbidden.
Full error message follows:
$ lxc-create -t download -n my-container
Setting up the GPG keyring
Downloading the image index
---
DIST RELEASE ARCH VARIANT BUILD
---
centos 6 amd64 default 20151227_02:16
centos 6 i386 default 20151227_02:16
debian wheezy amd64 default 20151226_22:42
debian wheezy armel default 20151227_14:15
debian wheezy armhf default 20151227_14:15
debian wheezy i386 default 20151227_14:15
gentoo current amd64 default 20151227_14:12
gentoo current armhf default 20151227_14:12
gentoo current i386 default 20151227_14:12
oracle 6.5 amd64 default 20151227_11:40
oracle 6.5 i386 default 20151227_11:40
plamo 5.x amd64 default 20151227_14:15
plamo 5.x i386 default 20151226_21:36
ubuntu precise amd64 default 20151227_03:49
ubuntu precise armel default 20151227_03:49
ubuntu precise armhf default 20151227_03:49
ubuntu precise i386 default 20151227_03:49
ubuntu trusty amd64 default 20151227_03:49
ubuntu trusty arm64 default 20150604_03:49
ubuntu trusty armhf default 20151227_03:49
ubuntu trusty i386 default 20151227_03:49
ubuntu trusty ppc64el default 20151227_14:20
---
Distribution: ubuntu
Release: trusty
Architecture: i386
Downloading the image index
Downloading the rootfs
ERROR: Failed to download
http://images.linuxcontainers.org//images/ubuntu/trusty/i386/default/20151227_03:49//rootfs.tar.xz
lxc-create: lxccontainer.c: create_run_template: 1201 container creation
template for my-container failed
lxc-create: lxc_create.c: main: 274 Error creating container my-container