Repository navigation
Ignore ansible install errors on ALTS x86_64 workers - #50
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves AlmaLinux/build-system#565
Summary
EPEL's
ansiblepackage needsansible-corefrom AppStream, which the AlmaLinux 8 i686 repositories don't ship: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_errorsworker option,falseby default.Changes
inventories/alts/group_vars/celery_x86_64.yml: setignore_ansible_install_errors: true. i686 tasks run on the x86_64 workers, so the option is enabled for that group only, next to the i386docker_image_overrides.alts_service_config.yaml.j2already renders the option, so no template changes are needed.Testing
ansible -m debug -a var=ignore_ansible_install_errorsagainst both ALTS inventories:trueon everycelery_x86_64host, undefined on the aarch64, s390x and ppc64le workers.