When service offering of a (stopped) VM is changed using the scaleVirtualMachine API, its root disk get resized. In case the primary storage pool don't have enough capacity, the operation will fail. However, changeServiceForVirtualMachine API can allow changing offering for a stopped VM and won't try to resize the root disks.
The issue was introduced recently, and exists in 4.11 but not in 4.9: a30a31c#diff-0a1cd9df984252594918eec5acfed08cR1121 /cc @mike-tutkowski
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
When service offering of a (stopped) VM is changed using the
scaleVirtualMachineAPI, its root disk get resized. In case the primary storage pool don't have enough capacity, the operation will fail. However,changeServiceForVirtualMachineAPI can allow changing offering for a stopped VM and won't try to resize the root disks.The issue was introduced recently, and exists in 4.11 but not in 4.9: a30a31c#diff-0a1cd9df984252594918eec5acfed08cR1121 /cc @mike-tutkowski
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION