I’m using underlying ZFS storage for the containers. I can create, delete and start containers fine. But when I do lxc restart
or lxc stop
on my one set of containers it just hangs. Only solution is to do lxc stop --force
I do see these errors when doing --show-log
but I can’t see anything definitive that would cause the hang:
ERROR utils - utils.c:lxc_can_use_pidfd:1774 - Kernel does not support pidfds
ERROR conf - conf.c:turn_into_dependent_mounts:3901 - No such file or directory - Failed to recursively turn old root mount tree into dependent mount. Continuing...
ERROR conf - conf.c:turn_into_dependent_mounts:3901 - No such file or directory - Failed to recursively turn old root mount tree into dependent mount. Continuing...
WARN attach - attach.c:get_attach_context:477 - No security context received
WARN attach - attach.c:get_attach_context:477 - No security context received
Profile I’m using on the container:
config:
limits.memory: 12GB
security.nesting: "true"
security.privileged: "true"
user.user-data: |
#cloud-config
bootcmd:
- dhclient
package_update: true
package_upgrade: true
package_reboot_if_required: true
description: development profile
devices:
eth0:
name: eth0
nictype: macvlan
parent: ens192
type: nic
root:
path: /
pool: storage
size: 100GB
type: disk
name: base