diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-11-01 13:24:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 13:24:41 -0700 |
commit | cb27e144520c4cd108189aaf38d95deaa8a6fa6c (patch) | |
tree | a5821145dd0077aead3ccc5e5215a847142ba620 | |
parent | 5bfc68706be9127199a3f3f06e04588720ed50f5 (diff) | |
parent | 9091f508da1d4bc99d7f2abdf3ce09996f1e011e (diff) | |
download | openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.gz openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.bz2 openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.tar.xz openshift-cb27e144520c4cd108189aaf38d95deaa8a6fa6c.zip |
Merge pull request #5971 from smarterclayton/retry_create
Automatic merge from submit-queue.
Retry service account bootstrap kubeconfig creation
Pulled back from the larger refactor so this job can be enabled.
@kwoodson back porting so I can turn the job on
-rw-r--r-- | roles/openshift_master/tasks/bootstrap.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/bootstrap.yml b/roles/openshift_master/tasks/bootstrap.yml index 1c30c1dea..f837a8bae 100644 --- a/roles/openshift_master/tasks/bootstrap.yml +++ b/roles/openshift_master/tasks/bootstrap.yml @@ -4,6 +4,9 @@ - name: create service account kubeconfig with csr rights command: "oc serviceaccounts create-kubeconfig node-bootstrapper -n openshift-infra" register: kubeconfig_out + until: kubeconfig_out.rc == 0 + retries: 24 + delay: 5 - name: put service account kubeconfig into a file on disk for bootstrap copy: |