Project

General

Profile

Actions

Bug #50970

closed

replication: local site naming in manual mode and snapshot mirroring

Added by Arthur Outhenin-Chalandre almost 3 years ago. Updated over 2 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

From my testing, snapshot mirroring is more strict on the coherence of the site name: local site name and remote site name in the remote site should be equal. This leads to error in the init of the replayer (this led to this issue https://tracker.ceph.com/issues/50931 for the record). While with non coherent name, journaling is working fine.

This is fine to be strict on the site name but it's theorically (at least to my knowledge) not possible to change the local site name with the manual setup (https://docs.ceph.com/en/latest/rbd/rbd-mirroring/#add-cluster-peer-manually). I have a hacky workaround for this which is to create a bootstrap token even if you have done the manual setup.

In my case this ends up in error (with the "manual mode" already setup):
```
$ rbd mirror pool peer bootstrap create --site-name my_local_site volumes
rbd: mismatch with pre-existing RBD mirroring peer user caps
```
But it's essentially fine, the local site name change is done before this error :).

So maybe a command to change the local site name in the rbd cli would be handy?

Actions

Also available in: Atom PDF