In lxc/lxd v 5.3, lxc copy fails with this error:
Error: Create instance from copy: Instance disk effective override field "size" should not be stored in volume config
The code comment reads:
If the volumeType represents an instance type then check that the volumeConfig doesn't contain any of the instance disk effective override fields (which should not be stored in the database).
And the feature Storage: Simplify instance root disk volume config #10115 reads :
Storage: Simplify instance root disk volume config
From a user’s point of view, what worked in v5.2 no longer works in v5.3. I am not sure what problem was being solved and I do not know what I need to change in my environment (storage, profile, container) for the lxc copy command to work.
It will be very helpful to get more background on the problem being solved and steps to remediate.
I rolled lxc back to v5.2 because I have ansible scripts which failed.