Hello,
While evaluating pve 5.2 on a server I ran into an lxc vm that refused to start. The error I was able to retrieve mentioned this:
lxc-start 101 20180706154548.805 INFO lxc_conf - conf.c:run_script_argv:368 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "101", config section "lxc"
lxc-start 101 20180706154549.606 DEBUG lxc_conf - conf.c:run_buffer:338 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start with output: file '/etc/hosts' too long - aborting
lxc-start 101 20180706154549.607 DEBUG lxc_conf - conf.c:run_buffer:338 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start with output: error in setup task PVE::LXC::Setup:re_start_hook
lxc-start 101 20180706154549.614 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 101 20180706154549.614 ERROR lxc_start - start.c:lxc_init:815 - Failed to run lxc.hook.pre-start for container "101"
lxc-start 101 20180706154549.614 ERROR lxc_start - start.c:__lxc_start:1849 - Failed to initialize container "101"
And I do have to admit this vm operates with an /etc/hosts that is rather large (57kb). But it would be nice to be able to run those vm's in all of pve's goodness instead of a plain, bare debian lxc server.
Regards and thx,
Hans
While evaluating pve 5.2 on a server I ran into an lxc vm that refused to start. The error I was able to retrieve mentioned this:
lxc-start 101 20180706154548.805 INFO lxc_conf - conf.c:run_script_argv:368 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "101", config section "lxc"
lxc-start 101 20180706154549.606 DEBUG lxc_conf - conf.c:run_buffer:338 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start with output: file '/etc/hosts' too long - aborting
lxc-start 101 20180706154549.607 DEBUG lxc_conf - conf.c:run_buffer:338 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 101 lxc pre-start with output: error in setup task PVE::LXC::Setup:re_start_hook
lxc-start 101 20180706154549.614 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 101 20180706154549.614 ERROR lxc_start - start.c:lxc_init:815 - Failed to run lxc.hook.pre-start for container "101"
lxc-start 101 20180706154549.614 ERROR lxc_start - start.c:__lxc_start:1849 - Failed to initialize container "101"
And I do have to admit this vm operates with an /etc/hosts that is rather large (57kb). But it would be nice to be able to run those vm's in all of pve's goodness instead of a plain, bare debian lxc server.
Regards and thx,
Hans