shiftstack / dev-install

13 stars 16 forks source link

rhsm install fails with eus repositories #226

Open gprocunier opened 5 months ago

gprocunier commented 5 months ago

Tried a build today and got stuck with the following error on the install dnf-utils task:

[root@rhos-17-1 ~]# dnf install dnf-utils
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStream - Extended Update Support (RPMs)                                                                                                                            19  B/s |  10  B     00:00    
Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-eus-rpms':
  - Status code: 404 for https://cdn.redhat.com/content/eus/rhel9/9/x86_64/appstream/os/repodata/repomd.xml (IP: 23.60.144.251)
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-eus-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Probably related to this: https://access.redhat.com/solutions/7016067

Removing the eus repos and using the non eus variant solves it via local-override.

rhsm_repos:
  - rhel-9-for-x86_64-baseos-rpms
  - rhel-9-for-x86_64-appstream-rpms
  - rhel-9-for-x86_64-highavailability-rpms
  - openstack-17.1-for-rhel-9-x86_64-rpms
  - fast-datapath-for-rhel-9-x86_64-rpms
  - rhceph-6-tools-for-rhel-9-x86_64-rpms