Project

General

Profile

Actions

Bug #21377

closed

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/&quot;>
</LifecycleConfiguration>


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #22637: luminous: rgw:lc: set LifecycleConfiguration without "Rule" tag return OKResolvedPrashant DActions
Copied to rgw - Backport #22638: jewel: rgw:lc: set LifecycleConfiguration without "Rule" tag return OKRejectedActions
Actions #2

Updated by Abhishek Lekshmanan over 6 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Matt Benjamin over 6 years ago

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

Updated by Nathan Cutler over 6 years ago

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

Updated by Nathan Cutler over 6 years ago

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

Updated by Yuri Weinstein over 6 years ago

Actions #7

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF