Skip to content

Commit

Permalink
rm Deprovision on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bdattoma committed Oct 14, 2024
1 parent dc6e870 commit b81017e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ods_ci/tasks/Resources/Provisioning/Hive/provision.robot
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,8 @@ Wait For Cluster To Be Ready
${provision_status} = Run Process oc -n ${pool_namespace} get cd ${clusterdeployment_name} -o json shell=yes # robocop: disable:line-too-long
${custer_status} = Run Process oc -n ${hive_namespace} get clusterclaim ${claim_name} -o json shell=yes
Log Cluster '${cluster_name}' deployment had errors, see: ${\n}${provision_status.stdout}${\n}${custer_status.stdout} level=ERROR # robocop: disable:line-too-long
Log Cluster '${cluster_name}' install completed, but it is not accessible - Cleaning Hive resources now
Log Cluster '${cluster_name}' install completed, but it is not accessible
... console=True
Deprovision Cluster
FAIL Cluster '${cluster_name}' provisioning failed. Please look into the logs for more details.
END
Log Cluster '${cluster_name}' install completed and accessible at: ${web_access.stdout} console=True
Expand Down

0 comments on commit b81017e

Please sign in to comment.