Project

General

Profile

Bug #21377

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

Added by shasha lu over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous, jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 Rejected

History

#2 Updated by Abhishek Lekshmanan over 6 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Matt Benjamin about 6 years ago

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

#4 Updated by Nathan Cutler about 6 years ago

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

#5 Updated by Nathan Cutler about 6 years ago

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

#7 Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF