You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Cristian Ciobanu <cr...@istream.today> on 2015/09/09 23:01:25 UTC
listStoragePools does not exist or it is not available for user with
id
Hello,
I have the following issue when i call the API, can someone tell me what is wrong on my configuration ?
2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer] (catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4 accountId=4 sessionId=null) 172.20.217.237 -- GET apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listCapabilities&response=json&signature=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D 200 {"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer] (catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listStoragePools&response=json&signature=u9bX0SoqNm7wmO9uAln5YzAnTak%3D 432 The given command:listStoragePools does not exist or it is not available for user with id:null
Thanks
Regards,
Cristian
RE: listStoragePools does not exist or it is not available for user
with id
Posted by Somesh Naidu <So...@citrix.com>.
I hope you realize that this API is only available to ROOT Admin users.
Regards,
Somesh
-----Original Message-----
From: Vadim Kimlaychuk [mailto:vadim@kickcloud.net]
Sent: Thursday, September 10, 2015 2:00 AM
To: users@cloudstack.apache.org
Cc: Cristian Ciobanu
Subject: Re: listStoragePools does not exist or it is not available for user with id
Cristian,
I see "4.5.2" in api call in log. Haven't noticed it before. I
may only suggest to call the same function from UI with the same user ID
and check log for correct API request parameters. I haven't been using
API so much, but signature calculation was always problematic for me, so
I copied it from the log.
Vadim.
> Cristian,
>
> It would be nice to know which CS version do you use? :)
>
> Vadim
>
> On 2015-09-10 00:01, Cristian Ciobanu wrote:
>
>> Hello,
>>
>> I have the following issue when i call the API, can someone tell me
>> what is wrong on my configuration ?
>>
>> 2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer]
>> (catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4
>> accountId=4 sessionId=null) 172.20.217.237 -- GET
>> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listCapabilities&response=json&signature=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D
>> 200
>> {"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
>> 2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer]
>> (catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET
>> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listStoragePools&response=json&signature=u9bX0SoqNm7wmO9uAln5YzAnTak%3D
>> 432 The given command:listStoragePools does not exist or it is not
>> available for user with id:null
>>
>> Thanks
>>
>> Regards,
>> Cristian
Re: listStoragePools does not exist or it is not available for user
with id
Posted by Vadim Kimlaychuk <va...@kickcloud.net>.
Cristian,
I see "4.5.2" in api call in log. Haven't noticed it before. I
may only suggest to call the same function from UI with the same user ID
and check log for correct API request parameters. I haven't been using
API so much, but signature calculation was always problematic for me, so
I copied it from the log.
Vadim.
> Cristian,
>
> It would be nice to know which CS version do you use? :)
>
> Vadim
>
> On 2015-09-10 00:01, Cristian Ciobanu wrote:
>
>> Hello,
>>
>> I have the following issue when i call the API, can someone tell me
>> what is wrong on my configuration ?
>>
>> 2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer]
>> (catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4
>> accountId=4 sessionId=null) 172.20.217.237 -- GET
>> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listCapabilities&response=json&signature=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D
>> 200
>> {"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
>> 2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer]
>> (catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET
>> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listStoragePools&response=json&signature=u9bX0SoqNm7wmO9uAln5YzAnTak%3D
>> 432 The given command:listStoragePools does not exist or it is not
>> available for user with id:null
>>
>> Thanks
>>
>> Regards,
>> Cristian
Re: listStoragePools does not exist or it is not available for user
with id
Posted by Vadim Kimlaychuk <va...@kickcloud.net>.
Cristian,
It would be nice to know which CS version do you use? :)
Vadim
On 2015-09-10 00:01, Cristian Ciobanu wrote:
> Hello,
>
> I have the following issue when i call the API, can someone tell me
> what is wrong on my configuration ?
>
> 2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer]
> (catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4
> accountId=4 sessionId=null) 172.20.217.237 -- GET
> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listCapabilities&response=json&signature=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D
> 200
> {"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
> 2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer]
> (catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET
> apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listStoragePools&response=json&signature=u9bX0SoqNm7wmO9uAln5YzAnTak%3D
> 432 The given command:listStoragePools does not exist or it is not
> available for user with id:null
>
> Thanks
>
> Regards,
> Cristian