Fresh Katelllo 4.2 install no longer works

After my installation went south (not exactly sure what happened, but some incoming yum updates of my 4.2.2 install wrecked things somehow), I have decided to rebuild my 4.2 system from the ground up.

There seems to be some major issues with package availability/conflicts causing the 4.2 install to fail now. Guess I’m going to have to try 4.3.x…

2022-04-19 11:10:23 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-04-19 11:10:25 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-04-19 11:10:25 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-04-19 11:10:26 [NOTICE] [configure] Starting system configuration.
2022-04-19 11:11:04 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install katello’ returned 1: Error:
2022-04-19 11:11:04 [ERROR ] [configure] Problem: package katello-4.2.2-1.el8.noarch requires candlepin >= 2.0, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - package candlepin-4.1.5-1.el8.noarch requires tomcatjss >= 7.2.1-7.1, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - package candlepin-4.1.7-1.el8.noarch requires tomcatjss >= 7.2.1-7.1, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - cannot install the best candidate for the job
2022-04-19 11:11:04 [ERROR ] [configure] - package tomcatjss-7.7.0-1.module+el8.5.0+701+8dc610e5.noarch is filtered out by modular filtering
2022-04-19 11:11:04 [ERROR ] [configure] /Stage[main]/Katello/Package[katello]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello’ returned 1: Error:
2022-04-19 11:11:04 [ERROR ] [configure] Problem: package katello-4.2.2-1.el8.noarch requires candlepin >= 2.0, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - package candlepin-4.1.5-1.el8.noarch requires tomcatjss >= 7.2.1-7.1, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - package candlepin-4.1.7-1.el8.noarch requires tomcatjss >= 7.2.1-7.1, but none of the providers can be installed
2022-04-19 11:11:04 [ERROR ] [configure] - cannot install the best candidate for the job
2022-04-19 11:11:04 [ERROR ] [configure] - package tomcatjss-7.7.0-1.module+el8.5.0+701+8dc610e5.noarch is filtered out by modular filtering
2022-04-19 11:11:04 [NOTICE] [configure] 250 configuration steps out of 1900 steps complete.
2022-04-19 11:12:46 [NOTICE] [configure] 500 configuration steps out of 1902 steps complete.
2022-04-19 11:13:26 [NOTICE] [configure] 1000 configuration steps out of 1910 steps complete.
2022-04-19 11:13:29 [NOTICE] [configure] 1250 configuration steps out of 1931 steps complete.

Note this (see link) is what I was following (and how this particular instance of katello was built in the first place).

This once worked flawlessly, but now fails. I believe the introduction of a very new katello package now requires stuff that’s not there yet in the matching foreman repo?

https://docs.theforeman.org/3.0/Installing_Server_on_Red_Hat/index-katello.html

Side note: I did go ahead and re-do this failed install using the directions for 4.3.x; that seems to have worked. No conflicts withe the katello 4.3/foreman 3.1 setup.

Not clear yet if my backups of data from 4.2 will work, I am waiting for a ton of stuff to rsync back first before I can attempt that.

Side note for anyone watching: Importing the backups worked, so yay :slight_smile:

1 Like

Yeah, you have to match the Katello version with its corresponding Foreman version or things don’t work well. We should probably make that clearer somewhere…

Um, I was following a specific published guide. No random mixing of versions…

NOTE TO ALL:

This is due to the requirement of enabling the pki-core dnf module; this step is sadly still missing from the documentation.