Skip to content

Switch instance to another compute/service offering #3332

@pbankonier

Description

@pbankonier
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Server
CLOUDSTACK VERSION
Master
CONFIGURATION
N/A 
OS / ENVIRONMENT
We are using managed storage (Solidfire).
SUMMARY

Not possible to change a service offering for an instance to a newly created compute offering.
The problem are the changes in https://github.com/apache/cloudstack/pull/3133/files in the ConfigurationManagerImpl.java.
When issystem is passed as false and iscusstomizediops is null when you create a compute offering the values gets set to 0 instead of null.

STEPS TO REPRODUCE
Create a new compute offering.
Change the service offering of an instance to the newly created compute offering.
EXPECTED RESULTS
The values for minIops and maxIops are set to null and it is possible to change the
offering for the instance.
ACTUAL RESULTS
The values for minIops and maxIops are set to 0.
An error is thrown ("The minIOPS value must be between 50 and 15000").

image
image
image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions