Hi,
After I have updated my Centos 8 lxc container, pve fails to start this container.
Why? Here is why:
Easy fix you might think! But no:
Also:
This is using the default 'shipped' centos template that i've download via gui, and updated.
Note, i have another lxc running just fine. Not updated however:
I have no clue on what i can try next
After I have updated my Centos 8 lxc container, pve fails to start this container.
Code:
root@hv1:~# pct start 310
Job for pve-container@310.service failed because the control process exited with error code.
See "systemctl status pve-container@310.service" and "journalctl -xe" for details.
command 'systemctl start pve-container@310' failed: exit code 1
Why? Here is why:
Code:
root@hv1:~# cat /tmp/lxc-310debug.log | grep dist
lxc-start 310 20200121222918.332 DEBUG conf - conf.c:run_buffer:340 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 310 lxc pre-start produced output: unable to detect OS distribution
Easy fix you might think! But no:
Code:
root@hv1:~# pct mount 310
mounted CT 310 in '/var/lib/lxc/310/rootfs'
root@hv1:~# cat /var/lib/lxc/310/rootfs/etc/centos-release
CentOS Linux release 8.1.1911 (Core)
Also:
Code:
root@hv1:~# pct fsck 310
fsck from util-linux 2.33.1
/dev/mapper/pve-vm--310--disk--0: clean, 18360/524288 files, 247826/2097152 blocks
This is using the default 'shipped' centos template that i've download via gui, and updated.
Note, i have another lxc running just fine. Not updated however:
[root@nc2 ~]# cat /etc/centos-release
CentOS Linux release 8.0.1905 (Core)
pve-manager/6.1-5/9bf06119 (running kernel: 5.3.13-1-pve)
I have no clue on what i can try next