Project

General

Profile

Bug #20872

rgw: lifecycle policies fail when filter xml tag is specified

Added by Abhishek Lekshmanan about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
08/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html mentions a Filter xml tag and using this on s3 lifecycle seems to report a 400 error

eg.lc

<LifecycleConfiguration>
  <Rule>
    <ID>Transition</ID>
    <Filter>
       <Prefix>obj</Prefix>
    </Filter>
    <Status>Enabled</Status>
    <Expiration>
      <Days>1</Days>
    </Expiration>
  </Rule>
</LifecycleConfiguration>

History

#1 Updated by Orit Wasserman about 2 years ago

  • Assignee set to Abhishek Lekshmanan

#2 Updated by Orit Wasserman about 2 years ago

  • Status changed from New to Verified

#3 Updated by Abhishek Lekshmanan about 2 years ago

  • Status changed from Verified to In Progress

#4 Updated by Yuri Weinstein about 2 years ago

Abhishek Lekshmanan wrote:

master pr: https://github.com/ceph/ceph/pull/16818

merged

#5 Updated by Casey Bodley almost 2 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF