Project

General

Profile

Actions

Bug #14189

closed

katello-client installation fails with https error 404

Added by Cameron Berkley about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Cameron Berkley about 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
Actions #2

Updated by Eric Helms about 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?

Actions #3

Updated by Eric Helms about 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.

Actions #4

Updated by Eric Helms about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Cameron Berkley about 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.

Actions

Also available in: Atom PDF