mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-28 01:36:41 +00:00
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 64a9b1fa5906d65478cdb5fb244b133bc1b1cfbe)