bhouse-nexthop commented on PR #14760: URL: https://github.com/apache/cloudstack/pull/14760#issuecomment-7264407831
Tested on a KVM lab running a main (24.0) build that includes this change. Primary storage is Ceph RBD. Steps: changed a 2 GiB DATA volume, attached to a Running VM, to a fixed 3 GB disk offering on the same storage, so the change needs a resize and no migration. I counted the resizes for that volume. Result: all checks passed. | Check | Result | |---|---| | `changeOfferingForVolume diskofferingid=<3 GB offering>` | accepted; the volume is 3 GiB with the new offering | | `VOLUME.RESIZE` usage events for the volume during the call | 1 | | `No need to resize volume` on the VM's host (the agent's answer to a repeated resize) | 0 | Before this change, the duplicated block ran the resize a second time (#14759). That gives 2 usage events, and the second command reaches the agent with the size already updated. Not tested: a change that needs a migration, with or without a resize. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
