Lxc copy --refresh from 5.21 LTS to latest/stable stopped working since 6.6-a89d075 2025-12-10

Hi,

not sure if this is supposed to work or I just got lucky so far, anyway…

since latest 6.6 stable release (6.6-a89d075) lxc copy --refresh of a running host from 5.21 LTS to 6.6-a89d075 throws:

(slightly different messages depending on the mode)

# lxc copy --refresh XXX --mode pull  yyy:XXX-dr
Error: Failed instance creation: Error transferring instance data: Failed migration on target: Live migration is not supported for containers
# lxc copy --refresh XXX --mode push  yyy:XXX-dr
Error: Error transferring instance data: Failed migration on target: Live migration is not supported for containers
# lxc copy --refresh XXX --mode relay  yyy:XXX-dr
Error: Error transferring instance data: Failed migration on target: Live migration is not supported for containers

it still works between two 6.6/latest servers, is it supposed to work between 5 and 6?

Does using lxc copy --stateless work?

ah, no, sorry, forgot to mention, thats the first thing I’ve tried, no it doesn’t, --stateless gives the same error message

@kadinsayani please can you look into this as IIRC you removed CRIU support from LXD.

Stateless copying from 5.21 to 6.6 should work.

1 Like

Fix incoming here:

1 Like