Skip to content

Commit d344941

Browse files
committed
check MCP status in unpause worker
1 parent 18e82d8 commit d344941

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

ci-operator/step-registry/cucushift/upgrade/cpou/unpause-worker-mcp/cucushift-upgrade-cpou-unpause-worker-mcp-commands.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,5 @@ do
100100
printf "\n"
101101
unpause ${mcp}
102102
printf "\n"
103-
if [[ "${current_minor_ver}" -lt "19" ]] && [[ $(oc get nodes -l node.openshift.io/os_id=rhel) != "" ]]; then
104-
echo "Found rhel worker, this step is supposed to be used in eus upgrade, skipping mcp checking here, need to check it after rhel worker upgraded..."
105-
run_command "oc get machineconfigpools"
106-
run_command "oc get node -owide"
107-
else
108-
check_mcp ${mcp} "True"
109-
fi
110-
done
103+
check_mcp ${mcp} "True"
104+
done

0 commit comments

Comments
 (0)