cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: adding additional nic (physical network) to existing zone
Date Tue, 07 May 2013 06:20:04 GMT

On May 6, 2013, at 11:04 PM, David Nalley <david@gnsa.us> wrote:

> On Mon, May 6, 2013 at 11:01 PM, Andrew Eng <andrewceng@gmail.com> wrote:
>> Thanks for pointing out the api doc.  This is the first time using it -
>> so....  just listing out physical Networks is causing an issue.  It's
>> saying :
>> 
>> <listphysicalnetworksresponse
>> cloud-stack-version="4.0.1.20130201075054"><errorcode>401</errorcode><errortext>unable
>> to verify user credentials and/or request
>> signature</errortext></listphysicalnetworksresponse>
>> 
>> The API I'm using is:
>> 
>> http://127.0.0.1:8080/client/api?command=listPhysicalNetworks&zoneId=1&apiKey=<admin
>> API key>&signature=<admin secret key>
>> 
>> Am i doing something wrong?
>> 
> 
> 
> signature != secret key
> 
> If you want to know all of the sordid details of hashing a signature, look here:
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/API_Developers_Guide/signing-api-requests.html
> 
> If you just want to be productive, use the command line tool Cloudmonkey
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html
> 
> --David

In this video http://www.youtube.com/watch?v=ZPfm2EksIbc I also do a screencast of how to
compute the signature in python



Mime
View raw message