Hi,
We have been facing issues with the LXD version 4.9 since last 6-8 hours, all lxc file push/pull and snapshot operations are throwing error, for example;
root@test~# /var/snap/lxd/common/lxd/storage-pools/zfs/containers# lxc file pull elenortown/var/www/html/wp-config.php .
Error: Failed to run: zfs mount zfs/containers/elenortown: cannot mount 'zfs/containers/elenortown': filesystem already mounted
lxd --version
4.9
lxc info --show-log elenortown
Name: elenortown
Location: none
Remote: unix://
Architecture: x86_64
Created: 2020/11/13 09:31 UTC
Status: Running
Type: container
Profiles: default
Pid: 7427
Ips:
eth0: inet 10.172.193.234 vetha6c3fd21
eth0: inet6 fd42:d05f:acb7:8f2b:216:3eff:fef4:3d06 vetha6c3fd21
eth0: inet6 fe80::216:3eff:fef4:3d06 vetha6c3fd21
lo: inet 127.0.0.1
lo: inet6 ::1
Resources:
Processes: 47
Disk usage:
root: 450.54MB
CPU usage:
CPU usage (in seconds): 1109
Memory usage:
Memory (current): 151.02MB
Memory (peak): 296.74MB
Network usage:
eth0:
Bytes received: 67.98MB
Bytes sent: 1.07MB
Packets received: 1160229
Packets sent: 11649
lo:
Bytes received: 69.75kB
Bytes sent: 69.75kB
Packets received: 658
Packets sent: 658
Snapshots:
elenortown_2020-12-17_18:45:29 (taken at 2020/12/17 18:45 UTC) (expires at 2020/12/24 18:45 UTC) (stateless)
elenortown_2020-12-17_19:08:51 (taken at 2020/12/17 19:08 UTC) (expires at 2020/12/24 19:08 UTC) (stateless)
Log:
lxc elenortown 20201121135814.497 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.elenortown"
lxc elenortown 20201121135814.509 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.elenortown"
lxc elenortown 20201121135814.509 ERROR utils - utils.c:lxc_can_use_pidfd:1846 - Kernel does not support pidfds
lxc elenortown 20201121135814.511 WARN cgfsng - cgroups/cgfsng.c:fchowmodat:1573 - No such file or directory - Failed to fchownat(17, memory.oom.group, 1000000000, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 0 to uid -1 and gid 65534
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 0
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 1 to uid -1 and gid 65534
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 1
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 2 to uid -1 and gid 65534
lxc elenortown 20201122001102.894 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 2
lxc elenortown 20201122001102.894 WARN attach - attach.c:attach_child_main:882 - Failed to adjust stdio permissions
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 0 to uid -1 and gid 65534
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 0
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 1 to uid -1 and gid 65534
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 1
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 2 to uid -1 and gid 65534
lxc elenortown 20201122072935.643 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 2
lxc elenortown 20201122072935.643 WARN attach - attach.c:attach_child_main:882 - Failed to adjust stdio permissions
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 0 to uid -1 and gid 65534
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 0
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 1 to uid -1 and gid 65534
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 1
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1906 - Operation not permitted - Failed to chown standard I/O file descriptor 2 to uid -1 and gid 65534
lxc elenortown 20201123001102.541 WARN utils - utils.c:fix_stdio_permissions:1912 - Operation not permitted - Failed to chmod standard I/O file descriptor 2
lxc elenortown 20201123001102.541 WARN attach - attach.c:attach_child_main:882 - Failed to adjust stdio permissions
I am facing same issue in more than 100 containers. However, in some of containers, I see same permission errors but the lxc file push/pull and snapshot etc all commands are running.
Can anyone help identify the fixes please?