- Run installer
# foreman-installer --scenario katello
2024-07-30 18:58:34 [NOTICE] [root] Loading installer configuration. This will take some time.
2024-07-30 18:58:36 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2024-07-30 18:58:36 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2024-07-30 19:02:13 [NOTICE] [configure] Starting system configuration.
2024-07-30 19:06:11 [NOTICE] [configure] 250 configuration steps out of 1422 steps complete.
2024-07-30 19:07:07 [NOTICE] [configure] 500 configuration steps out of 1424 steps complete.
2024-07-30 19:09:04 [NOTICE] [configure] 750 configuration steps out of 1427 steps complete.
2024-07-30 19:09:14 [NOTICE] [configure] 1000 configuration steps out of 1452 steps complete.
2024-07-30 19:11:17 [NOTICE] [configure] 1250 configuration steps out of 1452 steps complete.
2024-07-30 19:14:16 [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-07-30T19:14:28.612805 #30750] INFO -- : Corrected 0 invalid pools
I, [2024-07-30T19:14:28.612846 #30750] INFO -- : Removed 0 orphaned pools
=============================================
Upgrade Step 6/11: katello:upgrades:4.1:reupdate_content_import_export_perms. =============================================
Upgrade Step 7/11: katello:upgrades:4.2:remove_checksum_values. =============================================
Upgrade Step 8/11: katello:upgrades:4.4:publish_import_cvvs. =============================================
Upgrade Step 9/11: katello:upgrades:4.8:fix_incorrect_providers. Fixing incorrect providers
Fixed 0 incorrect providers
Cleaning Candlepin orphaned custom products for organization Default Organization
Deleted 0 Candlepin orphaned custom products for organization Default Organization
=============================================
Upgrade Step 10/11: katello:upgrades:4.8:regenerate_imported_repository_metadata. No repositories found for regeneration.
=============================================
Upgrade Step 11/11: katello:upgrades:4.12:update_content_access_modes. Checking Candlepin status
Setting content access modes
----------------------------------------
Set content access mode for 0 organizations
----------------------------------------
Success!
* Foreman is running at https://rh8-foreman-dev.30.lmnt
Initial credentials are admin / notsoeasypassword
* To install an additional Foreman proxy on separate machine continue by running:
foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "/root/$FOREMAN_PROXY-certs.tar.gz"
* Foreman Proxy is running at https://rh8-foreman-dev.30.lmnt:9090
The full log is at /var/log/foreman-installer/katello.log
- Open firewall
# firewall-cmd --add-port="5647/tcp" --add-port="8000/tcp" --add-port="9090/tcp"
success
# firewall-cmd --add-service=http --add-service=https
success
# firewall-cmd --runtime-to-permanent
success
- Open the web-frontend, accept the self-signed cert, and visit the about page
- As everything looks good, time to check another time that all updates are installed
# dnf update
Updating Subscription Management repositories.
Last metadata expiration check: 0:19:31 ago on Tue 30 Jul 2024 06:59:17 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!
- Update release packages
# dnf update https://yum.theforeman.org/releases/3.11/el8/x86_64/foreman-release.rpm \
> https://yum.theforeman.org/katello/4.13/katello/el8/x86_64/katello-repos-latest.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 0:20:23 ago on Tue 30 Jul 2024 06:59:17 PM CEST.
foreman-release.rpm 95 kB/s | 14 kB 00:00
katello-repos-latest.rpm 466 kB/s | 20 kB 00:00
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Upgrading:
foreman-release noarch 3.11.1-1.el8 @commandline 14 k
katello-repos noarch 4.13.1-1.el8 @commandline 20 k
Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade 2 Packages
Total size: 34 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : foreman-release-3.11.1-1.el8.noarch 1/4
Upgrading : katello-repos-4.13.1-1.el8.noarch 2/4
Cleanup : katello-repos-4.12.1-1.el8.noarch 3/4
Cleanup : foreman-release-3.10.0-1.el8.noarch 4/4
Verifying : foreman-release-3.11.1-1.el8.noarch 1/4
Verifying : foreman-release-3.10.0-1.el8.noarch 2/4
Verifying : katello-repos-4.13.1-1.el8.noarch 3/4
Verifying : katello-repos-4.12.1-1.el8.noarch 4/4
Installed products updated.
Upgraded:
foreman-release-3.11.1-1.el8.noarch katello-repos-4.13.1-1.el8.noarch
Complete!
- Switch to PostgreSQL 13
# dnf -y module switch-to postgresql:13
Updating Subscription Management repositories.
Foreman 3.11 3.0 MB/s | 1.7 MB 00:00
Foreman plugins 3.11 6.2 MB/s | 1.9 MB 00:00
Katello 4.13 518 kB/s | 307 kB 00:00
Candlepin: an open source entitlement management system. 301 kB/s | 62 kB 00:00
pulpcore: Fetch, Upload, Organize, and Distribute Software Packages. 1.3 MB/s | 308 kB 00:00
Modular dependency problems:
Problem 1: module foreman:el8:31120240718202416:34d643a2.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8080020230613131941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8080020230613131941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8050020210716085012:b4937e53.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8050020210716085012:b4937e53.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8050020211119210550:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8050020211119210550:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8070020230227142544:bd1311ed.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8070020230227142544:bd1311ed.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8060020220525083942:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8060020220525083942:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8040020210602192705:522a0ee4.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8040020210602192705:522a0ee4.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020240209125046:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020240209125046:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8060020211129152445:d63f516d.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8060020211129152445:d63f516d.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020231114113712:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020231114113712:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8040020210217220626:9f9e2e7e.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8040020210217220626:9f9e2e7e.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020230626093547:b46abd14.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020230626093547:b46abd14.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- conflicting requests
Problem 2: module foreman:el8:31120240718202416:34d643a2.x86_64 from foreman requires module(postgresql:13), but none of the providers can be installed
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8080020230613131941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8080020230613131941:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8050020210716085012:b4937e53.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8050020210716085012:b4937e53.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8050020211119210550:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8050020211119210550:c5368500.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8070020230227142544:bd1311ed.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8070020230227142544:bd1311ed.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8060020220525083942:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8060020220525083942:ad008a3a.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8040020210602192705:522a0ee4.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8040020210602192705:522a0ee4.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020240209125046:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020240209125046:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8060020211129152445:d63f516d.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8060020211129152445:d63f516d.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020231114113712:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020231114113712:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8040020210217220626:9f9e2e7e.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8040020210217220626:9f9e2e7e.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:13) provided by postgresql:13:8090020230626093547:b46abd14.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module postgresql:13:8090020230626093547:b46abd14.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with module(postgresql:12) provided by postgresql:12:8080020230717103820:63b34585.x86_64 from rhel-8-for-x86_64-appstream-rpms
- module katello:el8:41320240724162450:37be364f.x86_64 from katello requires module(foreman:el8), but none of the providers can be installed
- conflicting requests
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Upgrading:
postgresql x86_64 13.14-1.module+el8.9.0+21288+3d364c44 rhel-8-for-x86_64-appstream-rpms 1.5 M
postgresql-contrib x86_64 13.14-1.module+el8.9.0+21288+3d364c44 rhel-8-for-x86_64-appstream-rpms 883 k
postgresql-server x86_64 13.14-1.module+el8.9.0+21288+3d364c44 rhel-8-for-x86_64-appstream-rpms 5.6 M
Switching module streams:
postgresql 12 -> 13
Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade 3 Packages
Total download size: 8.0 M
Downloading Packages:
(1/3): postgresql-13.14-1.module+el8.9.0+21288+3d364c44.x86_64.rpm 2.3 MB/s | 1.5 MB 00:00
(2/3): postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64.rpm 6.5 MB/s | 5.6 MB 00:00
(3/3): postgresql-contrib-13.14-1.module+el8.9.0+21288+3d364c44.x86_64.rpm 457 kB/s | 883 kB 00:01
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 4.1 MB/s | 8.0 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: postgresql-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 1/1
Upgrading : postgresql-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 1/6
Upgrading : postgresql-contrib-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 2/6
Running scriptlet: postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 3/6
Upgrading : postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 3/6
Running scriptlet: postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 3/6
Running scriptlet: postgresql-server-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 4/6
Cleanup : postgresql-server-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 4/6
Running scriptlet: postgresql-server-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 4/6
Cleanup : postgresql-contrib-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 5/6
Cleanup : postgresql-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 6/6
Running scriptlet: postgresql-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 6/6
Verifying : postgresql-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 1/6
Verifying : postgresql-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 2/6
Verifying : postgresql-contrib-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 3/6
Verifying : postgresql-contrib-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 4/6
Verifying : postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 5/6
Verifying : postgresql-server-12.18-1.module+el8.9.0+21289+7c796f9d.x86_64 6/6
Installed products updated.
Upgraded:
postgresql-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 postgresql-contrib-13.14-1.module+el8.9.0+21288+3d364c44.x86_64 postgresql-server-13.14-1.module+el8.9.0+21288+3d364c44.x86_64
Complete!
- Stop Foreman
# foreman-maintain service stop
Running Stop Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Stop applicable services:
Stopping the following service(s):
redis, postgresql, pulpcore-api, pulpcore-content, pulpcore-api.socket, pulpcore-content.socket, pulpcore-worker@1.service, pulpcore-worker@2.service, pulpcore-worker@3.service, pulpcore-worker@4.service, tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, foreman.socket, dynflow-sidekiq@worker-1, dynflow-sidekiq@worker-hosts-queue-1, foreman-proxy
- All services stopped [OK]
--------------------------------------------------------------------------------
To be continued…