Project

General

Profile

Actions

Bug #39632

closed

lifecycle transitions on non existent placement targets

Added by Abhishek Lekshmanan almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

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

Description

Currently we don't error when a non existent placement target is supplied in lifecycle, which ends with the object being transitioned to the standard storage class itself.

eg. brokentransition.json
{ "Rules": [
            {
                "Transition" : {
                    "Days": 10,
                    "StorageClass": "kitchensink" 
                },
                "ID": "Transition abc objects",
                "Status": "Enabled",
                "Prefix":"abc" 
            }
]
}

aws s3api put-bucket-lifecycle & putting an object that matches the prefix will lead to the object being reported as transitioned to the non existant storage class and just being copied in the same standard pool


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #40849: nautilus: lifecycle transitions on non existent placement targetsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF