Not sure if this related to Error importing image from LXC (4.10.0) to new Incus cluster as the lxd version is different (is what I’m attempting to do even possible?) so I thought I would start a new thread…
Trying to migrate a number of containers from LXD to Incus on Ubuntu 22.04.5 LTS
System…
~⸾ lxd version
6.4
~⸾ lxc version
Client version: 6.4
Server version: 6.4
~⸾ incus version
Client version: 6.13
Server version: 6.13
~⸾ incus storage list
+---------+--------+-------------+---------+---------+
| NAME | DRIVER | DESCRIPTION | USED BY | STATE |
+---------+--------+-------------+---------+---------+
| default | btrfs | | 1 | CREATED |
+---------+--------+-------------+---------+---------+
~⸾ lxc list | grep jitsi
| jitsi | STOPPED | | | CONTAINER | 13 |
Attempt on exported current container…
~⸾ lxc export jitsi
Backup exported successfully!
~⸾ incus import jitsi.tar.gz
Importing instance: 100% (479.25MB/s)Error: Post "http://unix.socket/1.0/instances": EOF
Attempt on exported container without snapshots…
~⸾ rm jitsi.tar.gz
~⸾ lxc export jitsi --instance-only
Backup exported successfully!
~⸾ incus import jitsi.tar.gz
Importing instance: 100% (2.30GB/s)Error: Post "http://unix.socket/1.0/instances": EOF
Attempt on copied container without snapshots…
~⸾ lxc copy jitsi jitsi2 --instance-only
~⸾ lxc export jitsi2
Backup exported successfully!
~⸾ incus import jitsi2.tar.gz
Importing instance: 100% (2.29GB/s)Error: Post "http://unix.socket/1.0/instances": EOF
…and the sanity check (the reason I did the copy in the middle was to get a fresh MAC so I didnt get a conflict)
~⸾ lxc delete jitsi2
~⸾ lxc import jitsi.tar.gz jitsi2
~⸾ lxc copy jitsi2 jitsi3
~⸾ lxc start jitsi3
… jitsi3 worked so the lxc to lxc import/export was successful
If its not possible to go from LXD 6.4 to Incus I’m wondering if theres a technique I can use to downgrade LXD to make the move possible?
I’m using the latest stable 6.4-1c216d4 snap
Thanks
Daniel