From 55233357ab3bcdc6e0517e463688b5094f77df1c Mon Sep 17 00:00:00 2001 From: OC Travis Date: Thu, 22 Apr 2021 11:47:53 -0500 Subject: [PATCH 1/2] check error to failed --- ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml b/ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml index 531eb848a..fa7badb9f 100644 --- a/ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml +++ b/ansible/roles/request_ocp_fyre/tasks/request-ocpplus-fyre.yml @@ -62,7 +62,7 @@ return_content: yes changed_when: false register: cluster_status_response - until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "error") + until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "failed") retries: 600 delay: 20 From 7b036ad95513df984f64eba0fda7ba4e9c4347da Mon Sep 17 00:00:00 2001 From: OC Travis Date: Thu, 22 Apr 2021 11:57:48 -0500 Subject: [PATCH 2/2] change error to failed --- ansible/roles/request_ocp_fyre/tasks/request-quickburn-fyre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/request_ocp_fyre/tasks/request-quickburn-fyre.yml b/ansible/roles/request_ocp_fyre/tasks/request-quickburn-fyre.yml index 8eb13fa5f..7ddddff4b 100644 --- a/ansible/roles/request_ocp_fyre/tasks/request-quickburn-fyre.yml +++ b/ansible/roles/request_ocp_fyre/tasks/request-quickburn-fyre.yml @@ -58,7 +58,7 @@ return_content: yes changed_when: false register: cluster_status_response - until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "error") + until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "failed") retries: 600 delay: 20