Kazuhiro Ito created CLOUDSTACK-6711:
----------------------------------------
Summary: unable to set proper domain via createVolume API
Key: CLOUDSTACK-6711
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6711
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.2.1
Environment: CloudStack 4.2.1 + KVM on CentOS 6.4
Reporter: Kazuhiro Ito
I tested createVolume API as the followings.
[root@xxxxxxxx01 ~]# ./kick_api.sh command=createVolume name=TESTVOL0520-a
account=Remote-Users domainid=2 diskofferingid=30 zoneid=1
SEND URL:
https://xxx.xxx.xxx.xxx:6443/client/api?command=createVolume&name=TESTVOL0520-a&account=Remote-Users&domainid=2&diskofferingid=30&zoneid=1&apikey=ggaCbJLgRvejLkkyAaJaFwEeKE9ujwNZq3YdUz61EzXblZYeUGCaVSyjwpWWZ7ehCfdP838CYilxejy-7SxtyA&signature=qYanjN9AW7eMF6A%2FVg5iVjfrYU0%3D
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
103 207 103 207 0 0 949 0 --:--:-- --:--:-- --:--:-- 1370
<?xml version="1.0" encoding="UTF-8"?>
<createvolumeresponse cloud-stack-version="4.2.1">
<id>971ead2e-cea5-4d3f-b45a-4270d64d63f2</id>
<jobid>89bc3ef4-0146-4cef-a15e-3ccb2ba6d987</jobid>
</createvolumeresponse>
domainid "2" is not root domain. but when I check on UI, the volume's domain is
"ROOT". I tried uuid as domainid, but the same result.
"createVolume" API of 4.2.1 cannot set "domain" properly?
--
This message was sent by Atlassian JIRA
(v6.2#6252)