ceph-csi/internal/rbd
Madhu Rajanna ad0009c427 rbd: return succuss if image is healthy secondary
If the image is in secondary state and its
up+replaying means its an healthy secondary
and the image is primary somewhere in the remote
cluster and the local image is getting replayed.
Return success for the Disabling mirroring as
we cannot disable the mirroring on the secondary
state, when the image on the remote site gets
disabled the image on all the remote (secondary)
will get auto deleted. This helps in garbage
collecting the volume replication kuberentes
artifacts

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit fc0d6f6b8b)
2021-08-17 04:36:04 +00:00
..
clone.go cleanup: refractor checkCloneImage to reducing nesting if 2021-08-09 12:10:42 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go rbd: fix snapshot id idempotency issue 2021-08-09 12:10:42 +00:00
driver.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
encryption.go rbd: extract kmsID from volumeAttributes in RegenerateJournal() 2021-08-11 09:50:10 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
mirror.go rbd: add helper function to get local state 2021-08-17 04:36:04 +00:00
nodeserver_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
nodeserver.go rbd: add support to expand encrypted volume 2021-07-23 10:00:23 +00:00
rbd_attach.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_healer.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_journal.go rbd: extract kmsID from volumeAttributes in RegenerateJournal() 2021-08-11 09:50:10 +00:00
rbd_util_test.go rbd: read clusterID and PoolID from mapping 2021-08-09 09:24:16 +00:00
rbd_util.go rbd: read clusterID and PoolID from mapping 2021-08-09 09:24:16 +00:00
replicationcontrollerserver_test.go rbd: consider empty mirroring mode 2021-08-10 12:55:41 +00:00
replicationcontrollerserver.go rbd: return succuss if image is healthy secondary 2021-08-17 04:36:04 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00