Skip to content

Retry all package installations on mirror errors - #233

Merged
anfimovdm merged 1 commit into
AlmaLinux:masterfrom
eabdullin1:ansible-pkg-retries
Oct 23, 2026
Merged

anfimovdm merged 1 commit into
AlmaLinux:masterfrom
eabdullin1:ansible-pkg-retries

Conversation

@eabdullin1

Copy link
Copy Markdown
Contributor

Only "Install RPM package" used the shared retry policy of the playbook, so mirror hiccups still failed the provisioning, e.g. "Update all packages" with "Failed to download metadata for repo 'epel': Cannot download repomd.xml: ... All mirrors were tried" (ALBS build 94195).

Opt in the rest of the tasks that install or update packages: in the RPM provisioning epel-release, the update of all packages, the additional packages and ansible; in the Debian provisioning the update of all packages and of the apt metadata, buster-backports and the additional packages; and enabling the module and installing a DEB package of the tested package. Uninstallation keeps its own retries.

Only "Install RPM package" used the shared retry policy of the playbook,
so mirror hiccups still failed the provisioning, e.g. "Update all
packages" with "Failed to download metadata for repo 'epel': Cannot
download repomd.xml: ... All mirrors were tried" (ALBS build 94195).

Opt in the rest of the tasks that install or update RPM packages: in
the provisioning epel-release, the update of all packages, the
additional packages and ansible, and enabling the module of the tested
package. Uninstallation keeps its own retries.
@anfimovdm
anfimovdm merged commit f68d1d5 into AlmaLinux:master Oct 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants