LXC container fails after booting after Proxmox-Upgrade

duese22

New Member
Sep 17, 2020
1
0
1
34
Hello,

i have a debain SMB server wich fails after upgrading to proxmox 6.2-11.
It starts booting, but fails shortly afterwards.

lxc-start -F -n 101 --logpriority=debug

Code:
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
mount: pstore is write-protected, mounting read-only
mount: cannot mount pstore read-only
mount: configfs is write-protected, mounting read-only
mount: cannot mount configfs read-only
[info] Not setting System Clock.
[ ok ] Activating swap...done.
mount: cannot remount naspool/container/subvol-101-disk-1 read-write, is write-protected
mount: cannot remount tmpfs read-write, is write-protected
mount: cannot remount tmpfs read-write, is write-protected
mount: cannot remount proc read-write, is write-protected
mount: cannot mount sysfs read-only
mount: cannot remount tmpfs read-write, is write-protected
mount: cannot remount devpts read-write, is write-protected
[warn] Fast boot enabled, so skipping file system check. ... (warning).
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...Cannot find device "eth0"
Failed to bring up eth0.
Cannot find device "eth1"
Failed to bring up eth1.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Cleaning up temporary files....
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting deferred execution scheduler: atd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting NetBIOS name server: nmbd.
[ ok ] Starting Postfix Mail Transport Agent: postfix.
[ ok ] Starting SMB/CIFS daemon: smbd.

/etc/pve/lxc/101.conf
Code:
arch: amd64
cores: 3
hostname: smb01
memory: 512
mp0: /mnt/3,mp=/mnt/3
mp1: /mnt/backups,mp=/mnt/backups
mp2: /mnt/data/2,mp=/mnt/2
mp3: /mnt/data/1,mp=/mnt/1
net2: name=net2,bridge=vmbr0,gw=192.168.xx.1,hwaddr=X,ip=192.168.xx.2/24,tag=202,type=veth
onboot: 0
ostype: debian
rootfs: zContainer:subvol-101-disk-1,size=5G
swap: 512

First i thought it is because i mount all ZFS Pools while booting. But it seems for me it is not the case.
How can i debug the issue more to understand where the problem lies?

Kind regards and thanks in advance!
duese
 
Last edited:
hi,

How can i debug the issue more to understand where the problem lies?

you can post debug logs here: lxc-start -n CTID -l DEBUG -o /tmp/lxc-CTID.log and then attach the logfile here

First i thought it is because i mount all ZFS Pools while booting. But it seems for me it is not the case.
it looks like the container is first starting then stopping, so it's likely something else.

can you also post your pveversion -v output?