rbd: no option to cancel the stuck rbd force promote operation
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 617
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 43
Description
Problem:-
During the failover operation, the volume replication tries image promote action to make the rbd image as primary if the promote operation fails it calls promote again with force operation. In some cases, the force promote hangs indefinitely and never returns back because we are using the go-ceph API and there is no step to cancel the ongoing operations and the only option to get out of it is to restart the rbd provisioner pod. the indefinite hang might be due to the bug in RBD (still investigation is going on)
Workaround:-
The force promote operation should be executed with a timeout so that the command never gets hang and follow-up API calls can force promote the volume.
similar issues:- https://github.com/ceph/ceph-csi/issues/553
upstream ceph tracker: https://tracker.ceph.com/issues/52913 https://bugzilla.redhat.com/show_bug.cgi?id=2030752
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.