jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asanka sanjaya Herath <angal...@gmail.com>
Subject Re: Exception cause when connecting to cloudstack
Date Fri, 19 Sep 2014 14:24:26 GMT
Hi Andrew,

You solved my problem. Thank you so much. And appreciate the advice. Thanks
again. :)

On Fri, Sep 19, 2014 at 7:14 PM, Andrew Phillips <andrewp@apache.org> wrote:

> Hi Asanka
> I think what Schalk was trying to point out is that's its generally
> advised never to put sensitive information such as your passwords into an
> email on a public forum such as this one. If I understand correctly, your
> CloudStack instance is running locally, so hopefully is not accessible to
> anyone else.
> Still, you should consider changing your credentials and replacing them
> with things like 'dummy' in future emails.
> Now on to your problem ;-) According to the API metadata [1], the value
> for "identity" is expected to be your API key, and the value for
> "credential" is expected to be your secret key.
> So you should be calling ".credentials(apiKey, secretKey)". Could you try
> that?
> Note that Everett's example is for Rackspace, which is not a CloudStack
> cloud.
> ap
> [1] https://github.com/jclouds/jclouds/blob/master/apis/
> cloudstack/src/main/java/org/jclouds/cloudstack/
> CloudStackApiMetadata.java#L63-L64


View raw message