I installed a Debian image using "Turnkey Linux" images that are available by Proxmox by default, but after a reboot the container does not come up anymore.
First let me propose to show such errors strongly visble in the web GUI, such as making the container icon in read instead of grey. The Datacenter "Summary" page shows "LXC Container" "Stopped 2", but actually it should be one stopped, one FAILED, preferably in red color. Also "Status" shows a big green "Heavy Check Mark" icon, althougn a container is missing (which could be the most important container like a DHCP or DNS server rendering the whole cluster being out of order).
The GUI shows an errror in the log view, and when I click it I just see:
so unfortunately without the error message.
I found no log files with details, and (unfortunately as ususal), systemd journalcrl also just shows "An ExecStart= process belonging to unit pve-container@102.service has exited. The process' exit code is 'exited' and its exit status is 1." but does not bother to include an error message, STDERR or anything.
Fortunately, the error was persistent, so I could run
or in short
Why does Proxmox need to be forward-compatible to future Debian versions?
If I create my own Debian version with my own version number, why would I need to adjust Promox as well? I don't like dependencies, sooner or later they break necks.
BTW, interesting, that Proxmox does not auto-update by default, I thought this would be required to maintain security.
First let me propose to show such errors strongly visble in the web GUI, such as making the container icon in read instead of grey. The Datacenter "Summary" page shows "LXC Container" "Stopped 2", but actually it should be one stopped, one FAILED, preferably in red color. Also "Status" shows a big green "Heavy Check Mark" icon, althougn a container is missing (which could be the most important container like a DHCP or DNS server rendering the whole cluster being out of order).
The GUI shows an errror in the log view, and when I click it I just see:
Code:
()
run_buffer: 322 Script exited with status 25
lxc_init: 844 Failed to run lxc.hook.pre-start for container "102"
__lxc_start: 2027 Failed to initialize container "102"
TASK ERROR: startup for container '102' failed
so unfortunately without the error message.
I found no log files with details, and (unfortunately as ususal), systemd journalcrl also just shows "An ExecStart= process belonging to unit pve-container@102.service has exited. The process' exit code is 'exited' and its exit status is 1." but does not bother to include an error message, STDERR or anything.
Fortunately, the error was persistent, so I could run
lxc-start -n 102 -F -l DEBUG -o /tmp/102.log
and then I saw in the log file
Code:
lxc-start 102 20230804163854.586 DEBUG conf - ../src/lxc/conf.c:run_buffer:311 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 102 lxc pre-start produced output: unsupported debian version '12.1'
or in short
unsupported debian version '12.1'
and with some digging /usr/share/perl5/PVE/LXC/Setup/Debian.pm with a hard-coded version map.Why does Proxmox need to be forward-compatible to future Debian versions?
If I create my own Debian version with my own version number, why would I need to adjust Promox as well? I don't like dependencies, sooner or later they break necks.
BTW, interesting, that Proxmox does not auto-update by default, I thought this would be required to maintain security.