Did you mean you are using 1.8.0 (I don’t think you would get this far if you
weren’t)? Assuming you are using 1.8.0-SNAPSHOT or 1.7.4-SNAPSHOT, one thing
that changes for these versions is that you need to use
${tenantName}:${accessKey} for identity and ${secretKey} for credentials. This
solves several issues with object storage and compute providers.
Let me know if these assumptions are wrong and i’ll try to help you out more.
Thanks,
Chris
--
Chris Custine
On July 28, 2014 at 2:50:56 AM, Bhupendra Singh ([email protected])
wrote:
> Hi All,
>
> I am using jcloud 1.7.0 to work with HP cloud object storage service . I am
> using following
> way to get context and then using BlobStore to create container and doing
> rest operation
> :
>
> BlobStoreContext context =
> ContextBuilder.newBuilder("hpcloud-objectstorage")
> .credentials(identity, credential)
> .buildView(BlobStoreContext.class);
>
> BlobStore blobStore=Context.getBlobStore();
> blobStore.list();
>
> But I am getting following exception :
>
> SEVERE: Cannot retry after server error, command has exceeded retry limit 5:
> [method=public
> abstract com.google.common.util.concurrent.ListenableFuture
> org.jclouds.openstack.keystone.v2_0.AuthenticationAsyncApi.authenticateWithTenantNameAndCredentials(java.lang.String,org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials)[10345580501258-Project,
>
> PasswordCredentials{username=abced, password=abcgfer}], request=POST
> https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
> HTTP/1.1]
> org.jclouds.http.HttpResponseException: Read timed out connecting to POST
> https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
> HTTP/1.1
>
>
>
>
> Thanks & Regards,
> Bhupendra Pratap Singh
> Sr. Software Engineer
> Mobile: +91 9971279010/9891110828, O: +91-120-4014000, F: +91-120-4014020 |
> Email:
> [email protected]
> www.sdgc.com
>
>
>
> {Public}
>
> ________________________________
> SDG Software India Pvt. Ltd.
> A-10/11, Sector 2, NOIDA 201301, (UP), India
> Website: www.sdgc.com
>
> "Please Note: The e-mail content is intended for the sole use of the intended
> recipient/s
> and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY
> INFORMATION. Any
> review or reliance by others or copying or distribution or forwarding of any
> or all of
> the contents in this message is STRICTLY PROHIBITED. If you have erroneously
> received
> this message, please delete it immediately and notify the sender. Before
> opening any
> attachments please check them for viruses and defects."
>