Skip to content

Error while changing the compute offering on a vm #6627

@cdfgallo

Description

@cdfgallo
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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions