Hey folks,

I'm having an issue with name collision of rgw zones across different realms in 
three multi-site clusters. Clusters are setup with bi-directional multi-site 
peering in addition to a local realm in each cluster for container images and 
thanos metrics. All clusters are running Reef v18.2.2

The local realm's `default` zone from the primary cluster's multi-site realm 
`cloud` was added to the period map by mistake and it propogated to the replica 
clusters. The zone name collided with the existing `default` zone in the 
`default` realm. I see the default zone in both pcloud and default realms with 
the same UUID. When I run `radosgw-admin period get --rgw-realm default` on the 
replica clusters, it returns with no zones or zonegroups when it should have 
one each named `default`.

In a test cluster, I tried renaming or deleting the `default` zone from the 
multi-site realm but it knocks out any zones named `default` regardless of 
realm.

### Primary cluster (west coast)

goneill@us-west-2-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
default | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, .endpoints[]] 
| @tsv'
37929bb2-2eb3-4827-952a-6b5ca05627a6    default http://us-west-2-ceph-mon1:8080
goneill@us-west-2-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
savagebucket | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, 
.endpoints[]] | @tsv'
250a2a20-5e11-486b-bae4-e29b173d2556    thanos
107d29a0-b732-4bf1-a26e-1f64f820e839    us-east-1-prod  
http://us-east-1-ceph-rgw1:8080
1e27bf9c-3a2f-4845-85b6-33a24bbe1c04    us-west-2-corp  
http://us-west-2-ceph-rgw1:8080
331d3f1e-1b72-4c56-bb5a-d1d0fcf6d0b8    us-west-1-prod  
http://us-west-1-ceph-rgw1:8080
37929bb2-2eb3-4827-952a-6b5ca05627a6    default

### Replica cluster (west coast)

goneill@us-west-1-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
default | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, .endpoints[]] 
| @tsv'
goneill@us-west-1-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
savagebucket | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, 
.endpoints[]] | @tsv'
250a2a20-5e11-486b-bae4-e29b173d2556    thanos
107d29a0-b732-4bf1-a26e-1f64f820e839    us-east-1-prod  
http://us-east-1-ceph-rgw1:8080
1e27bf9c-3a2f-4845-85b6-33a24bbe1c04    us-west-2-corp  
http://us-west-2-ceph-rgw1:8080
331d3f1e-1b72-4c56-bb5a-d1d0fcf6d0b8    us-west-1-prod  
http://us-west-1-ceph-rgw1:8080
37929bb2-2eb3-4827-952a-6b5ca05627a6    default

### Replica cluster (east coast)

goneill@us-east-1-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
default | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, .endpoints[]] 
| @tsv'
goneill@us-east-1-ceph-mon1:~$ sudo radosgw-admin period get --rgw-realm 
savagebucket | jq -r '.period_map.zonegroups[].zones[] | [.id, .name, 
.endpoints[]] | @tsv'
250a2a20-5e11-486b-bae4-e29b173d2556    thanos
107d29a0-b732-4bf1-a26e-1f64f820e839    us-east-1-prod  
http://us-east-1-ceph-rgw1:8080
1e27bf9c-3a2f-4845-85b6-33a24bbe1c04    us-west-2-corp  
http://us-west-2-ceph-rgw1:8080
331d3f1e-1b72-4c56-bb5a-d1d0fcf6d0b8    us-west-1-prod  
http://us-west-1-ceph-rgw1:8080
37929bb2-2eb3-4827-952a-6b5ca05627a6    default
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to