charm-ceph-rbd-mirror/src/actions
Frode Nordahl 79bc4e1379 Add action to force resync of images in all pools on local endpoint
There exist failure scenarios where abrupt shutdown and/or
interruptions to communication may lead to a split-brain situation
where the RBD Mirroring process in both Ceph clusters claim to be
the primary.

In such a situation the operator must decide which cluster has the
most recent data and should be elected primary by using the
``demote`` and ``promote`` (optionally with force parameter)
actions.

After making this decision the secondary cluster must be resynced
to track the promoted master, this is done by running the
``resync-pools`` action on the non-master cluster.

Change-Id: I4f57c9202ed4d055066286f808369ec0ddddb7ea
2019-04-02 09:23:22 +02:00
..
actions.py Add action to force resync of images in all pools on local endpoint 2019-04-02 09:23:22 +02:00
demote Add actions 2019-03-06 13:30:36 +01:00
promote Add actions 2019-03-06 13:30:36 +01:00
refresh-pools Add actions 2019-03-06 13:30:36 +01:00
resync-pools Add action to force resync of images in all pools on local endpoint 2019-04-02 09:23:22 +02:00
status Add ``status`` action 2019-03-20 10:53:40 +01:00