[ https://issues.apache.org/jira/browse/CLOUDSTACK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Chen resolved CLOUDSTACK-6568. ---------------------------------- Resolution: Fixed > API:createVolume: Volume gets created with wrong domain ID > ---------------------------------------------------------- > > Key: CLOUDSTACK-6568 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6568 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API, Volumes > Affects Versions: 4.3.0, 4.4.0, 4.3.1 > Reporter: Parth Jagirdar > Assignee: Min Chen > Attachments: createVolume.jpg > > > 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 | > +------------+-----------+-------------+ -- This message was sent by Atlassian JIRA (v6.2#6252)