Re: [lxc-devel] lxc-create failure

8 views
Skip to first unread message

Serge E. Hallyn

unread,
Jul 8, 2023, 11:11:36 AM7/8/23
to Mark Grant, lxc-devel, Saint Michael, LXC users mailing-list
On Sat, Jul 08, 2023 at 02:01:20AM -0700, Mark Grant wrote:
>
> This may be the wrong mailing list for this subject, if so I would
> appreciate a pointer to the correct place.
>
> Since yesterday I have received the following error messages when trying to
> create a Debian Bullseye or Bookworm amd64 container on a fresh or cached
> download:-
> Unpacking the rootfs
> ERROR: meta tarball is missing the configuration file
> lxc-create: debian-bullseye-dev: lxccontainer.c: create_run_template: 1616
> Failed to create container from template
> lxc-create: debian-bullseye-dev: tools/lxc_create.c: main: 319 Failed to
> create container debian-bullseye-dev
>
> The contents of the cache directory is:-
> mgrantprg@leonidas:~/.cache/lxc/download/debian/bullseye/amd64/default$ ls
> -lh
> total 75M
> -rw-r--r-- 1 mgrantprg mgrantprg 15 Jul 8 09:46 build_id
> -rw-r--r-- 1 mgrantprg mgrantprg 166 Jul 8 06:28 create-message
> -rw-r--r-- 1 mgrantprg mgrantprg 1 Jul 8 06:28 excludes-user
> -rw-r--r-- 1 mgrantprg mgrantprg 11 Jul 8 06:28 expiry
> -rw-r--r-- 1 mgrantprg mgrantprg 75M Jul 8 07:14 rootfs.tar.xz
> mgrantprg@leonidas:~/.cache/lxc/download/debian/bullseye/amd64/default$
>
> The contents of a much older container for buster shows:-
> mgrantprg@leonidas:~/.cache/lxc/download/debian/buster/amd64/default$ ls -lh
> total 67M
> -rw-r--r-- 1 mgrantprg mgrantprg 15 May 5 15:52 build_id
> -rw-r--r-- 1 mgrantprg mgrantprg 65 May 5 06:28 config
> -rw-r--r-- 1 mgrantprg mgrantprg 72 May 5 06:28 config.1
> -rw-r--r-- 1 mgrantprg mgrantprg 72 May 5 06:28 config.2
> -rw-r--r-- 1 mgrantprg mgrantprg 72 May 5 06:28 config.3
> -rw-r--r-- 1 mgrantprg mgrantprg 72 May 5 06:28 config.4
> -rw-r--r-- 1 mgrantprg mgrantprg 111 May 5 06:28 config-user
> -rw-r--r-- 1 mgrantprg mgrantprg 125 May 5 06:28 config-user.1
> -rw-r--r-- 1 mgrantprg mgrantprg 125 May 5 06:28 config-user.2
> -rw-r--r-- 1 mgrantprg mgrantprg 125 May 5 06:28 config-user.3
> -rw-r--r-- 1 mgrantprg mgrantprg 125 May 5 06:28 config-user.4
> -rw-r--r-- 1 mgrantprg mgrantprg 164 May 5 06:28 create-message
> -rw-r--r-- 1 mgrantprg mgrantprg 1 May 5 06:28 excludes-user
> -rw-r--r-- 1 mgrantprg mgrantprg 11 May 5 06:28 expiry
> -rw-r--r-- 1 mgrantprg mgrantprg 67M May 5 07:10 rootfs.tar.xz
> -rw-r--r-- 1 mgrantprg mgrantprg 25 May 5 06:28 templates
> mgrantprg@leonidas:~/.cache/lxc/download/debian/buster/amd64/default$
>
> I hope you can help.

Hey,

I assume this is a result of the infrastructure changes which are in
progress to effect the move of lxd (see https://linuxcontainers.org/lxd/
in case you haven't seen it). I unfortunately don't have any access
to the infrastructure so I can't help. I'm pretty sure Stéphane has
had his hands full with that move, so I'm afraid we need to give him
some time to get to fixing that.

What's impressive to me is how long he has run that infrastructure with
nary a glitch, that its failure now is so painful :)

-serge

Serge E. Hallyn

unread,
Jul 8, 2023, 1:19:14 PM7/8/23
to Serge E. Hallyn, Mark Grant, lxc-devel, Saint Michael, LXC users mailing-list
https://github.com/lxc/distrobuilder/pull/747

CI needs to do its thing, but fixed images should start rolling out
eventually.

Saint Michael

unread,
Jul 8, 2023, 1:47:49 PM7/8/23
to Serge E. Hallyn, Mark Grant, lxc-devel, LXC users mailing-list
Just in case somebody needs to create a new container: you can install the package lxc-templates (debian) and install the container from a local copy.
Unless there are some distributions whose templates are only found online.
Reply all
Reply to author
Forward
0 new messages