No LXC Container Doesn't Want to Start

Blais

Well-Known Member
Mar 28, 2017
32
5
48
Hello, hello.

After a return from AMD's RMA, I just relaunched the server. I made an update to Proxmox. Then I reconnected as before.
I have a pci passthrough for a network card for the firewall, in short, I have no problem for VMs unlike LXC containers.

Here is an extract by inserting the flag --logfile


lxc-start 200 20171026210904.452 ERROR lxc_cgfsng - cgroups/cgfsng.c:copy_parent_file:577 - Permission denied - Unable to write 0
$�CV to /sys/fs/cgroup/cpuset//cpuset.mems
lxc-start 200 20171026210904.452 ERROR lxc_cgfsng - cgroups/cgfsng.c:handle_cpuset_hierarchy:648 - Permission denied - Failed to copy "cpuset.mems" settings.
lxc-start 200 20171026210904.452 ERROR lxc_cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1339 - Failed to handle cgroupfs v1 cpuset controller.
lxc-start 200 20171026210904.452 ERROR lxc_cgfsng - cgroups/cgfsng.c:cgfsng_create:1431 - Failed to create "/sys/fs/cgroup/cpuset//lxc/200"
lxc-start 200 20171026210904.453 ERROR lxc_cgfsng - cgroups/cgfsng.c:copy_parent_file:577 - Permission denied - Unable to write 0
$�CV to /sys/fs/cgroup/cpuset//cpuset.mems

Thank you for helping me understand what's going on and enlighten me towards a possible solution.

Julien

Edit :
proxmox-ve: 5.1-25 (running kernel: 4.13.4-1-pve)
pve-manager: 5.1-36 (running version: 5.1-36/131401db)
pve-kernel-4.13.4-1-pve: 4.13.4-25
pve-kernel-4.10.17-2-pve: 4.10.17-20
pve-kernel-4.10.15-1-pve: 4.10.15-15
pve-kernel-4.10.17-3-pve: 4.10.17-23
pve-kernel-4.10.17-1-pve: 4.10.17-18
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-15
qemu-server: 5.0-17
pve-firmware: 2.0-3
libpve-common-perl: 5.0-20
libpve-guest-common-perl: 2.0-13
libpve-access-control: 5.0-7
libpve-storage-perl: 5.0-16
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.1-12
pve-qemu-kvm: 2.9.1-2
pve-container: 2.0-17
pve-firewall: 3.0-3
pve-ha-manager: 2.0-3
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.0-2
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7.2-pve1~bpo90
 
Last edited:
Hello and thank you for your response.

I modified the grub command, put an isolcpu, and amd_iommu=on iommu=pt that I deleted.

I relaunched the machine and miraculously, the containers were able to start. I don't understand what broke the LXC because it worked before.

Another thing, which has nothing to do with it, but npt's KVM bug seems to have found a solution: https://patchwork.kernel.org/patch/10027525/

Will you apply it very soon?

Personally, I recompiled the kernel pve with the patch and the passthrough gpu gives very good performances.

It was just in case.

Other than that, thank you very much.

Julien
 
  • Like
Reactions: Blais