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

API:createVolume: Volume gets created with wrong domain ID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.0, 4.4.0, 4.3.1
    • None
    • API, Volumes
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      http://10.223.49.210:8080/client/api?command=createVolume&name=d22-volume&zoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91&diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2d&domainid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34&account=d22&response=json&sessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwHghU%3D

      2014-05-02 13:37:41,544 INFO [a.c.c.a.ApiServer] (catalina-exec-22:ctx-669b420f ctx-a9da8d5c) (userId=2 a
      ccountId=2 sessionId=B19BA8EED26B975AA6AAEB9E8F25EFC5) 10.215.2.19 – GET command=createVolume&name=d22-vo
      lume&zoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91&diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2d&domai
      nid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34&account=d22&response=json&sessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwH
      ghU%3D 200 { "createvolumeresponse" :

      {"id":"224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2","jobid":"d537170d-ab2b- 4880-ae35-f9846e5ef88d"}

      }

      { "createvolumeresponse" :

      {"id":"224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2","jobid":"d537170d-ab2b-4880-ae35-f9846e5ef88d"}

      }

       createVolume is invoked as ROOT Admin with account and Domain, (To create Vol for other User).

       Volume gets created with specified account. But domain ID is of ROOT.

      2 1 test
      2 1 root-volume
      7 1 root-volume
      7 1 d22-volume

      --------------------------------

      Attachments

        1. createVolume.jpg
          123 kB
          Parth Brahmbhatt

        Activity

          People

            minchen07 Min Chen
            parth Parth Brahmbhatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: