Project

General

Profile

Bug #41010

rgw s3 lifecycle expiration header does not return the rule with the earliest date

Added by Or Friedmann 8 months ago. Updated 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature:

Description

  1. The bucket lifecycle ruleset
    s3_connection.put_bucket_lifecycle_configuration(
    Bucket=bucket_name,
    LifecycleConfiguration= {
    "Rules": [ {
    "Filter": {
    "Tag": {"Key": "suffix2", "Value": "WMV2"}
    },
    "Status": "Enabled",
    "Expiration": {
    "Date": "2017-01-01"
    },
    "ID": "WMV2"
    }, {
    "Filter": {
    "Tag": {"Key": "suffix", "Value": "WMV"}
    },
    "Status": "Enabled",
    "Expiration": {
    "Date": "2021-01-01"
    },
    "ID": "WMV"
    }
    ]
    }
    )
  2. tagging on the object
    s3_connection.put_object_tagging(
    Bucket=bucket_name,
    Key=object_key,
    Tagging={'TagSet': [{'Key': 'suffix', 'Value': 'WMV'},{'Key': 'suffix2', 'Value': 'WMV2'}]}
    )

returns:

the expiration date of rule WMV and the name of the WMV rule.


Related issues

Copied to rgw - Backport #43927: nautilus: rgw s3 lifecycle expiration header does not return the rule with the earliest date Need More Info

History

#1 Updated by Mark Kogan 8 months ago

  • Pull request ID set to 29399

#3 Updated by Patrick Donnelly 8 months ago

  • Project changed from Ceph to rgw
  • Status changed from New to Fix Under Review

#4 Updated by Matt Benjamin 7 months ago

  • Status changed from Fix Under Review to 17

#5 Updated by Patrick Donnelly 4 months ago

  • Status changed from 17 to Fix Under Review

#6 Updated by Ken Dreyer 2 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to nautilus

#7 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #43927: nautilus: rgw s3 lifecycle expiration header does not return the rule with the earliest date added

Also available in: Atom PDF