I've just installed proxmox and tried several container images. None of them will start on either of the two of my clustered servers.
Here is the error I get.
Here is the output from the log file:
I'm new to containers and proxmox but I'm confused as to why they aren't starting when I can install VM's and they work fine. Any help would be greatly appreciated.
Here is the error I get.
Code:
root@kvm2:~# lxc-start -n 103 -F -l DEBUG -o /tmp/lxc.log
lxc-start: 103: conf.c: run_buffer: 323 Script exited with status 255
lxc-start: 103: start.c: lxc_init: 804 Failed to run lxc.hook.pre-start for container "103"
lxc-start: 103: start.c: __lxc_start: 1903 Failed to initialize container "103"
lxc-start: 103: conf.c: run_buffer: 323 Script exited with status 1
lxc-start: 103: start.c: lxc_end: 971 Failed to run lxc.hook.post-stop for container "103"
lxc-start: 103: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: 103: tools/lxc_start.c: main: 314 Additional information can be obtained by setting the --logfile and --logpriority options
Here is the output from the log file:
Code:
root@kvm2:~# tail /tmp/lxc.log
lxc-start 103 20201110171257.178 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "103", config section "lxc"
lxc-start 103 20201110171257.681 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "103", config section "lxc"
lxc-start 103 20201110171258.411 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 103 lxc post-stop produced output: umount: /var/lib/lxc/103/rootfs: not mounted
lxc-start 103 20201110171258.411 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 103 lxc post-stop produced output: command 'umount --recursive -- /var/lib/lxc/103/rootfs' failed: exit code 1
lxc-start 103 20201110171258.424 ERROR conf - conf.c:run_buffer:323 - Script exited with status 1
lxc-start 103 20201110171258.424 ERROR start - start.c:lxc_end:971 - Failed to run lxc.hook.post-stop for container "103"
lxc-start 103 20201110171258.424 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start 103 20201110171258.424 ERROR lxc_start - tools/lxc_start.c:main:314 - Additional information can be obtained by setting the --logfile and --logpriority options
I'm new to containers and proxmox but I'm confused as to why they aren't starting when I can install VM's and they work fine. Any help would be greatly appreciated.