From 75298197ceac340e0e60bb4685bdbb504e826114 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 30 Jun 2025 16:36:24 -0700 Subject: [PATCH] Remove cisco openh264 repo on all Fedora systems We used to do this only on builders, but right now it's causing problems on all hosts during the infra move: 2025-06-30T23:35:32+0000 INFO Serious error - Curl code (28): Timeout was reached for https://kojipkgs.fedoraproject.org/repos-dist/f42-infra/latest/x86_64/repodata/repomd.xml [Connection timed out after 30001 milliseconds] and we don't actually need this repo for any infra systems, I don't think. Let's just disable it for every Fedora host. Signed-off-by: Adam Williamson --- roles/koji_builder/tasks/main.yml | 5 ----- tasks/yumrepos.yml | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 394a521190..f002c2297b 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -63,11 +63,6 @@ tags: - koji_builder -- name: Remove openh264 repo, because it's external and oz suggests it - ansible.builtin.copy: - content: '# No external data' - dest: /etc/yum.repos.d/fedora-cisco-openh264.repo - - name: Install packages needed by koji_builders ansible.builtin.package: state: present diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 1b1ddcec7e..6f806d6991 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -165,6 +165,12 @@ ansible.builtin.command: "dnf -y install python3-dnf" when: "p3dnf.rc != 0" +- name: Remove cisco repository to avoid issues with it, nothing in infra needs it + ansible.builtin.copy: + content: '# Unneeded, causes problems sometimes, and builders especially should use no external data' + dest: /etc/yum.repos.d/fedora-cisco-openh264.repo + when: "ansible_distribution == 'Fedora' + - name: Put RabbitMQ CentOS-9 SIG repos on el systems ansible.builtin.copy: src="{{ files }}/common/centos9s-rabbitmq38.repo" dest="/etc/yum.repos.d/centos9s-rabbitmq38.repo" when: inventory_hostname.startswith('rabbitmq') and (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int == 9