Skip to content

Ignore ansible install errors on ALTS x86_64 workers - #50

Merged
anfimovdm merged 1 commit into
masterfrom
al-alts-ignore-ansible-install-errors
Oct 29, 2026
Merged

anfimovdm merged 1 commit into
masterfrom
al-alts-ignore-ansible-install-errors

Conversation

@anfimovdm

Copy link
Copy Markdown
Contributor

Resolves AlmaLinux/build-system#565

Summary

EPEL's ansible package needs ansible-core from AppStream, which the AlmaLinux 8 i686 repositories don't ship:

nothing provides python3.12dist(ansible-core) >= 2.16.3 needed by ansible-9.2.0-1.el8.noarch from epel

so every i686 task that needs pytest fails the initial provision. Prod used to ignore this error with a local patch to the playbooks, which is now replaced by the ignore_ansible_install_errors worker option, false by default.

Changes

  • inventories/alts/group_vars/celery_x86_64.yml: set ignore_ansible_install_errors: true. i686 tasks run on the x86_64 workers, so the option is enabled for that group only, next to the i386 docker_image_overrides.

alts_service_config.yaml.j2 already renders the option, so no template changes are needed.

Testing

  • ansible -m debug -a var=ignore_ansible_install_errors against both ALTS inventories: true on every celery_x86_64 host, undefined on the aarch64, s390x and ppc64le workers.
  • With the option enabled, the current alts playbook on an AlmaLinux 8 i686 container fails "Install ansible" with the error above and ignores it, and the provision continues.

EPEL's ansible package needs ansible-core from AppStream, which the
AlmaLinux 8 i686 repositories don't ship, so every i686 task that needs
pytest failed the initial provision. Prod used to ignore this with a
local patch that is now replaced by the worker config option.

Resolves: AlmaLinux/build-system#565
@anfimovdm
anfimovdm merged commit 8409d97 into master Oct 29, 2026
3 checks passed
@anfimovdm
anfimovdm deleted the al-alts-ignore-ansible-install-errors branch October 29, 2026 16:12
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.

ALTS: AlmaLinux 8 i686 docker tests fail provisioning when vault.almalinux.org is unreachable

1 participant