[lxc-users] no lxc nor lxd containers start after recent update
Tomasz Chmielewski
mangoo at wpkg.org
Fri Feb 26 00:24:11 UTC 2016
Also, with the "service lxcfs stop/start fix", console in lxd containers
(in lxc, all fine) looks botched - after pressing enter, getting as
below.
I guess it wasn't the best of updates, at least for me.
# lxc exec
z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55 /bin/bash
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
root at z-testing-a19ea622182c63ddc19bb22cde982b82-2016-02-24-19-20-55:~#
Tomasz
On 2016-02-26 09:16, Tomasz Chmielewski wrote:
> Doing the following seems to help:
>
> # service lxcfs stop
> # service lxcfs start
>
>
> Then, I'm able to manually start lxc and lxd containers.
>
>
> Tomasz
>
>
>
> On 2016-02-26 09:04, Tomasz Chmielewski wrote:
>> None of my lxc nor lxd container start after the most recent lxc/lxd
>> update.
>>
>> Any clues?
>>
>> # lxc-start -n td-backupslave
>> lxc-start: lxc_start.c: main: 344 The container failed to start.
>> lxc-start: lxc_start.c: main: 346 To get more details, run the
>> container in foreground mode.
>> lxc-start: lxc_start.c: main: 348 Additional information can be
>> obtained by setting the --logfile and --logpriority options.
>>
>>
>> # cat /var/log/lxc/td-backupslave.log
>> lxc-start 20160226000408.599 ERROR lxc_utils -
>> utils.c:open_without_symlink:1625 - No such file or directory - Error
>> examining efi in
>> /usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars
>> lxc-start 20160226000408.599 ERROR lxc_cgfs -
>> cgfs.c:cgroupfs_mount_cgroup:1504 - Permission denied - error
>> bind-mounting /run/lxcfs/controllers/name=systemd/lxc/td-backupslave
>> to
>> /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/systemd/lxc/td-backupslave
>> lxc-start 20160226000408.599 ERROR lxc_conf -
>> conf.c:lxc_mount_auto_mounts:780 - Permission denied - error mounting
>> /sys/fs/cgroup
>> lxc-start 20160226000408.599 ERROR lxc_conf -
>> conf.c:lxc_setup:3742 - failed to setup the automatic mounts for
>> 'td-backupslave'
>> lxc-start 20160226000408.599 ERROR lxc_start -
>> start.c:do_start:783 - failed to setup the container
>> lxc-start 20160226000408.599 ERROR lxc_sync -
>> sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
>> lxc-start 20160226000408.599 ERROR lxc_start -
>> start.c:__lxc_start:1274 - failed to spawn 'td-backupslave'
>> lxc-start 20160226000414.138 ERROR lxc_start_ui -
>> lxc_start.c:main:344 - The container failed to start.
>> lxc-start 20160226000414.138 ERROR lxc_start_ui -
>> lxc_start.c:main:346 - To get more details, run the container in
>> foreground mode.
>> lxc-start 20160226000414.138 ERROR lxc_start_ui -
>> lxc_start.c:main:348 - Additional information can be obtained by
>> setting the --logfile and --logpriority options.
>>
>>
>> # dpkg -l|grep lxc
>> ii liblxc1
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 amd64 Linux Containers
>> userspace tools (library)
>> ii lxc
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 all Transitional
>> package for lxc1
>> ii lxc-common
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 amd64 Linux Containers
>> userspace tools (common tools)
>> ii lxc-templates
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 amd64 Linux Containers
>> userspace tools (templates)
>> ii lxc1
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 amd64 Linux Containers
>> userspace tools
>> ii lxcfs
>> 2.0.0~rc2-0ubuntu1~ubuntu14.04.1~ppa1 amd64 FUSE based
>> filesystem for LXC
>> ii python3-lxc
>> 2.0.0~rc3-0ubuntu1~ubuntu14.04.1~ppa1 amd64 Linux Containers
>> userspace tools (Python 3.x bindings)
>>
>> # dpkg -l|grep lxd
>> ii lxd
>> 2.0.0~beta4-0ubuntu5~ubuntu14.04.1~ppa1 amd64 Container
>> hypervisor based on LXC - daemon
>> ii lxd-client
>> 2.0.0~beta4-0ubuntu5~ubuntu14.04.1~ppa1 amd64 Container
>> hypervisor based on LXC - client
>> ii lxd-tools
>> 2.0.0~beta4-0ubuntu5~ubuntu14.04.1~ppa1 amd64 Container
>> hypervisor based on LXC - extra tools
>>
>>
>> Tomasz Chmielewski
>> http://wpkg.org
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list