bhouse-nexthop commented on PR #14750:
URL: https://github.com/apache/cloudstack/pull/14750#issuecomment-7264407619

   Tested on a KVM lab running a main (24.0) build that includes this change. 
Primary storage is Ceph RBD. The PR targets 4.22; `changeOfferingForVolume` is 
the same on both branches apart from this change.
   
   Steps: attached a 1 GiB DATA volume on a custom-size disk offering to a 
Running VM, then changed it to the same offering, first with the same size, 
then with a new one.
   
   Result: all checks passed.
   
   | Step | Result |
   |---|---|
   | `changeOfferingForVolume diskofferingid=<same offering> size=1` | refused 
(431): `Volume ... is already having disk offering <offering uuid>` |
   | `changeOfferingForVolume diskofferingid=<same offering> size=2` | 
accepted; the volume is 2 GiB |
   
   Before this change, the same-size call went through the full change path and 
returned success (#14749).
   
   Not tested: offerings with IOPS or a hypervisor snapshot reserve, and the UI.
   


-- 
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]

Reply via email to