Hello container folks,
I have had good success with copying containers in between different hosts, but recently ran into an issue. Both hosts run LXD version 3.0.3 with a ZFS storage backend.
despens@my-host:~$ lxc copy other-host:my-container my-container Error: Failed container creation: - https://22.214.171.124:8443: Error transferring container data: Unable to connect to: 126.96.36.199:8443 - https://188.8.131.52:8443: Error transferring container data: Create LXC container: Invalid devices: Detect root disk device: No root device could be found
The first error, “Unable to connect” is definitely incorrect, as I am able to manage conainers on that host remotely and had several successful copy operations before.
I do not understand what the second error means.
The container to be copied was created in a standard way, starting out with a default image. It features 5 snapshots.
despens@my-host:~$ lxc info other-host:my-container Name: my-container Remote: https://184.108.40.206:8443 Architecture: x86_64 Created: 2019/01/13 19:25 UTC Status: Running Type: persistent Profiles: default Pid: 31045 Ips: eth0: inet x.x.x.x veth78A0MA eth0: inet6 x::x:x:x:x veth78A0MA lo: inet 127.0.0.1 lo: inet6 ::1 Resources: Processes: 45 Disk usage: root: 5.68GB CPU usage: CPU usage (in seconds): 16 Memory usage: Memory (current): 165.35MB Memory (peak): 166.22MB Network usage: eth0: Bytes received: 199.20kB Bytes sent: 1.28MB Packets received: 1454 Packets sent: 1016 lo: Bytes received: 0B Bytes sent: 0B Packets received: 0 Packets sent: 0 Snapshots: snap-1 snap-2 snap-3 snap-4 snap-5
Any idea what’s the case here?