foreman-installer --scenario katello
2024-12-09 09:57:50 [NOTICE] [root] Loading installer configuration. This will take some time.
2024-12-09 09:57:53 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2024-12-09 09:57:53 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2024-12-09 09:57:55 [NOTICE] [checks] System checks passed
2024-12-09 09:57:57 [NOTICE] [configure] Starting system configuration.
2024-12-09 09:58:05 [NOTICE] [configure] 250 configuration steps out of 1329 steps complete.
2024-12-09 09:58:06 [NOTICE] [configure] 500 configuration steps out of 1331 steps complete.
2024-12-09 09:58:09 [NOTICE] [configure] 750 configuration steps out of 1337 steps complete.
2024-12-09 09:58:09 [NOTICE] [configure] 1000 configuration steps out of 1339 steps complete.
2024-12-09 09:58:24 [ERROR ] [configure] ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2024-12-09 09:58:24 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from ‘notrun’ to [‘0’] failed: ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2024-12-09 09:58:42 [NOTICE] [configure] 1250 configuration steps out of 1339 steps complete.
2024-12-09 09:58:46 [NOTICE] [configure] System configuration has finished.
Error 1: Puppet Exec resource ‘foreman-rake-db:migrate’ failed. Logs:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
Adding autorequire relationship with User[foreman]
Starting to evaluate the resource (1083 of 1339)
Evaluated in 14.30 seconds
Execforeman-rake-db:migrate
Executing check ‘/usr/sbin/foreman-rake db:abort_if_pending_migrations’
Executing ‘/usr/sbin/foreman-rake db:migrate’
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless
rake aborted!
Zeitwerk::NameError: expected file /usr/share/gems/gems/foreman-tasks-9.2.3/app/lib/actions/middleware/keep_current_request_id.rb to define constant Actions::Middleware::KeepCurrentRequestId, but didn’t
Error 1: Puppet Exec resource ‘foreman-rake-db:migrate’ failed. Logs:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
Adding autorequire relationship with User[foreman]
Starting to evaluate the resource (1083 of 1339)
Failed to call refresh: ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
Evaluated in 28.17 seconds
Distribution and version:
cat /etc/os-release
NAME=“Red Hat Enterprise Linux”
VERSION=“9.4 (Plow)”
ID=“rhel”
ID_LIKE=“fedora”
VERSION_ID=“9.4”
PLATFORM_ID=“platform:el9”
PRETTY_NAME=“Red Hat Enterprise Linux 9.4 (Plow)”
ANSI_COLOR=“0;31”
LOGO=“fedora-logo-icon”
CPE_NAME=“cpe:/o:redhat:enterprise_linux:9::baseos”
HOME_URL=“https://www.redhat.com/”
DOCUMENTATION_URL=“Red Hat Enterprise Linux | Red Hat Product Documentation”
BUG_REPORT_URL=“https://issues.redhat.com/”
REDHAT_BUGZILLA_PRODUCT=“Red Hat Enterprise Linux 9”
REDHAT_BUGZILLA_PRODUCT_VERSION=9.4
REDHAT_SUPPORT_PRODUCT=“Red Hat Enterprise Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“9.4”
Other relevant data:
Running with defaults so far, no changes, error repeats every time I exec the installer
foreman-installer --scenario katello
2024-12-09 10:09:55 [NOTICE] [root] Loading installer configuration. This will take some time.
2024-12-09 10:09:58 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2024-12-09 10:09:58 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2024-12-09 10:10:00 [NOTICE] [checks] System checks passed
2024-12-09 10:10:02 [NOTICE] [configure] Starting system configuration.
2024-12-09 10:10:10 [NOTICE] [configure] 250 configuration steps out of 1329 steps complete.
2024-12-09 10:10:11 [NOTICE] [configure] 500 configuration steps out of 1331 steps complete.
2024-12-09 10:10:14 [NOTICE] [configure] 750 configuration steps out of 1337 steps complete.
2024-12-09 10:10:14 [NOTICE] [configure] 1000 configuration steps out of 1339 steps complete.
2024-12-09 10:13:04 [NOTICE] [configure] 1250 configuration steps out of 1339 steps complete.
2024-12-09 10:13:15 [NOTICE] [configure] System configuration has finished.
Executing: foreman-rake upgrade:run
Upgrade Step 1/11: katello:correct_repositories. This may take a long while.
Upgrade Step 2/11: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers:
Upgrade Step 3/11: katello:upgrades:4.0:remove_ostree_puppet_content. =============================================
Upgrade Step 4/11: katello:upgrades:4.1:sync_noarch_content. =============================================
Upgrade Step 5/11: katello:upgrades:4.1:fix_invalid_pools. I, [2024-12-09T10:13:29.411033 #11532] INFO – : Corrected 0 invalid pools
I, [2024-12-09T10:13:29.411101 #11532] INFO – : Removed 0 orphaned pools