Hey,

just to keep you updated: I was able to add a lifecycle using s3cmd (version 
1.6.1). I think I can live with that because for me changing lifecycles is some 
one-time setup task.

Uwe

> Am 10.02.2017 um 01:32 schrieb Uwe Mesecke <[email protected]>:
> 
> Hey,
> 
> I am trying to do some testing of S3 bucket lifecycles in Kraken but I am 
> unable to setup a lifecycle. RGW always returns "501 Not Implemented“.
> 
>>>> 
> PUT /pdtest_expire_test?lifecycle HTTP/1.1
> […]
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <LifecycleConfiguration 
> xmlns="http://s3.amazonaws.com/doc/2006-03-01/";><Rule><ID>test</ID><Status>Enabled</Status><Expiration><Days>1</Days></Expiration><Prefix></Prefix></Rule></LifecycleConfiguration>
>>>> 
> <<<
> HTTP/1.1 501 Not Implemented
> […]
> 
> <?xml version="1.0" 
> encoding="UTF-8"?><Error><Code>NotImplemented</Code><RequestId>tx000000000000000001e40-00589cff17-6f1d60-default</RequestId><HostId>6f1d60-default-default</HostId></Error>
> <<<
> 
> The cluster is running version 11.2.0 and was just upgraded from jewel. The 
> client used is the PHP aws-sdk. I already double checked the version of the 
> running rgw instances and they are all at 11.2.0.
> 
> After increasing the log level in one rgw instance I can see following lines:
> 
> 2017-02-10 01:08:51.225783 7fdc60167700 10 delaying v4 auth
> 2017-02-10 01:08:51.225785 7fdc60167700 10 ERROR: AWS4 completion for this 
> operation NOT IMPLEMENTED
> 2017-02-10 01:08:51.225788 7fdc60167700 10 failed to authorize request
> 2017-02-10 01:08:51.225789 7fdc60167700 20 handler->ERRORHANDLER: 
> err_no=-2201 new_err_no=-2201
> 
> Does that mean that we cannot put lifecycles using V4 signature requests? PHP 
> aws-sdk seems to have dropped support for earlier signature versions a while 
> ago, at least for S3.
> 
> Uwe
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to