Katello Host Tools EL5 client support

Hey folks,

I’ve been investigating a breakage in katello-host-tools for our EL5 tests[1]. They use a container to set up the environment using our repos just like an actual client would and that’s where things have gone wrong.

The container is using an older version of the client repos[2] hosted at repos.fedorapeople.org It’s no longer possible to install that RPM because that domain not only dropped tlsv1 support but also forces a redirect from HTTP to HTTPS so we seemingly can’t avoid it.

No problem, just update to the latest foreman-client repo[3], right? No luck there either because while we can avoid TLS on yum.theforeman.org the EL5 client repo lacks katello-agent and the provided subscription-manager repository it installs uses repos.fedorapeople.org as well.

As things are right now katello-host-tools can’t be set up on EL5 clients without a lot of manual effort which contradicts our documentation. My thinking is that we should either drop EL5 support for katello-host-tools & katello-agent altogether or come up with a plan to get things working again. And that is where I’d like your input!

[1] https://github.com/Katello/katello-host-tools/pull/97
[2] https://github.com/Katello/katello-host-tools/blob/81a5beb35b1ebfffd1421b4b08d90bd91b94b203/images/Dockerfile.el5#L3
[3] https://yum.theforeman.org/client/1.22/el5/x86_64/

Could we just document that for el5 you need to sync the tools repo to
Katello and then point your system at the http:// version of the repo?
(or subscribe with sub-man and then use the katello https:// url as normal)

Justin

That’s not a bad idea. I’m going to mull it over some more :slight_smile: