diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-10-30 10:47:03 -0400 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-10-30 10:47:03 -0400 |
commit | fac20bb529215737014ab47b8e0aeaa64f88c7a6 (patch) | |
tree | da2e7b7a0fe9aaed15f72ea957416424b0288e64 /roles/openshift_node/tasks | |
parent | 2d0365bfabc225dcb91a0df9f37ecda2bd606602 (diff) | |
download | openshift-fac20bb529215737014ab47b8e0aeaa64f88c7a6.tar.gz openshift-fac20bb529215737014ab47b8e0aeaa64f88c7a6.tar.bz2 openshift-fac20bb529215737014ab47b8e0aeaa64f88c7a6.tar.xz openshift-fac20bb529215737014ab47b8e0aeaa64f88c7a6.zip |
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 |