-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
ISSUE TYPE
Bug
COMPONENT NAME
Component: Bug
CLOUDSTACK VERSION
Cloudstack version 4.19.1
SUMMARY
Incorrect disk offering is listed when volume migration is initiated
Steps to reproduce the behaviour
-
Create a 3 primary storages (Pri-storage1 with no tags , Pri-storage2 with tag x2, Pri-storage3 with no tags)
-
Create a disk offering let's with a different with tag x1.
-
Launch a vm on Pri-storage1
-
Stop the vm
-
Try to Migrate the vm's volume to Pri-storage2 ( Only the small disk offering UUID is shown)
- Try to Migrate the vm's volume to Pri-storage3 (all the disk offerings are shown)
Expected behaviour
Since there are no disk offerings associated with tag x2, Cloudstack should not display any disk offerings
Actual Behaviour
The small disk offering uuid is show
Currently, cloudstack is calling the list disk offerings based on the storage id
http:///client/api/?storageid=84571068-e616-3f1a-940b-cd4a7b01a3a1&listall=true&command=listDiskOfferings&response=json&sessionkey=-wChbvJAKBJz2u68r18S0yLIMoA

