ceph-csi/internal
Shyamsundar Ranganathan c2280011d1 rbd: Report remote peer readiness if Up and status.Unknown
Current code uses an !A && !B condition incorrectly to
test A:Up and B:status for a remote peer image.

This should be !A || !B as we require both conditions to
be in the specified state (Up: true, and status Unknown).

This is corrected by this commit, and further fixes:
- check and return ready only when a remote site is
found in the status output
- check if all peer sites are ready, if multiple are found
and return ready appropriately

Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
2022-08-09 05:32:15 +00:00
..
cephfs cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
csi-common util: use k8s.io/mount-utils/NewWithoutSystemd() to prevent logging 2022-08-04 09:53:07 +00:00
journal cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
kms rbd: create token and use it for vault SA 2022-06-17 11:37:59 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs nfs: make DeleteVolume (more) idempotent 2022-08-03 19:43:16 +00:00
rbd rbd: Report remote peer readiness if Up and status.Unknown 2022-08-09 05:32:15 +00:00
util cleanup: create k8s.io/mount-utils Mounter only once 2022-07-21 07:14:43 +00:00