Add ability to retry image pulling
Sometimes, the registries may intermittently fail to deliver the images. This is often seen in the CI, though it also happens with production deployments, even those with internal registries and/or registry mirrors - due to sheer load when trying to pull the images from many hosts. This patchs adds two new vars to control retry behaviour. The default has been set to make users happier by default. :-) Change-Id: I81ad7d8642654f8474f11084c6934aab40243d35
Showing
- ansible/roles/service-images-pull/defaults/main.yml 7 additions, 0 deletionsansible/roles/service-images-pull/defaults/main.yml
- ansible/roles/service-images-pull/tasks/main.yml 4 additions, 0 deletionsansible/roles/service-images-pull/tasks/main.yml
- ansible/roles/swift/defaults/main.yml 6 additions, 0 deletionsansible/roles/swift/defaults/main.yml
- ansible/roles/swift/tasks/pull.yml 24 additions, 0 deletionsansible/roles/swift/tasks/pull.yml
- releasenotes/notes/image-pull-retries-75490c3e6e1e4b54.yaml 9 additions, 0 deletionsreleasenotes/notes/image-pull-retries-75490c3e6e1e4b54.yaml
Loading
Please register or sign in to comment