ceph-csi/internal/rbd
Madhu Rajanna d7838defcf rbd: return FailedPrecondition error message
In case of the DR the image on the primary site cannot be
demoted as the cluster is down, during failover the image need
to be force promoted. RBD returns `Device or resource busy`
error message if the image cannot be promoted for above reason.
Return FailedPrecondition so that replication operator can send
request to force promote the image.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-04-06 14:12:41 +00:00
..
clone.go cleanup: correct misspelling in rbd/clone.go 2021-04-05 09:34:09 +00:00
controllerserver.go rbd: Add ReplicationServer struct for replication operations 2021-04-05 08:53:40 +00:00
driver.go rbd: Add ReplicationServer struct for replication operations 2021-04-05 08:53:40 +00:00
encryption.go util: move GetID() from EncryptionKMS to VolumeEncryption 2021-03-24 12:09:04 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
mirror.go rbd: check for peer site status 2021-04-05 08:53:40 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_attach.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_journal.go util: move GetID() from EncryptionKMS to VolumeEncryption 2021-03-24 12:09:04 +00:00
rbd_util_test.go rbd: add exclusive-lock and journaling image features for rbd image 2021-03-24 09:48:04 +00:00
rbd_util.go rbd: add exclusive-lock and journaling image features for rbd image 2021-03-24 09:48:04 +00:00
replicationcontrollerserver.go rbd: return FailedPrecondition error message 2021-04-06 14:12:41 +00:00
snapshot.go cleanup: rename rbdSnapshot.SnapID to VolID 2021-03-15 08:10:51 +00:00