ceph-csi/internal/rbd
Madhu Rajanna db1b1dd6ec rbd: consider remote image health for primary
To consider the image is healthy during the Promote
operation currently we are checking only the image
state on the primary site. If the network is flaky
or the remote site is down the image health is
not as expected. To make sure the image is healthy
across the clusters check the state on both local
and the remote clusters.

some details:
https://bugzilla.redhat.com/show_bug.cgi?id=2014495

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 64a9b1fa59)
2022-04-13 10:57:40 +00:00
..
driver rbd: add SINGLE_NODE{SINGLE_MULTI}_WRITER capabilities 2022-01-11 19:40:22 +00:00
clone.go rbd: flatten datasource image before creating volume 2022-03-18 10:27:27 +00:00
controllerserver.go rbd: do not read pvc namespace from volume attributes 2022-03-21 08:54:43 +00:00
diskusage.go rbd: implement CSI-Addons ControllerReclaimSpace 2021-12-23 17:43:23 +00:00
encryption.go rbd: do not read pvc namespace from volume attributes 2022-03-21 08:54:43 +00:00
errors.go rbd: check local image state during promote operation 2021-12-01 20:19:05 +00:00
globals.go rbd: add functions for initializing global variables 2021-12-10 07:35:26 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go rbd: increase force promote timeout to 2 minutes 2022-03-30 13:46:27 +00:00
nodeserver_test.go cleanup: generalize the parseBool function 2021-11-01 08:17:36 +00:00
nodeserver.go util: add support for the nsenter 2022-04-08 14:44:20 +00:00
rbd_attach_test.go rbd: fix parsing mapOptions 2022-03-14 15:21:25 +00:00
rbd_attach.go util: add support for the nsenter 2022-04-08 14:44:20 +00:00
rbd_healer.go rbd: export RunVolumeHealer() so that rbd/driver can start it 2021-12-10 07:35:26 +00:00
rbd_journal.go rbd: fix topology snapshot pool 2022-03-30 04:40:30 +00:00
rbd_util_test.go rbd: make image features as optional parameter 2022-02-28 13:10:03 +00:00
rbd_util.go util: add support for the nsenter 2022-04-08 14:44:20 +00:00
replicationcontrollerserver_test.go rbd: enabe journal based mirroring 2021-12-01 14:12:30 +00:00
replicationcontrollerserver.go rbd: consider remote image health for primary 2022-04-13 10:57:40 +00:00
snapshot.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00