You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
I had to tweak 3 properties on the BlobStoreContext to adapt to RiakCS S3 API
PROPERTY_TRUST_ALL_CERTS : true
PROPERTY_RELAX_HOSTNAME : true
PROPERTY_S3_VIRTUAL_HOST_BUCKETS : false
I can successfully connect, and list bucket content, but experience errors for creating blobs or directory.
The jclouds lib tries first to read the ACL of the bucket, which is denied for the service binding authKey.
It seems reasonable that the authkey created for a binding should be able to read the acl of the bucket. We'll investigate. Thank you for bringing this to our attention.
I am trying to leverage the apache jclouds blobstore lib to access RiakCS service instance (http://jclouds.apache.org/guides/aws/).
I had to tweak 3 properties on the BlobStoreContext to adapt to RiakCS S3 API
PROPERTY_TRUST_ALL_CERTS : true
PROPERTY_RELAX_HOSTNAME : true
PROPERTY_S3_VIRTUAL_HOST_BUCKETS : false
I can successfully connect, and list bucket content, but experience errors for creating blobs or directory.
The jclouds lib tries first to read the ACL of the bucket, which is denied for the service binding authKey.
2014-12-05 19:00:18,534 DEBUG [main] jclouds.headers(56) - >> GET https://p-riakcs.xxx.xxx.fr/service-instance-a8327d5a-8e80-491a-b6c0-b9ed67cca31f?acl HTTP/1.1
2014-12-05 19:00:18,544 DEBUG [main] jclouds.headers(56) - >> Date: Fri, 05 Dec 2014 18:00:16 GMT
2014-12-05 19:00:18,547 DEBUG [main] jclouds.headers(56) - >> Authorization: AWS 4ZO-BKDBAA5A1BQGIQTQ:NN5UxB2zCmWpKuAcmBTExHx5gsE=
2014-12-05 19:00:18,687 DEBUG [main] jclouds.headers(56) - << HTTP/1.1 403 Forbidden
2014-12-05 19:00:18,688 DEBUG [main] jclouds.headers(56) - << X-Cf-Requestid: b67cc89f-86a7-4823-72de-07150d6b9595
2014-12-05 19:00:18,688 DEBUG [main] jclouds.headers(56) - << Date: Fri, 05 Dec 2014 18:00:18 GMT
2014-12-05 19:00:18,689 DEBUG [main] jclouds.headers(56) - << Server: Riak CS
2014-12-05 19:00:18,689 DEBUG [main] jclouds.headers(56) - << Content-Type: application/xml
2014-12-05 19:00:18,690 DEBUG [main] jclouds.headers(56) - << Content-Length: 208
2014-12-05 19:00:18,690 DEBUG [main] jclouds.wire(56) - << "
AccessDenied
Access Denied/service-instance-a8327d5a-8e80-491a-b6c0-b9ed67cca31f"Is there a security reason not to grant this bucket acl read right ?
The text was updated successfully, but these errors were encountered: