[SOLVED] URGENT! Ubuntu VM Won't Start after Node Upgrade

s0n1c

Active Member
Sep 9, 2016
7
0
41
43
Hey Guys,

I urgently need assistance as I currently have a VM down after doing a Node Upgrade using apt-get upgrade.

Currently getting this error when starting a Ubuntu VM and cant figure out why the Pre-start hook is failing.

lxc-start -o /tmp/lxc-start.log -l debug -n 101

lxc-start 20160909143616.459 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '101', config section 'lxc'
lxc-start 20160909143616.460 INFO lxc_monitor - monitor.c:lxc_monitor_sock_name:178 - using monitor sock name lxc/ad055575fe28ddd5//var/lib/lxc
lxc-start 20160909143616.958 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 255
lxc-start 20160909143616.958 ERROR lxc_start - start.c:lxc_init:465 - failed to run pre-start hooks for container '101'.
lxc-start 20160909143616.958 ERROR lxc_start - start.c:__lxc_start:1313 - failed to initialize the container
lxc-start 20160909143616.959 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
lxc-start 20160909143621.964 ERROR lxc_start_ui - tools/lxc_start.c:main:344 - The container failed to start.
lxc-start 20160909143621.964 ERROR lxc_start_ui - tools/lxc_start.c:main:346 - To get more details, run the container in foreground mode.
lxc-start 20160909143621.964 ERROR lxc_start_ui - tools/lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.

something about pre-start hooks..

Any help would be MUCH appreciated as I dont wanna loose data or have to reinstall

Thanks in advanced.

Sonic
 
What version do you run exactly?

# pveversion -v

And please can you post the container config?

# pct config 101
 
Seem its cause of this

unsupported ubunt version '13.10'

How does one upgrade or trick it so it boots?

Thanks
Sonic
 
Also, please post the output of

# lxc-start -F -n 101

that way you should see the error message from the pre-start script.
 
Thanks Dietmar :)

What I posted was from /tmp/lxc-start.log

I now have the VM running

Thanks
Sonic