Project

General

Profile

Actions

Bug #58822

closed
SK

rgw/syncpolicy: Unable to restrict sync to subset of zones

Bug #58822: rgw/syncpolicy: Unable to restrict sync to subset of zones

Added by Soumya Koduri almost 4 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
reef
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-2770-ga8546872ece
Released In:
v19.2.0~2759
Upkeep Timestamp:
2025-07-12T17:38:36+00:00

Description

Suppose there are three zones (zg1-1, zg1-2, zg1-3) in a zonegroup, out of which sync policy is created to allow sync between only zg1-1, zg1-2 as shown below -

#radosgw-admin sync info --group-id=zg1-policy1 {
"sources": [ {
"id": "zg1-pipe",
"source": {
"zone": "zg1-2",
"bucket": "*"
},
"dest": {
"zone": "zg1-1",
"bucket": "*"
},
"params": {
"source": {
"filter": {
"tags": []
}
},
"dest": {},
"priority": 0,
"mode": "system",
"user": ""
}
}
],
"dests": [ {
"id": "zg1-pipe",
"source": {
"zone": "zg1-1",
"bucket": "*"
},
"dest": {
"zone": "zg1-2",
"bucket": "*"
},
"params": {
"source": {
"filter": {
"tags": []
}
},
"dest": {},
"priority": 0,
"mode": "system",
"user": ""
}
}
],

Expected behavior- is that objects created in zg1-1, zg1-2 will synced among each other but will not be replicated to zg1-3. However that doesn't seem to be the case.

Observations: Objects created in zg1-1, zg1-2 are being copied to zg1-3 even though there is no policy configured allowing the same. Strangely, the objects created at zg1-3 are not being replicated to zg1-1 or zg1-2.

SK Updated by Soumya Koduri over 3 years ago Actions #2

  • Pull request ID set to 50397

This seem to have caused due to incorrect zone configuration. Due to a bug in test-rgw-multisite.sh, the endpoints created for zone2 are being added to zone3 as well resulting in zonegroup update issues for zone3.

SK Updated by Soumya Koduri over 3 years ago Actions #3

  • Status changed from New to Resolved
  • Backport set to reef

UB Updated by Upkeep Bot over 1 year ago Actions #4

  • Merge Commit set to a8546872ecea5495b7c90bfececef686d20e1821
  • Fixed In set to v18.0.0-2770-ga8546872ece
  • Released In set to v19.2.0~2759
  • Upkeep Timestamp set to 2025-07-12T17:38:36+00:00
Actions

Also available in: PDF Atom