Migrate:db error while reconfiguring foreman

And rubygem-katello is broken in 4.4. :frowning:

I’m not seeing it in the list of modules.

[@foreman001 ~]$ sudo dnf install katello*
Last metadata expiration check: 0:11:25 ago on Fri 08 Jul 2022 10:19:54 AM CDT.
Package katello-repos-4.6-0.3.nightly.el8.noarch is already installed.
Error: 
 Problem: package katello-4.4.1-1.el8.noarch requires rubygem-katello, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package rubygem-katello-4.4.0-0.2.rc1.20220216202508gitc22cf52.el8.noarch is filtered out by modular filtering
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.0-0.2.rc1.20220216202508gitc22cf52.el8.noarch
  - package rubygem-katello-4.4.0-0.4.rc2.el8.noarch is filtered out by modular filtering
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.0-0.4.rc2.el8.noarch
  - package rubygem-katello-4.4.0-1.el8.noarch is filtered out by modular filtering
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.0-1.el8.noarch
  - package rubygem-katello-4.4.0.1-1.el8.noarch is filtered out by modular filtering
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.0.1-1.el8.noarch
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.0.2-2.el8.noarch
  - nothing provides foreman < 3.3 needed by rubygem-katello-4.4.1-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[@foreman001 ~]$

Does this need ruby/rubygems 3?

Did you follow the docs? Because I can’t remember having to run dnf install katello* :thinking:

(you only need to ignore the dnf install centos-release-ansible-29 line there as this is outdated)

1 Like

The document I am looking at says I need katello. I literally want this for provisioning.

I don’t think that documentation is correct, please just follow the official documentation I linked to you :slightly_smiling_face:

Especially that doc says Katello 2.x we are at 4.4

Yeah, I replaced katello 2 with 4.4.

I meant the guide is outdated. I know that the official guides work, I already used them several times (except the ansible stuff in there which recently changed)

ok. I’ll give it another look.

1 Like