cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Osbourn <james.osbo...@citrix.com>
Subject RE: Cloudstack API calls
Date Tue, 15 Jan 2013 11:08:25 GMT
It looks like you have missed an & in your API call after the command to split the command
from the keypair entry.  Try #curl --user "admin:sigma123" "http://localhost:8080/client/api?command=listAccounts&keypair=bXFnKCix8VhhEGunkFbz8gWgwHc3WB0Tg7m3nE7LujhYo0-PGixkjOhtb2gKA\&signature=eaddca273cba89aacf4d0472356516586e2b24f8"

James

> -----Original Message-----
> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
> Sent: 15 January 2013 11:00
> To: 'cloudstack-users@incubator.apache.org'
> Subject: Cloudstack API calls
> 
> Hi all,
> 
> After installing management server I am trying to call a cloudstack API -
> 
> #curl --user "admin:sigma123"
> "http://localhost:8080/client/api?command=listAccountskeypair=bXFnKCix8
> VhhEGunkFbz8gWgwHc3WB0Tg7m3nE7LujhYo0-
> PGixkjOhtb2gKA\&signature=eaddca273cba89aacf4d0472356516586e2b24f8"
> 
> <?xml version="1.0" encoding="UTF-8"?><errorresponse cloud-stack-
> version="4.0.0.20121024012150"><errorcode>432</errorcode><errortext>T
> he given command does not
> exist</errortext></errorresponse>[root@torvm-cloudstack-mgmt ~]#
> 
> I am getting an error saying command doesnot exist.
> 
> I generated the signature using
> # echo -n "value" | openssl sha1 -hmac
> "keypair=bXFnKCix8VhhEGunkFbzqniHwYjgVUFr7KrUbKIc_g_tH8gWgwHc3W
> B0Tg7m3nE7LujhYo0-PGixkjOhtb2gKA"
> 
> Let me know if I am missing something.
> 
> Thanks and Regards.
> 
> Asmita Patil Vagyani.
> 
> 
> -----Original Message-----
> From: Aleksey Samarin [mailto:nrg3tik@gmail.com]
> Sent: 15 January 2013 PM 03:32
> To: cloudstack-users@incubator.apache.org
> Subject: Router problem
> 
> Hello everybody!
> 
> I have a wierd problem with virtual router, after create, guest network works
> fine but gateway to internet is unreachable.
> Btw ssvm and cpvm works great and using internet.
> I using cs4 on ubuntu, advanced network.
> 
> All the best


Mime
View raw message