Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6907

listVolumes: diskOfferingId is returned for the volume instead of service offering id, if its a root volume detached from the vm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.5.0
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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.

      Attachments

        Activity

          People

            alena1108 Alena Prokharchyk
            alena1108 Alena Prokharchyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: