When I attempt to resize any VM disk on either of my hosts I get the following error:
[one.vm.diskresize] New disk size has to be greater than current one
This just started today. I confirmed there is plenty of disk space on both hosts. I also have no snapshots.
The VM template shows: ORIGINAL_SIZE = “10240”; I’m attempting to resize to 200GB
I’m attempting this from Sunstone using OpenNebula 5.4.6 on Centos 7.
I believe I know why disk resizing stopped working just yesterday. Coincidentally my servers were bounced yesterday morning. As a result of this I assume OpenNebula was automatically updated to version 5.4.6. Prior to this I was running on version 5.4.2. I’m guessing the problem may have been introduced in version 5.4.4 because a change was made to the disk size slider functionality.
Update . . .
I was finally able to work around this for now with CLI command:
Note size must be in megabytes. So for increasing my disk size to 200 GB I entered:
onevm disk-resize 250 3 204800.