Skip to content

Commit

Permalink
ignore osd pods in the health check (#56341)
Browse files Browse the repository at this point in the history
  • Loading branch information
heliubj18 authored Sep 7, 2024
1 parent 25fbbf4 commit d3d9339
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ function check_pod_status {
echo "Pod $pod in namespace $namespace has status $status, which is not valid."
return 1
fi
done < <(oc get pod --all-namespaces --no-headers | grep -v "azure-path-fix")
# ignore osd pods in for rosa hcp since it takes a very long time to recover for some reason.
done < <(oc get pod --all-namespaces --no-headers | grep -v "azure-path-fix" | grep -v "osd-delete-backplane")
echo "All pods are in the expected state."
return 0
}
Expand Down

0 comments on commit d3d9339

Please sign in to comment.