kolla-ansible/releasenotes/notes/image-pull-retries-75490c3e6e1e4b54.yaml
Radosław Piliszek 018710221a 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
(cherry picked from commit cbb567cb86)
2021-08-23 13:27:15 +00:00

10 lines
430 B
YAML

---
features:
- |
Adds two new variables ``service_images_pull_retries`` and
``service_images_pull_delay`` which control the behaviour of image
pulling tasks. These are useful if your registry is not 100%
reliable (usually due to load). The defaults have been set to
3 retries and 5 seconds delay to ensure a better default experience
(these are actually Ansible defaults when task retries are enabled).