Hi all,
I have tried to move LXD container from one to another node (both have zfs as backend). Container was stopped first (because live migration issues). This is an error from lxc move CT --target NODE
(and I know why it has happen – here is important that operation has died somewhere in the middle):
Error: Copy instance operation failed: Failed instance creation: Error transferring instance data: Failed to run: zfs set refquota=16106127360 .../containers/lxd-move-of-4ebf8402-5ba4-4d49-a311-bcb2c9cbd5e9: cannot set property for '.../containers/lxd-move-of-4ebf8402-5ba4-4d49-a311-bcb2c9cbd5e9': size is less than current used or reserved space
After that failure, zfs dataset ‘…/containers/lxd-move-of-4ebf8402-5ba4-4d49-a311-bcb2c9cbd5e9’ (of course) was not removed from target node, so I did it manually…
Was that mistake?
Now, I cannot either copy/move that container within same cluster. When trying again, there is another error message:
Error: Copy instance operation failed: Failed instance creation: Error transferring instance data: Got error reading migration source: websocket: close 1000 (normal)
Not sure where to look for solution. From database I see lot of:
:; lxd sql global "select count(*) 'orphan entries?' from instances_config where id not in (select id from instances);"
+-----------------+
| orphan entries? |
+-----------------+
| 1033 |
+-----------------+
Any suggestions?
Regards.