summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-31 09:53:25 -0700
committerGitHub <noreply@github.com>2017-10-31 09:53:25 -0700
commit3e2f7911f08504e7da8344df28f008a81897c329 (patch)
treed69b1c0df70f3ebaf15b5bda85ef03d9896f16a6 /roles/openshift_master/tasks
parent826455338b15c82cee16656b90e4689cf1b9a165 (diff)
parentfac20bb529215737014ab47b8e0aeaa64f88c7a6 (diff)
downloadopenshift-3e2f7911f08504e7da8344df28f008a81897c329.tar.gz
openshift-3e2f7911f08504e7da8344df28f008a81897c329.tar.bz2
openshift-3e2f7911f08504e7da8344df28f008a81897c329.tar.xz
openshift-3e2f7911f08504e7da8344df28f008a81897c329.zip
Merge pull request #5932 from mgugino-upstream-stage/retry-docker-creds
Automatic merge from submit-queue. Add retry logic to docker auth credentials This commit enables retry on docker login commands. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506931
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/registry_auth.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/registry_auth.yml b/roles/openshift_master/tasks/registry_auth.yml
index 63d483760..cde01c49e 100644
--- a/roles/openshift_master/tasks/registry_auth.yml
+++ b/roles/openshift_master/tasks/registry_auth.yml
@@ -11,6 +11,9 @@
- oreg_auth_user is defined
- (not master_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace) | bool
register: master_oreg_auth_credentials_create
+ retries: 3
+ delay: 5
+ until: master_oreg_auth_credentials_create.rc == 0
notify:
- restart master api
- restart master controllers