katello-agent installation for Satellite 6.1 Beta client

Latest response

I appreciate this is Beta but I am interested to know if anyone has a had similar issues with installation/configuration.

I recently installed Satellite 6.1 Beta on a single server for PoC purposes. I have successfully subscribed the server to the RHEL 7.1 channels, downloaded content from Red Hat repositories etc.

I have a single RHEL 7.1 client that I have subscribed using subscription-manager (can access RH content from the Sat 6.1 server) and I want to manually configure/install the katello-agent, this is where is starts going off the rails a little.

Following the documentation it asks to install katello-agent package which wasn't available in the mainline RH channels, so I added the Red Hat Repository for 'RH Common' and installed the katello-agent package (1.5.3), which failed to start with the following error appearing in the logs:

goferd[9037]: [WARNING][Thread-2] qpid.messaging:453 - recoverable error[attempt 7]: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

Following up in Bugzilla it appears that the protocol for katello-agent has been changed in the 6.1 update which breaks the current stable client connectivity to the 6.1 server, resulting in this error. I have now manually removed the katello-agent (1.5.3) and located the katello-agent package (2.2.5) in the "Red Hat Satellite 6 Beta (v. 6.1.0 Beta for RHEL 7 for x86_64)" channel in RHN, my issue is making this content available to my RHEL7.1 client.

Responses

I added 'RH Common Beta' repository to my Satellite server and subscribing the client to this but it unfortunately only had 1.5.3 as well, eventually found the required package in 'Red Hat Satellite Tools 6 Beta for RHEL 7 Server RPMs x86_64'.

This issue is detailed in the associated Bugzilla (in case anyone else comes across it)
https://bugzilla.redhat.com/show_bug.cgi?id=1220696

Hello and thank you for the report - we're addressing this in documentation that katello-agent needs to be updated manually for Satellite 6.0->6.1 upgrade (BZ #1221174).

Hi Xixi,

User Guide for 6.1 outlines the following under 12.3.2 Installing The Katello Agent / Prerequisites which I think also needs attention:

The Red Hat Common repository must be enabled in the Red Hat Satellite Server as it provides the required packages.

Agent compatibility breakage in a point release (of Satellite) is a little concerning.

This has been fixed in the User Guide as part of this bug:
Bug 1129841 - [doc] Missing information on katello-agent and its use


The Satellite Tools repository must be enabled in the Red Hat Satellite server as it provides the required packages. To verify if the repository is enabled, execute the following command on the Satellite server:

# yum repolist enabled | grep -i satellite-tools

Hi,
The new katello-agent package is actually in the repo "Red Hat Satellite Tools 6.1 for RHEL 7 Server RPMs x86_64" now.

run this:

if grep "release 7" /etc/redhat-release >/dev/null ;then 
subscription-manager repos --disable=rhel-7-server-rh-common-rpms
subscription-manager repos --enable=rhel-7-server-satellite-tools-6.1-rpms
elif grep "release 6" /etc/redhat-release >/dev/null ;then 
subscription-manager repos --disable=rhel-6-server-rh-common-rpms 
subscription-manager repos --enable=rhel-6-server-satellite-tools-6.1-rpms
elif grep "release 5" /etc/redhat-release >/dev/null ;then 
subscription-manager repos --disable=rhel-5-server-rh-common-rpms
subscription-manager repos --enable=rhel-5-server-satellite-tools-6.1-rpms
fi
yum -y install katello-agent

This chicken and egg thing is very frustrating - can't use the new satellite w/o katello, but all the advice is to use the satellite to install katello. Isn't there a simple FTP site where I can get this and the few other packages needed to get satellite up ?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.