Hey, s3cmd is using V2 signatures. I have not configured subdomain bucket names and in that case s3cmd always falls back to v2. I modified the code of s3cmd to force v4 signatures and it failed as expected: PUT /pdtest_expire_test/?lifecycle HTTP/1.1 Host: […] Accept-Encoding: identity Content-Length: 244 x-amz-content-sha256: 65d1fccddf3ad679c66f4e00ad972b6251a1edf0efed8cbc50b431d99bd3b8d0 Authorization: AWS4-HMAC-SHA256 Credential=81AOJ3D8270Y83NUOEOZ/20170211/US/s3/aws4_request,SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date,Signature=24c0e755ff3cf0b09f0a019557c06b8655842984b631912854802b03859fc7a4 x-amz-date: 20170211T144846Z content-md5: Gadt+CgKfqPLMiiZWpdO5Q== <?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>45</Days></Expiration><Prefix></Prefix></Rule></LifecycleConfiguration> HTTP/1.1 501 Not Implemented Content-Length: 191 x-amz-request-id: tx00000000000000001f1ec-00589f244e-6f2baa-default Accept-Ranges: bytes Content-Type: application/xml Date: Sat, 11 Feb 2017 14:48:46 GMT Connection: close <?xml version="1.0" encoding="UTF-8"?><Error><Code>NotImplemented</Code><RequestId>tx00000000000000001f1ec-00589f244e-6f2baa-default</RequestId><HostId>6f2baa-default-default</HostId></Error> Uwe > Am 10.02.2017 um 20:40 schrieb Robin H. Johnson <robbat2@xxxxxxxxxx>: > > On Fri, Feb 10, 2017 at 05:14:51PM +0100, Uwe Mesecke wrote: >> 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. > s3cmd does fallback to V2 signatures. > > Can you use that to confirm PutLifecycleConfiguration is broken w/ V4 > signatures? > > -- > Robin Hugh Johnson > Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer > E-Mail : robbat2@xxxxxxxxxx > GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 > GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com