Bug #14189
closedkatello-client installation fails with https error 404
Description
After yum installing the 2.4 Katello client repos (I've tried this with both katello-client-repos-latest.rpm and katello-client-repos-2.4.0-2.nightly.el7.noarch.rpm from https://fedorapeople.org/groups/katello), yum install -y katello client fails with this error on RHEL 7.2 Workstation:
https://fedorapeople.org/groups/katello/releases/yum/nightly/client/RHEL/7Workstation/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
When I try this URL in my browser it does 404. However, installation of katello-client on RHEL 7.2 Server succeeds, and I notice that the URL https://fedorapeople.org/groups/katello/releases/yum/nightly/client/RHEL/7Server/x86_64/repodata/repomd.xml exists.
I appreciate any help you can offer on this issue.
Updated by Cameron Berkley over 8 years ago
Output from foreman-debug:
HOSTNAME: [redacted]
OS: redhat
RELEASE: CentOS Linux release 7.2.1511 (Core)
FOREMAN: 1.10.2
RUBY: ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
PUPPET: 3.8.6
DENIALS: 0
Updated by Eric Helms over 8 years ago
- Status changed from New to Need more information
- Translation missing: en.field_release set to 150
Looks like the URL is resolving $releasever (https://github.com/Katello/katello-packaging/blob/master/repos/katello-client.repo#L5) as 7Workstation where we have only published the client repos at 7 and 7Server (https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/).
A work around would be to set this in the repo file yourself after downloading. I can look into publishing under 7Workstation as well if manual patching breaks automation?
Updated by Eric Helms over 8 years ago
- Status changed from Need more information to Ready For Testing
- Translation missing: en.field_release changed from 150 to 86
Cameron,
We are going to move our repo setup to be dist based and update your repo files to drop releasever to make them more universally usable. That means instead of publishing '7' and '7Server' we will publish 'el7' hard coded in the repo path. Right now we are only targeting this change for nightly and 3.0. If you find you really need this for 2.4 please let use know and we can revisit a solution for 2.4.
Updated by Eric Helms over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-packaging|014dbb3fe7aff2714954863b4b3f85b99d19cd2e.
Updated by Cameron Berkley over 8 years ago
Eric, thank you for being so responsive. This is not a high priority issue for me so the workaround will do just fine. I appreciate it.