[PVE-User] lxc container can't start on a newly added cluster node

Stoiko Ivanov s.ivanov at proxmox.com
Fri Jan 11 12:44:49 CET 2019


Hi,

just a guess - does the container have an `/etc/fstab` inside?
and does the `/etc/fstab` contain an entry for `/dev/pts`?

If yes - I guess the container would start on PVE 5.3 when you remove
the line (or the complete `/etc/fstab`). This might result in it not
starting on PVE 4.x.

Could you test this?

Best regards,
stoiko



On Fri, 11 Jan 2019 11:18:09 +0100
"Marco M. Gabriel" <marcomgabriel at gmail.com> wrote:

> Hi there,
> 
> we recently added a 4th proxmox node to our 3-node proxmox cluster.
> When trying to migrate or start an lxc container to the new node, it
> doesn't start because it can't mount /dev/pts/x to /dev/console. I
> can move the lxc container to each of the 3 old nodes and start it
> there, but it refuses to start on the new node.
> 
> Nodes 1 to 3 were installed with Version 4.4 and upgraded until the
> current 5.3-6/37b3c8df (running kernel: 4.15.18-9-pve)
> Node 4 was installed a few days ago, but is on exactly the same
> version now.
> 
> The lxc container is an ubuntu 16.04 based container from the proxmox
> repository and was installed about a month ago.
> 
> Trace log of lxc-start (shortened):
> 
> lxc-start 116 20190111094747.940 INFO     conf -
> conf.c:lxc_fill_autodev:1220 - Populating "/dev"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/full"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/null"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/random"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/tty"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/urandom"
> lxc-start 116 20190111094747.940 DEBUG    conf -
> conf.c:lxc_fill_autodev:1235 - Created device node "/dev/zero"
> lxc-start 116 20190111094747.940 INFO     conf -
> conf.c:lxc_fill_autodev:1297 - Populated "/dev"
> lxc-start 116 20190111094747.940 ERROR    utils -
> utils.c:safe_mount:1791 - No such file or directory - Failed to
> mount /dev/pts/3 onto /dev/console lxc-start 116 20190111094747.940
> ERROR    conf - conf.c:lxc_setup_dev_console:1765 - Failed to mount
> "/dev/pts/3" on "/dev/console"
> lxc-start 116 20190111094747.940 ERROR    conf -
> conf.c:lxc_setup:3656 - Failed to setup console
> lxc-start 116 20190111094747.940 ERROR    start -
> start.c:do_start:1246 - Failed to setup container "116"
> 
> Any hints how to fix this or what happens here?
> 
> Best regards,
> Marco
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user





More information about the pve-user mailing list