Project

General

Profile

Actions

Bug #53878

open

The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty.

Added by zhiming zhang over 2 years ago. Updated over 1 year ago.

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

0%

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

Description

The bucket versioning status is enabled, and the storage class is STANDARD, then put bucket lifecycle configuration like this:
'Rules': [ {
'Filter': {
'Prefix': 'test',
},
'ID': 'TestOnly',
'Status': 'Enabled',
'NoncurrentVersionTransitions': [ {
'NoncurrentDays': 1,
'StorageClass': '',
},
],
},
],
the dest storage class is empty.

Put object with storage class 'ABC', not STANDARD, then lifecycle transition non current object to STANDARD, but the storage class attr is 'ABC', inherited from old attr.


Related issues 2 (1 open1 closed)

Copied to rgw - Backport #57416: pacific: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty.RejectedMatt BenjaminActions
Copied to rgw - Backport #57417: quincy: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty.NewMatt BenjaminActions
Actions #2

Updated by zhiming zhang over 2 years ago

And, if the bucket default storage class is not STANDARD, for example, IA, and when dest storage class is empty, objects will be transitioned to IA, not STANDARD. The behavior
of Noncurrent transition is inconsistent with current transition.

Actions #3

Updated by Casey Bodley about 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Casey Bodley
  • Pull request ID set to 44589
Actions #4

Updated by Casey Bodley about 2 years ago

  • Assignee changed from Casey Bodley to Matt Benjamin
Actions #5

Updated by J. Eric Ivancich over 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by J. Eric Ivancich over 1 year ago

  • Status changed from Resolved to Pending Backport
  • Backport set to quincy,pacific
Actions #7

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57416: pacific: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty. added
Actions #8

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57417: quincy: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty. added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF