Hi All,
I have an ubuntu 22 host machine with lxc containers on it running ubuntu 20.04 version. When I try to create snapshots using lxc-copy or lxc-snapshot, it is failing with the following errors
lxc-copy galera_container 20250103061056.871 ERROR lxc_copy - tools/lxc_copy.c:do_clone:391 - Failed to clone
lxc-copy galera_container 20250103061920.831 DEBUG commands - commands.c:lxc_cmd_rsp_recv_fds:147 - Command “get_init_pid” received response
lxc-copy galera_container 20250103061920.831 DEBUG commands - commands.c:lxc_cmd_rsp_recv_fds:147 - Command “get_state” received response
lxc-copy galera_container 20250103061920.831 DEBUG commands - commands.c:lxc_cmd_get_state:1062 - Container "galera_container is in “RUNNING” state
lxc-copy galera_container 20250103061920.833 DEBUG storage - storage/storage.c:get_storage_by_name:209 - Detected rootfs type “dir”
lxc-copy galera_container 20250103061920.834 NOTICE utils - utils.c:lxc_switch_uid_gid:1344 - Switched to gid 0
lxc-copy galera_container 20250103061920.834 NOTICE utils - utils.c:lxc_switch_uid_gid:1353 - Switched to uid 0
lxc-copy galera_container 20250103061920.834 NOTICE utils - utils.c:lxc_drop_groups:1368 - Dropped supplimentary groups
lxc-copy galera_container 20250103061925.434 ERROR lxccontainer - lxccontainer.c:copy_file:3341 - copy destination /var/lib/lxc/galera_snap/veth-cleanup.sh exists
lxc-copy galera_container 20250103061925.434 ERROR lxccontainer - lxccontainer.c:do_lxcapi_clone:3908 - error copying hooks
lxc-copy galera_container 20250103061926.519 INFO lxccontainer - lxccontainer.c:container_destroy:3074 - Destroyed directory “/var/lib/lxc/galera_snap” for “galera_snap”
I also tried with --allowrunning option as well. same issue