Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem: pulp_installer devel role CI is failing on CentOS 8 Stream
Browse files Browse the repository at this point in the history
with a module metadata error for the dependency criu.

Solution: Ignore errors when ansible reports the distro OS as
8.1. We will remove this once CentOS 8.2 is GA, and this only affects
the devel role, so a workaround like this will hopefully be palatable.

fixes: #6509
  • Loading branch information
mikedep333 committed Apr 16, 2020
1 parent 3725e0d commit 1f535c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/pulp-devel/tasks/install_podman.yml
Expand Up @@ -23,6 +23,9 @@
retries: "{{ pulp_devel_package_retries }}"
register: result
until: result is succeeded
# Because of this error on CentOS Stream (pre-8.2):
# No available modular metadata for modular package 'criu-3.12-9.module_el8.1.0+293+ad8ef41f.x86_64', it cannot be installed on the system
ignore_errors: '{{ ansible_distribution_version == "8.1" }}'

- name: Adding podman registries (Debian-specific)
command: echo -e "[registries.search]\nregistries = ['docker.io', 'quay.io']" | tee /etc/containers/registries.conf
Expand Down

0 comments on commit 1f535c4

Please sign in to comment.