Hi Chris, Which jdk version jcloud 1.7.4 and jcloud 1.8.0 support ?
-Bhupendra -----Original Message----- From: Chris Custine [mailto:[email protected]] Sent: Tuesday, July 29, 2014 12:10 PM To: Bhupendra Singh; [email protected] Subject: RE: Read Time Out Error The problem is that HP Cloud itself has evolved and recently retired some of the old api endpoints. So as I said before, you really want to be using 1.8.0-SNAPSHOT which has recent fixes to work with the updates to HP Cloud. If you are using the instructions for Ant on https://jclouds.apache.org/start/install/, then just use the second section titled "Using the daily builds" which shows how to use 1.8.0-SNAPSHOT. Your syntax below is fine, just be sure to use ${tenantName}:${accessKey} for identity and ${secretKey} for credentials. tenantName == projectID, and you can create or retrieve your api key info in Horizon (click your userid in the top right, then Manage Access Keys). The 1.8.0 release is taking place this week, so be sure to use the final release eventually as the snapshots will disappear after a period of time. -Chris -- Chris Custine On July 29, 2014 at 12:25:59 AM, Bhupendra Singh ([email protected]) wrote: > Hi Chris, > > In 1.7.0 I am using ${projectID}:{userId} as Identity and {password} > as credential in below statement : > > BlobStoreContext context = > ContextBuilder.newBuilder("hpcloud-objectstorage") > .credentials(identity, credential).buildView(BlobStoreContext.class); > > I am using ANT and to download all binaries for jcloud 1.7.3 version I > am following this https://jclouds.apache.org/start/install/ link . I > am not able to get all binaries for jcloud 1.8.0 . > > Please tell me what is syntax for 1.7.3 version to get context . > > -Bhupendra > > > -----Original Message----- > From: Chris Custine [mailto:[email protected]] > Sent: Monday, July 28, 2014 11:45 PM > To: [email protected]; Bhupendra Singh > Subject: Re: Read Time Out Error > > 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.authentic > > at > > eWithTenantNameAndCredentials(java.lang.String,org.jclouds.openstack > > .k eystone.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." > > > > {Public} > {Public} ________________________________ SDG Software India Pvt. Ltd. A-10/11, Sector 2, NOIDA 201301, (UP), India Website: www.sdgc.com<http: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."
