Project

General

Profile

Bug #51437

the lifecycle transition operation does not work after set object acl

Added by Huber ming over 2 years ago. Updated 30 days ago.

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

0%

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

Description

radosgw version: 14.2.15

create a bucket, put an object, set object acl as private, set lifecycle transition for whole bucket, but the lifecycle transition operation does not work.

the radosgw log:
2021-06-30 16:09:47.156 7fb759643700 0 ERROR: failed to transition obj (r=-125)
2021-06-30 16:09:47.156 7fb759643700 0 ERROR: remove_expired_obj
2021-06-30 16:09:47.156 7fb759643700 20 lifecycle: ERROR: orule.process() returned ret=-125

History

#1 Updated by Daniel Gryniewicz over 2 years ago

  • Affected Versions v14.2.15 added
  • Affected Versions deleted (10.0.2)

#2 Updated by Casey Bodley over 2 years ago

The -125 error, ECANCELED, generally indicates that the operation raced with another write. Is it possible that this lifecycle transition raced with the PutObjectAcl operation?

Does the transition succeed the next time lifecycle processing runs?

#3 Updated by Casey Bodley over 2 years ago

  • Status changed from New to Need More Info

#4 Updated by Huber ming over 2 years ago

Casey Bodley wrote:

The -125 error, ECANCELED, generally indicates that the operation raced with another write. Is it possible that this lifecycle transition raced with the PutObjectAcl operation?

Does the transition succeed the next time lifecycle processing runs?

One condition is missing: the bucket versioning enabled

I am very sorry, the transition has not been a success, and the error is also -125 error, ECANCELED.
When I create a new bucket and repeat the procedure I mentioned above, the transtion always filed.

#5 Updated by Casey Bodley over 2 years ago

  • Status changed from Need More Info to New
  • Tags set to lifecycle
  • Backport set to octopus pacific

#6 Updated by Or Friedmann over 2 years ago

  • Assignee set to Or Friedmann

#7 Updated by Casey Bodley over 1 year ago

bump

#8 Updated by Matt Benjamin about 1 month ago

  • Assignee changed from Or Friedmann to Soumya Koduri

hi soumya, when you return, could you look at this older report?

thanks!

Matt

#10 Updated by Soumya Koduri 30 days ago

  • Status changed from New to Resolved

The fix is available from quincy release.

Also available in: Atom PDF