TASK ERROR: command 'systemctl start pve-container@206' failed: exit code 1

Fazyl

New Member
Jun 25, 2020
5
0
1
30
Hello everyone,

I did a migration of Openvz conteneur to LXC and i had this error message when i try to start it :

```
Job for pve-container@206.service failed because the control process exited with error code.
See "systemctl status pve-container@206.service" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start pve-container@206' failed: exit code 1
```

1593090221005.png

Do you have any suggestions please ?
 
Code:
ls /sys/fs/cgroup/unified/lxc | grep '20'



206
206-1
206-2
206-3
206-4
206-5
206-6
206-7
 
My container is off and never start.

and with find /sys/fs/cgroup/ -type d -name "*206*" -print -delete i had:

Code:
find: cannot delete '/sys/fs/cgroup/unified/lxc/206-5': Device or resource busy
/sys/fs/cgroup/unified/lxc/206-3
find: cannot delete '/sys/fs/cgroup/unified/lxc/206-3': Device or resource busy
/sys/fs/cgroup/unified/lxc/206-10
find: cannot delete '/sys/fs/cgroup/unified/lxc/206-10': Device or resource busy
/sys/fs/cgroup/unified/lxc/206
find: cannot delete '/sys/fs/cgroup/unified/lxc/206': Device or resource busy
/sys/fs/cgroup/unified/lxc/206-1
find: cannot delete '/sys/fs/cgroup/unified/lxc/206-1': Device or resource busy
/sys/fs/cgroup/unified/lxc/206-8
find: cannot delete '/sys/fs/cgroup/unified/lxc/206-8': Device or resource busy
 
After restarting, i had always the same issue. I check the log

lxc-start --logfile /tmp/lxc-start.log -n 206

Code:
vi /tmp/lxc-start.log

lxc-start [CTID] 20200626093833.816 ERROR    lxc_start - tools/lxc_start.c:main:290 - No container config specified
lxc-start [CTID] 20200626093851.600 ERROR    lxc_start - tools/lxc_start.c:main:290 - No container config specified
lxc-start 206 20200626093924.434 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1301 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/206"
lxc-start 206 20200626093924.435 ERROR    cgfsng - cgroups/cgfsng.c:container_create_path_for_hierarchy:1353 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206"
lxc-start 206 20200626093924.435 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1526 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206"
lxc-start 206 20200626093924.436 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1301 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/206-1"
lxc-start 206 20200626093924.436 ERROR    cgfsng - cgroups/cgfsng.c:container_create_path_for_hierarchy:1353 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206-1"
lxc-start 206 20200626093924.436 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1526 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206-1"
lxc-start 206 20200626093924.437 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1301 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/206-2"
lxc-start 206 20200626093924.437 ERROR    cgfsng - cgroups/cgfsng.c:container_create_path_for_hierarchy:1353 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206-2"
lxc-start 206 20200626093924.437 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1526 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/206-2"
lxc-start 206 20200626093924.423 ERROR    start - start.c:start:2078 - No such file or directory - Failed to exec "/sbin/init"
lxc-start 206 20200626093924.423 ERROR    sync - sync.c:__sync_wait:62 - An error occurred in another process (expected sequence number 7)
lxc-start 206 20200626093924.423 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:865 - Received container state "ABORTING" instead of "RUNNING"
lxc-start 206 20200626093924.423 ERROR    start - start.c:__lxc_start:1989 - Failed to spawn container "206"
lxc-start 206 20200626093924.423 ERROR    lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start 206 20200626093924.424 ERROR    lxc_start - tools/lxc_start.c:main:333 - To get more details, run the container in foreground mode
lxc-start 206 20200626093924.424 ERROR    lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options

When i checked the journalctl -xe, I have this recurring error



Code:
Jun 26 11:42:48 aixsttprx003 ovs-vsctl[5944]: ovs|00002|db_ctl_base|ERR|no port named fwln206i0
Jun 26 11:42:48 aixsttprx003 ovs-vsctl[5947]: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl del-port veth206i0
Jun 26 11:42:48 aixsttprx003 ovs-vsctl[5947]: ovs|00002|db_ctl_base|ERR|no port named veth206i0