[#929] Proxmox 4 : LXC don't restart !

hregis

Well-Known Member
Feb 11, 2011
49
1
46
France
www.inodbox.com
Hello

all LXC VM that does not restart after poweroff the VM.
I have to reboot the host server so that they work again.

root@ns3006172:~# lxc-start -lDEBUG -o 102.log -F -n 102
lxc-start: conf.c: instantiate_veth: 2767 failed to create veth pair (veth102i0 and vethKR6W5Q): File exists
lxc-start: conf.c: lxc_create_network: 3084 failed to create netdev
lxc-start: start.c: lxc_spawn: 954 failed to create the network
lxc-start: start.c: __lxc_start: 1211 failed to spawn '102'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

thank you
 
Hello,

I got the same problem.

This is a quick workaround (use on your own risk):
Code:
$ ip link show |  grep -A1 VMID

101-priv@if86: <BROADCAST,MULTICAST> mtu 9000 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether fe:7c:30:2f:d3:cd brd ff:ff:ff:ff:ff:ff link-netnsid 3

$ ip link del "101-priv"
$ pct start VMID