Hi

I played around with it more today and got further. Found that using 's3'
instead of 'aws-s3' worked for me (followed this --
http://stackoverflow.com/a/13433822/1348957) . I have been able to create
buckets. Where it looks like I fail is when I am doing a GET request on
this, http://<url>:8080/<bucket_name>?acl, more than once and eventually
getting an Internal Server Error --

2015-12-02 17:06:31.095 DEBUG [Thread-12] j.headers >> GET
http://vcloud210.storage.tucson.ibm.com:8080/418-b7ff7d008a2711e5bbb9080027001c70?acl
HTTP/1.1
2015-12-02 17:06:31.095 DEBUG [Thread-12] j.headers >> Date: Thu, 03 Dec
2015 00:06:31 GMT
2015-12-02 17:06:31.095 DEBUG [Thread-12] j.headers >> Authorization: AWS
4390335ffca74ff6a317377cc9f27914:XFQll6Pnu6zpBhs5Jh/sKn0pgzI=
2015-12-02 17:06:31.288 DEBUG [Thread-12]
o.j.h.i.JavaUrlHttpCommandExecutorService Receiving response -175630661:
HTTP/1.1 500 Internal Server Error
2015-12-02 17:06:31.289 DEBUG [Thread-12] j.headers << HTTP/1.1 500
Internal Server Error
2015-12-02 17:06:31.289 DEBUG [Thread-12] j.headers << Transfer-Encoding:
chunked
2015-12-02 17:06:31.290 DEBUG [Thread-12] j.headers << Connection:
keep-alive
2015-12-02 17:06:31.291 DEBUG [Thread-12] j.headers << x-amz-request-id:
tx643b9995c89941b7b6608-00565f8787
2015-12-02 17:06:31.292 DEBUG [Thread-12] j.headers << x-amz-id-2:
tx643b9995c89941b7b6608-00565f8787
2015-12-02 17:06:31.292 DEBUG [Thread-12] j.headers << X-Trans-Id:
tx643b9995c89941b7b6608-00565f8787
2015-12-02 17:06:31.292 DEBUG [Thread-12] j.headers << Date: Thu, 03 Dec
2015 00:06:31 GMT
2015-12-02 17:06:31.293 DEBUG [Thread-12] j.headers << Content-Type:
application/xml
2015-12-02 17:06:31.294 DEBUG [Thread-12] j.wire << "<?xml version='1.0'
encoding='UTF-8'?>[\n]"
2015-12-02 17:06:31.294 DEBUG [Thread-12] j.wire <<
"<Error><Code>InternalError</Code><Message>unexpected status code
406</Message><RequestId>tx643b9995c89941b7b6608-00565f8787</RequestId></Error>"


What part of the process is this acl checked in jclouds? My project is
doing a    createContainerInLocation(..)   and then that container will get
written to using something like this --
http://pastebin.com/zuMFsf96


Here are some snippets on how we arrange the connection.
http://pastebin.com/LSDVU09w




Thanks,
Forrest T.




On Wed, Dec 2, 2015 at 11:36 AM Andrew Phillips <andr...@apache.org> wrote:

> Hi Forrest
>
> Thanks for getting in touch! Could you share the part of the code where
> you're creating the jclouds context in a Gist or Pastie?
>
> And just to clarify: you're trying to connect to an *OpenStack*
> instance, but using the S3 API?
>
> Regards
>
> ap
>
> [1] http://pastie.org
>

Reply via email to