ceph: add cephfs mirroring support

With Ceph Pacific, Rook can now deploy the cephfs-mirror daemon.
This initial commit covers the deployment of a single daemon only.
Multiple mirror daemons is currently untested.
Only a single mirror daemon is recommended.

The configuration of peers will come in a later PR since the mgr module
is still pending upstream: https://github.com/ceph/ceph/pull/39050

The same goes for integration tests, they will get added later once we
start testing on Pacific.

Closes: https://github.com/rook/rook/issues/7002
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2021-01-28 19:21:18 +01:00
1 parent 81431f91a9
commit c0123cf182
42 files changed
+2143 -3

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ func (ps *PodSpecTester) AssertVolumesMeetCephRequirements(
keyringSecretName = "rook-ceph-mons-keyring"
}
requiredVols := []string{"rook-config-override", keyringSecretName}
if daemonType != config.RbdMirrorType {
if daemonType != config.RbdMirrorType && daemonType != config.FilesystemMirrorType {
requiredVols = append(requiredVols, "ceph-daemon-data")
}
vols := []string{}