Closed ssbarnea closed 3 years ago
@ssbarnea I'm unable to reproduce this error. Can you tell me in which configuration it comes ?
We discussed with @jamesregis about this, @jamesregis will had a creates
argument to the resize.
Looks like "mol create" command was launched while there was still a qcow2 image present, on which virt-resize attempted to run. This is a very rare case, when the hypervisor takes a long time to destroy the virtual machine and you restart the VM creation. Maybe we should add a check when destroying .. that will probably be the subject of another PR.
Apparently I went into:
If I understand correctly, resize should be called only when needed and calling it when image is already at correct size would produce this error.