ceph-csi/internal/rbd
Shyamsundar Ranganathan 8938ee81aa rbd: Report errors when a resync maybe in progress
Currently we return a !ready status if an image
is not found when a replication resync is issued.

We also return a !ready just post issuing a resync.

The change is to ensure we return errors in these
cases for the caller to retry the operation till
we can determine we are actually resyncing, and then
return !ready with nil errors.

Part of addressing:
  https://github.com/csi-addons/volume-replication-operator/issues/101

Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
(cherry picked from commit 47dc9cf28d)
2021-09-15 17:48:40 +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: check for clusterid mapping in genVolFromVolumeOptions() 2021-09-14 12:56:12 +00:00
driver.go util: call WriteCephConfig() in cephcsi.go 2021-09-09 13:32:12 +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: check for clusterid mapping in genVolFromVolumeOptions() 2021-09-14 12:56:12 +00:00
rbd_attach.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_healer.go util: NewK8sClient() should not panic on non-Kubernetes clusters 2021-09-02 16:50:40 +00:00
rbd_journal.go rbd: check for clusterid mapping in RegenerateJournal() 2021-09-01 09:40:24 +00:00
rbd_util_test.go rbd: move GetMappedID() to util package 2021-09-01 09:40:24 +00:00
rbd_util.go util: modify GetMonsAndClusterID() to take clusterID instead of options 2021-09-14 12:56:12 +00:00
replicationcontrollerserver_test.go rbd: consider empty mirroring mode 2021-08-10 12:55:41 +00:00
replicationcontrollerserver.go rbd: Report errors when a resync maybe in progress 2021-09-15 17:48:40 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00