Project

General

Profile

Actions

Bug #43805

open

bucket lifecycle breaks down when master-zone changed or period gets updated

Added by Mikhail Kharchenko over 4 years ago. Updated about 4 years ago.

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

0%

Source:
Community (user)
Tags:
lifecycle multisite
Backport:
Regression:
Severity:
3 - minor
Reviewed:
01/24/2020
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If multisite metadata master moves to another zone (or period gets updated), lifecycle policy completely stops working. No objects will expire anymore in entire cluster and radosgw-admin lc list returns empty list. Workaround is an update bucket lifecycle policy again for each buckets. Even though it is already present and we can get it.

Found in version 12.2.12

How to reproduce:

1. Deploy 2 ceph clusters, set up 2 multisite zones, e.g. master zone A and secondary B
2. Create bucket on zone A
3. Put bucket lifecycle
4. Run radosgw-admin lc list on metadata master zone A
5. See bucket in the list # Lifecycle working
6. Change metadata master zone from A to B
7. Change metadata master zone back from B to A
8. Wait a few days and see empty list # Lifecycle not working
9. Put exactly same bucket lifecycle policy again
10. See bucket in the list # Lifecycle working


Related issues 1 (1 open0 closed)

Related to rgw - Bug #44268: multisite/lc: lc doesn't run in the slaveFix Under ReviewMatt Benjamin

Actions
Actions

Also available in: Atom PDF