You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Akos Hajnal (JIRA)" <ji...@apache.org> on 2014/11/04 13:40:33 UTC
[jira] [Created] (JCLOUDS-768) S3 creating container without
location
Akos Hajnal created JCLOUDS-768:
-----------------------------------
Summary: S3 creating container without location
Key: JCLOUDS-768
URL: https://issues.apache.org/jira/browse/JCLOUDS-768
Project: jclouds
Issue Type: Improvement
Components: jclouds-blobstore
Affects Versions: 1.8.1
Environment: All
Reporter: Akos Hajnal
Dear Developers,
I would like to use jclouds to access an S3 compatible storage (Ceph Object Gateway), but not Amazon. Many functions work well, but when I try to create a container (bucket) with:
blobStore.createContainerInLocation(null, "jclouds");
jclouds tries to use a default Amazon location, even if I created blobStore with my own endpoint:
BlobStoreContext context = ContextBuilder.newBuilder("aws-s3")
.endpoint("https://s3.lpds.sztaki.hu")
.credentials("id","pass")
.buildView(BlobStoreContext.class);
I get exception from Amazon's server that my id is not there (that is right):
The AWS Access Key Id you provided does not exist in our records.
(With AWS SDK I used to have similar problem at specifying no location. With the latest API createBucket(bucketName) works well on own S3 storages as well.)
Regards,
Akos Hajnal
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)