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@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to