Project

General

Profile

Bug #21377

rgw:lc: set LifecycleConfiguration without "Rule" tag return OK

Added by shasha lu 9 months ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/13/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous, jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

According to S3, <Rule> tag in LifecycleConfiguration is Required.

If using the following lifecycle.xml, should return error.
s3cmd setlifecycle lifecycle.xml s3://my_bucket1

cat lifecycle.xml
<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
</LifecycleConfiguration>


Related issues

Copied to rgw - Backport #22637: luminous: rgw:lc: set LifecycleConfiguration without "Rule" tag return OK Resolved
Copied to rgw - Backport #22638: jewel: rgw:lc: set LifecycleConfiguration without "Rule" tag return OK Need More Info

History

#2 Updated by Abhishek Lekshmanan 8 months ago

  • Status changed from New to Need Review

#3 Updated by Matt Benjamin 5 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to luminous, jewel

#4 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #22637: luminous: rgw:lc: set LifecycleConfiguration without "Rule" tag return OK added

#5 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #22638: jewel: rgw:lc: set LifecycleConfiguration without "Rule" tag return OK added

#6 Updated by Yuri Weinstein 5 months ago

Also available in: Atom PDF