Project

General

Profile

Actions

Bug #62234

open

Transition worker fail to read object data

Added by Huy Nguyen 9 months ago. Updated 9 months ago.

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

0%

Source:
Tags:
lifecycle
Backport:
pacific quincy reef
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,
In version 16.2.13, I accidentally met this bug when testing the transition. I think this bug can happen often, so it needs to be fixed soon.

Steps to reproduce:

1. Create a bucket
2. Enable bucket versioning
3. Put the first object
4. Add a lifecycle for transition to another storage class and wait for the object to be transitioned
5. Put the second object the same key as the first one
6. Now this 2nd object will not able to transition, and radosgw returns this log:

2023-07-31T13:58:58.920+0700 7f7587c2d700 0 lifecycle: ERROR: fail to read object data, ret = -2
2023-07-31T13:58:58.921+0700 7f7587c2d700 0 lifecycle: ERROR: remove_expired_obj :huybucket11[32da3b2b-a290-45cd-a5a8-7dce58eac7ea.4635.1]):20mfile[xUIk7WbMZeMC5F0Tll5ZVtMou5tnn1I] (2) No such file or directory wp_thrd: 2, 1

Bonus: I'm not able to download that object too. But I can remove it by specify its ID

Actions #1

Updated by Huy Nguyen 9 months ago

That object is not accessible anymore so I think this is a critical bug

Actions #2

Updated by Huy Nguyen 9 months ago

Update: this bug only happen with large object. In my case, it is 20 MB.

Actions #3

Updated by Casey Bodley 9 months ago

  • Assignee set to Matt Benjamin
  • Tags set to lifecycle
  • Backport set to pacific quincy reef
Actions

Also available in: Atom PDF