Add snapshot mirroring support

Registered by Arthur Outhenin-Chalandre on 2021-04-06

Add support for snapshot based replication (this feature was added in Octopus in Ceph) to cinder rbd driver and ceph backup driver. Snapshot mirroring need the fast diff feature and to enable the replication per image.

This would require to add some new configuration options. I propose to add `rbd_replication_mode` in the cinder driver which would have two possible values: "journaling" and "snapshot" and defaults to "journaling" to not break any existing configuration. On the cinder-backup driver I propose to add a boolean `backup_ceph_image_snapshot_mirroring` to be coherent with the existing `backup_ceph_image_journals`.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Arthur Outhenin-Chalandre
Direction:
Needs approval
Assignee:
Arthur Outhenin-Chalandre
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/q/topic:rbd-snapshot-mirroring

Addressed by: https://review.opendev.org/c/openstack/cinder/+/784945
    RBD: add support for snapshot mirroring based replication

Addressed by: https://review.opendev.org/c/openstack/cinder/+/784956
    backup: ceph: add support for snapshot mirroring based replication

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.