Skip to content

Incorrect disk offering is listed when volume migration is initiated #9805

@kiranchavala

Description

@kiranchavala

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

  1. Create a 3 primary storages (Pri-storage1 with no tags , Pri-storage2 with tag x2, Pri-storage3 with no tags)

  2. Create a disk offering let's with a different with tag x1.

  3. Launch a vm on Pri-storage1

  4. Stop the vm

  5. Try to Migrate the vm's volume to Pri-storage2 ( Only the small disk offering UUID is shown)

migrate-volume

  1. Try to Migrate the vm's volume to Pri-storage3 (all the disk offerings are shown)

Screenshot 2024-10-16 at 12 06 56 PM

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions