-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
ISSUE TYPE
Improvement request
COMPONENT NAME
Component: Improvement
CLOUDSTACK VERSION
Cloudstack version 4.20.x
SUMMARY
Should Cloudstack consider Minops and Maxops for a vm deployment
Steps to reproduce the issue
The following pr introduced used_iops feature for localstorage
-
Launch a cloudstack environment with local storage
-
Navigate to the local storage and edit the storage
-
Update the value of IOPS total to smaller value say 7
-
Create a local storage service offering and disk offering
-
Compute offering > storage > Provide Minops and Maxops
-
Disk offering > Min ops and Max ops
- Create a vm deployment by selecting the service offering and disk offering
Actual behaviour
The vm deployment succeeds
Questions about this behaviour
Does cloudstack validate when the Assigned primary storage “Total Iops “ is less than “UsedIops” , should the vm deployement fail ?
Does cloudstack validate the service offerings and disk offerings for (Min iops , MAX iops) for a primary localstorage ?
Should we remove the option the UI in when end user selects “Storage type” as Local and “QOS type” as storage ?
Expected behaviour
The vm deployment should fail, I think it makes sense to only show the Qos (maxops, miniops ) for a managed storage (ceph, powerflex)
