We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc22462 + da4fab7 commit 26b3a2fCopy full SHA for 26b3a2f
ansible/roles/csi_cephfs_fyre/files/csi-ceph.sh
@@ -83,10 +83,10 @@ echo "Exit from cluster.yaml $?"
83
84
num_worker_nodes=$(oc get no | tr -s ' ' | cut -f3 -d' ' | grep worker | wc -l)
85
echo "Check for the number of ceph nodes running is equal to numbers of worker nodes - wait up to 2 hour"
86
-ceph_sleep_count=120
+ceph_sleep_count=60
87
while [[ $ceph_sleep_count -ne 0 ]]; do
88
num_ceph_nodes=$(oc get po -n rook-ceph | grep rook-ceph-osd | grep -v prepare | grep -e Running | wc -l)
89
- if [[ $num_worker_nodes -ne $num_ceph_nodes ]] ; then
+ if [[ $num_ceph_nodes -ge $num_worker_nodes ]] ; then
90
echo "Waiting for ceph nodes to come active"
91
sleep 1m
92
((ceph_sleep_count--))
0 commit comments