Public bug reported:

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"
----

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/2092926

Title:
  lxc snapshots

Status in lxc package in Ubuntu:
  New

Bug description:
  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"
  ----

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2092926/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to