For testing and verification purposes, we want to make sure we can access and use all the following authentication types:
- apiAccessKeyCredentials - passwordCredentials - tempAuthCredentials We have the corresponding tests for the last two but since we moved to jclouds 2.0 and got rid of legacy swift, we cannot use apiAccessKeyCredentials with the same account we used to have for the previous jclouds (1.9.x) anymore. Ashkan On 4/14/17, 9:31 AM, "Andrew Gaul" <[email protected]> wrote: >Why don't you use the rackspace-cloudfiles-us provider which sets up >authentication for you? > >-- >Andrew Gaul >http://gaul.org/ > On 4/14/17, 9:49 AM, "Paya, Ashkan" <[email protected]> wrote: >Hi Andrew, > >Sure, please see the logs in this pastebin: https://pastebin.com/CPQtgVLW > >Ashkan > > > > >On 4/13/17, 7:30 PM, "Andrew Phillips" <[email protected]> wrote: > >>Hi Ashkan >> >>> * Failed in command: …., org.jclouds.http.HttpResponseException: >>> command: POST https://identity.api.rackspacecloud.com/v2.0/tokens >>> HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: >>> [{"badRequest":{"code":400,"message":"Invalid json request body"}}] >> >>Could you enable wire and header logging (see [1]) so we can see what >>the exact request is that jclouds is sending? Given that your cURL >>command succeeds, we would expect some difference between that and the >>command jclouds is constructing. >> >>Please check for any sensitive values in the log output before sharing, >>I should add. >> >>Regards >> >>ap >> >>[1] http://jclouds.apache.org/reference/logging/#configure
