cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Error while changing the compute offering on a vm

Open cdfgallo opened this issue 2 years ago • 0 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17.0.1 on CentOS 7
CONFIGURATION

N/A

OS / ENVIRONMENT

CentOS 7

SUMMARY

When change the compute offering on a VM from the UI it fails with error "You cannot pass in a custom disk size to a non-custom disk offering.". This happens with every time you change the compute offering through the cloudstack web UI. This seems to happens because it send via API the parameter "details[0].rootdisksize" which cause the issue. A workaround we found is to write "null" in the disk size parameter when changing the compute offering

STEPS TO REPRODUCE
Change a compute offering through cloudstack web UI on a powered off vm
EXPECTED RESULTS
The compute offering is changed
ACTUAL RESULTS
error "You cannot pass in a custom disk size to a non-custom disk offering."

cdfgallo avatar Aug 10 '22 13:08 cdfgallo