commit 77d3f04ee4ab8236313b08aa6f0cca8864629382
Author: Heitor Matsui <email address hidden>
Date: Sat Jun 18 14:43:04 2022 -0300
Wait for nginx pod and service on restore
While trying to install armada on a restore scenario, helm
may return a connection refused error because the ingress
resource creation triggers a webhook that may not be ready at
that moment. The webhook is related to nginx pod and services.
This commit adds a step to check if nginx pod and service are
ready and, if not, wait up to 60s for them to be up and ready.
Test Plan
PASS: run AIO-SX backup and restore successfully
PASS: run AIO-SX fresh install, bootstrap and unlock successfully
PASS: run AIO-SX upgrade successfully
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/846471 /opendev. org/starlingx/ ansible- playbooks/ commit/ 77d3f04ee4ab823 6313b08aa6f0cca 8864629382
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 77d3f04ee4ab823 6313b08aa6f0cca 8864629382
Author: Heitor Matsui <email address hidden>
Date: Sat Jun 18 14:43:04 2022 -0300
Wait for nginx pod and service on restore
While trying to install armada on a restore scenario, helm
may return a connection refused error because the ingress
resource creation triggers a webhook that may not be ready at
that moment. The webhook is related to nginx pod and services.
This commit adds a step to check if nginx pod and service are
ready and, if not, wait up to 60s for them to be up and ready.
Test Plan
PASS: run AIO-SX backup and restore successfully
PASS: run AIO-SX fresh install, bootstrap and unlock successfully
PASS: run AIO-SX upgrade successfully
Closes-bug: 1978899 57fd5b6b9cfcebc 1f4fab6cb36
Change-Id: Iffbfd1b06b61b0
Signed-off-by: Heitor Matsui <email address hidden>