diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-10-31 09:53:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 09:53:25 -0700 |
commit | 3e2f7911f08504e7da8344df28f008a81897c329 (patch) | |
tree | d69b1c0df70f3ebaf15b5bda85ef03d9896f16a6 /roles/openshift_node/tasks | |
parent | 826455338b15c82cee16656b90e4689cf1b9a165 (diff) | |
parent | fac20bb529215737014ab47b8e0aeaa64f88c7a6 (diff) | |
download | openshift-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_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/registry_auth.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/registry_auth.yml b/roles/openshift_node/tasks/registry_auth.yml index de396fb4b..5e5e4f94a 100644 --- a/roles/openshift_node/tasks/registry_auth.yml +++ b/roles/openshift_node/tasks/registry_auth.yml @@ -11,6 +11,9 @@ - oreg_auth_user is defined - (not node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace) | bool register: node_oreg_auth_credentials_create + retries: 3 + delay: 5 + until: node_oreg_auth_credentials_create.rc == 0 notify: - restart node |