Alena Prokharchyk created CLOUDSTACK-6907:
---------------------------------------------

             Summary: listVolumes: diskOfferingId is returned for the volume 
instead of service offering id, if its a root volume detached from the vm
                 Key: CLOUDSTACK-6907
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6907
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.4.0
            Reporter: Alena Prokharchyk
            Assignee: Alena Prokharchyk
             Fix For: 4.5.0


Steps to reproduce:

1) Deploy vm. Stop it.
2) Detach the Root volume. It becomes a DataDisk
3) execute listVolumes call.

Bug: volumes that were originally created as Root, reference service offering 
instead of a disk offering. But the API just assumes that if the disk Type is 
DataDisk, then diskOffering should be returned.

Api has to be smarter while figuring out what to return - service or disk 
offering id - and return the service offering if thats what the id of the 
offering represents.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to