Project

General

Profile

Actions

Bug #11712

closed

Katello agent can not be installed on Oracle Linux 7.x

Added by Wolfram Strauss over 9 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

The katello agent can not be installed on Oracle Linux 7.x. The katello agent relies on the subscription manager which can be pulled in on non RedHat Enterprise Linux systems from third party repositories (https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager). This works for Oracle Linux 6.x but the subscription manager fails to install on Oracle Linux 7.x since Oracle modified the package rhn-client-tools an set the obselete tag to subscription-manager.

# yum install subscription-manager
Package subscription-manager-1.16.2-1.el7.centos.x86_64 is obsoleted by rhn-client-tools-2.0.2-6.0.8.el7.noarch which is already installed
Nothing to do

This results in katello agent no being install-able on Oracle Linux 7.x.

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Status changed from New to Rejected
  • Assignee set to Justin Sherrill
  • Difficulty set to easy
  • Triaged changed from No to Yes

I do not believe there is anything we can do about this. I only see two ways for you to proceed:

a) remove rhn-client-tools and anything that depends on it
or
b) convince oracle to stop obsolete subscription-manager

My guess is oracle chose to obsolete subscription-manager in order to make migration of rhel7 hosts to their update service easier. There really isn't any reason these tools can't live side by side though.

Going ahead and closing this as we really can't do anything about it. Feel free to reopen if I am wrong :)

Actions #2

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 166
Actions #3

Updated by Jason Nance over 8 years ago

I was able to successfully register OEL (6 & 7) hosts to Katello using the following process (which is basically what JSherrill suggested in option 'a'):

In your Katello OEL content view add a filter which excludes:

rhn-check
rhn-client-tools
rhn-setup
rhn-setup-gnome
rhnlib
rhnsd
yum-rhn-plugin
yum-plugin-ulninfo

You will need to sync the Copr - dgoodwin repository that has subscription manager (and dependencies) for EL 6 and 7:

https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager/epel-6-x86_64/
https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager/epel-7-x86_64/

Thankfully dgoodwin builds this for EL 7 even though it shouldn't be necessary.

On your OEL host you will need to remove the packages listed above, then install katello-ca-consumer-latest (from your Katello host), python-dateutil, python-rhsm, and subscription-manager. Depending on how you build hosts and such this may mean doing a curl/wget to pull the packages locally or "yum install http://...". You may then do a normal 'subscription-manager register' to your OEL content view.

Actions

Also available in: Atom PDF