Foreman & KatelloをRHEL 8にインストールする!

Foreman & Katelloのサーバ環境をRHEL 8にインストールして、RHELのアップデートの管理を行います。RHELの公式の方法は、Satelliteを使用する方法ですが、ほぼ同じ方法でアップデートの管理が行えます。

インストールするバージョンを確認する!

今回インストールしたバージョンは、「Foreman 3.5 & Katello 4.7」の組み合わせです。

マシンのリソースを確保する!

Foremanを動作させるのには、「development」の最小構成で、1CPU、6GBのメモリが必要になります。仮想環境など使用する場合は、特にメモリのサイズの調整を行っておきます。

クライアントからの接続許可設定を行う!

# firewall-cmd \
> --add-port="53/udp" --add-port="53/tcp" \
> --add-port="67/udp" \
> --add-port="69/udp" \
> --add-port="80/tcp" --add-port="443/tcp" \
> --add-port="5647/tcp" \
> --add-port="8000/tcp" --add-port="9090/tcp" \
> --add-port="8140/tcp"
success
[root@vmsrhe09 ~]# firewall-cmd --runtime-to-permanent
success
[root@vmsrhe09 ~]# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources: 
  services: cockpit dhcpv6-client ssh
  ports: 53/udp 53/tcp 67/udp 69/udp 80/tcp 443/tcp 5647/tcp 8000/tcp 9090/tcp 8140/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

名前解決の確認を行う!

ホスト名は、FQDNの形式である必要があるため、satellite.loc.lab4ict.comのようにドメイン名を付与したホスト名にする必要があります。そして、hostname -fで表示されるFQDNのホスト名で名前解決できるようにします。/etc/hostsで名前解決する場合は、同じIPアドレスで複数のホスト名の名前解決を行う場合、最初の列にFQDNのホスト名を記載する必要があります。

# ping -c1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms

--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.041/0.041/0.041/0.000 ms
[root@vmsrhe09 ~]# ping -c1 `hostname -f` # my_system.domain.com
PING satellite.loc.lab4ict.com (10.1.12.9) 56(84) bytes of data.
64 bytes from satellite.loc.lab4ict.com (10.1.12.9): icmp_seq=1 ttl=64 time=0.106 ms

--- satellite.loc.lab4ict.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.106/0.106/0.106/0.000 ms

すべてのリポジトリの無効化を行なう!

すべてのリポジトリの無効化を行ないます。

# subscription-manager repos --disable "*"
Repository 'codeready-builder-for-rhel-8-x86_64-eus-source-rpms' is disabled for this system.
Repository 'rhocp-ironic-4.13-for-rhel-8-x86_64-debug-rpms' is disabled for this system.
...

管理対象のリポジトリの有効化を行なう!

管理対象のリポジトリの有効化を行ないます。

subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms \
--enable=rhel-8-for-x86_64-appstream-rpms
Repository 'rhel-8-for-x86_64-baseos-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.

メタデータをクリアする!

メタデータをクリアします。

# dnf clean all
Updating Subscription Management repositories.
17 files removed

foreman-releaseパッケージをインストールする!

foreman-releaseパッケージをインストールします。

# dnf install https://yum.theforeman.org/releases/3.5/el8/x86_64/foreman-release.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:23 ago on Sat 28 Jan 2023 10:46:32 AM JST.
foreman-release.rpm                                                                      17 kB/s |  13 kB     00:00    
Dependencies resolved.
========================================================================================================================
 Package                         Architecture           Version                      Repository                    Size
========================================================================================================================
Installing:
 foreman-release                 noarch                 3.5.1-1.el8                  @commandline                  13 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total size: 13 k
Installed size: 2.3 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 
  Installing       : foreman-release-3.5.1-1.el8.noarch                                                             1/1 
  Verifying        : foreman-release-3.5.1-1.el8.noarch                                                             1/1 
Installed products updated.

Installed:
  foreman-release-3.5.1-1.el8.noarch                                                                                    

Complete!

Katelloのリポジトリを登録する!

Katelloのリポジトリを登録します。

# dnf install https://yum.theforeman.org/katello/4.7/katello/el8/x86_64/katello-repos-latest.rpm
Updating Subscription Management repositories.
Foreman plugins 3.5                                                                     1.3 MB/s | 2.0 MB     00:01    
Foreman 3.5                                                                             1.2 MB/s | 1.8 MB     00:01    
Last metadata expiration check: 0:00:01 ago on Sat 28 Jan 2023 10:48:13 AM JST.
katello-repos-latest.rpm                                                                 42 kB/s |  16 kB     00:00    
Dependencies resolved.
========================================================================================================================
 Package                       Architecture           Version                        Repository                    Size
========================================================================================================================
Installing:
 katello-repos                 noarch                 4.7.0-1.el8                    @commandline                  16 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total size: 16 k
Installed size: 1.4 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 
  Installing       : katello-repos-4.7.0-1.el8.noarch                                                               1/1 
  Verifying        : katello-repos-4.7.0-1.el8.noarch                                                               1/1 
Installed products updated.

Installed:
  katello-repos-4.7.0-1.el8.noarch                                                                                      

Complete!

Puppet 7をインストールする!

Puppet 7をインストールします。

# dnf install https://yum.puppet.com/puppet7-release-el-8.noarch.rpm
Updating Subscription Management repositories.
Katello 4.7                                                                             424 kB/s | 382 kB     00:00    
Candlepin: an open source entitlement management system.                                 14 kB/s |  15 kB     00:01    
pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.                    257 kB/s | 269 kB     00:01    
puppet7-release-el-8.noarch.rpm                                                          52 kB/s |  13 kB     00:00    
Dependencies resolved.
========================================================================================================================
 Package                         Architecture           Version                      Repository                    Size
========================================================================================================================
Installing:
 puppet7-release                 noarch                 7.0.0-11.el8                 @commandline                  13 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total size: 13 k
Installed size: 3.6 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 
  Running scriptlet: puppet7-release-7.0.0-11.el8.noarch                                                            1/1 
  Installing       : puppet7-release-7.0.0-11.el8.noarch                                                            1/1 
  Running scriptlet: puppet7-release-7.0.0-11.el8.noarch                                                            1/1 
  Verifying        : puppet7-release-7.0.0-11.el8.noarch                                                            1/1 
Installed products updated.

Installed:
  puppet7-release-7.0.0-11.el8.noarch                                                                                   

Complete!

katelloとpulpcoreのモジュールを有効化する!

# dnf module enable katello:el8 pulpcore:el8
...
========================================================================================================================
 Package                     Architecture               Version                       Repository                   Size
========================================================================================================================
Enabling module streams:
 foreman                                                el8                                                            
 katello                                                el8                                                            
 pki-core                                               10.6                                                           
 pki-deps                                               10.6                                                           
 postgresql                                             12                                                             
 pulpcore                                               el8                                                            
 python39                                               3.9                                                            
 ruby                                                   2.7                                                            

Transaction Summary
========================================================================================================================

Is this ok [y/N]: y
Complete!

Foremanをインストールするために全パッケージを最新化する!

Foremanをインストールするために全パッケージを最新化します。

# dnf update
...
warning: /var/cache/dnf/rhel-8-for-x86_64-baseos-rpms-51b3b78d5698246b/packages/glibc-gconv-extra-2.28-211.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                   4.9 MB/s | 5.0 kB     00:00    
Importing GPG key 0xFD431D51:
 Userid     : "Red Hat, Inc. (release key 2) <security@redhat.com>"
 Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Is this ok [y/N]: y
Key imported successfully
Importing GPG key 0xD4082792:
 Userid     : "Red Hat, Inc. (auxiliary key) <security@redhat.com>"
 Fingerprint: 6A6A A7C9 7C88 90AE C6AE BFE2 F76F 66C3 D408 2792
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Is this ok [y/N]: y
Key imported successfully
warning: /var/cache/dnf/pulpcore-2fc713a3f651fcdb/packages/libcomps-0.1.18-4.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 5943cc20: NOKEY
pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.                    1.8 kB/s | 1.7 kB     00:00    
Importing GPG key 0x5943CC20:
 Userid     : "Pulpcore Automatic Signing Key (3.21) <packages@theforeman.org>"
 Fingerprint: FECA FFA7 F855 10A6 C8CB 9ED5 EB1F 2D56 5943 CC20
 From       : https://yum.theforeman.org/pulpcore/3.21/GPG-RPM-KEY-pulpcore
Is this ok [y/N]: y
...
Complete!

Foremanをインストールする!

Foremanをインストールします。

# dnf install foreman-installer-katello
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                    11 kB/s | 4.1 kB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                 13 kB/s | 4.5 kB     00:00    
Last metadata expiration check: 0:00:13 ago on Sat 28 Jan 2023 10:51:12 AM JST.
Dependencies resolved.
========================================================================================================================
 Package                    Arch    Version                                     Repository                         Size
========================================================================================================================
Installing:
 foreman-installer-katello  noarch  1:3.5.1-1.el8                               foreman                            86 k
Installing dependencies:
 dwz                        x86_64  0.12-10.el8                                 rhel-8-for-x86_64-appstream-rpms  109 k
 efi-srpm-macros            noarch  3-3.el8                                     rhel-8-for-x86_64-appstream-rpms   22 k
 elfutils                   x86_64  0.187-4.el8                                 rhel-8-for-x86_64-baseos-rpms     543 k
 foreman-installer          noarch  1:3.5.1-1.el8                               foreman                           1.4 M
 gc                         x86_64  7.6.4-3.el8                                 rhel-8-for-x86_64-appstream-rpms  109 k
 gdb-headless               x86_64  8.2-19.el8                                  rhel-8-for-x86_64-appstream-rpms  3.7 M
 ghc-srpm-macros            noarch  1.4.2-7.el8                                 rhel-8-for-x86_64-appstream-rpms  9.4 k
 go-srpm-macros             noarch  2-17.el8                                    rhel-8-for-x86_64-appstream-rpms   13 k
 guile                      x86_64  5:2.0.14-7.el8                              rhel-8-for-x86_64-appstream-rpms  3.5 M
 katello-certs-tools        noarch  2.9.0-1.el8                                 foreman                            68 k
 libatomic_ops              x86_64  7.6.2-3.el8                                 rhel-8-for-x86_64-appstream-rpms   38 k
 libbabeltrace              x86_64  1.5.4-4.el8                                 rhel-8-for-x86_64-baseos-rpms     200 k
 libipt                     x86_64  1.6.1-8.el8                                 rhel-8-for-x86_64-appstream-rpms   50 k
 ocaml-srpm-macros          noarch  5-4.el8                                     rhel-8-for-x86_64-appstream-rpms  9.5 k
 openblas-srpm-macros       noarch  2-2.el8                                     rhel-8-for-x86_64-appstream-rpms  8.0 k
 patch                      x86_64  2.7.6-11.el8                                rhel-8-for-x86_64-baseos-rpms     138 k
 perl-srpm-macros           noarch  1-25.el8                                    rhel-8-for-x86_64-appstream-rpms   11 k
 puppet-agent               x86_64  7.21.0-1.el8                                puppet7                            24 M
 python-rpm-macros          noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   16 k
 python-srpm-macros         noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   15 k
 python3-rpm-macros         noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   15 k
 qt5-srpm-macros            noarch  5.15.3-1.el8                                rhel-8-for-x86_64-appstream-rpms   11 k
 redhat-rpm-config          noarch  130-1.el8                                   rhel-8-for-x86_64-appstream-rpms   90 k
 rpm-build                  x86_64  4.14.3-24.el8_7                             rhel-8-for-x86_64-appstream-rpms  174 k
 ruby                       x86_64  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   89 k
 ruby-default-gems          noarch  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   74 k
 ruby-libs                  x86_64  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  3.2 M
 rubygem-ansi               noarch  1.5.0-3.el8                                 foreman                            32 k
 rubygem-clamp              noarch  1.1.2-7.el8                                 foreman                            33 k
 rubygem-hashie             noarch  5.0.0-1.el8                                 foreman                            41 k
 rubygem-highline           noarch  2.0.3-2.el8                                 foreman                            53 k
 rubygem-io-console         x86_64  0.5.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   72 k
 rubygem-irb                noarch  1.2.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  117 k
 rubygem-json               x86_64  2.3.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   93 k
 rubygem-kafo               noarch  6.5.0-1.el8                                 foreman                            89 k
 rubygem-kafo_parsers       noarch  1.2.1-1.el8                                 foreman                            16 k
 rubygem-kafo_wizards       noarch  0.0.2-2.el8                                 foreman                            16 k
 rubygem-little-plugger     noarch  1.1.4-3.el8                                 foreman                            16 k
 rubygem-logging            noarch  2.3.1-1.el8                                 foreman                            63 k
 rubygem-multi_json         noarch  1.15.0-1.el8                                foreman                            23 k
 rubygem-openssl            x86_64  2.1.3-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  198 k
 rubygem-powerbar           noarch  2.0.1-3.el8                                 foreman                            14 k
 rubygem-psych              x86_64  3.1.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   97 k
 rubygem-rdoc               noarch  6.2.1.1-138.module+el8.6.0+16148+54b2ba8f   rhel-8-for-x86_64-appstream-rpms  455 k
 rubygems                   noarch  3.1.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  309 k
 rust-srpm-macros           noarch  5-2.el8                                     rhel-8-for-x86_64-appstream-rpms  9.3 k
 zstd                       x86_64  1.4.4-1.el8                                 rhel-8-for-x86_64-appstream-rpms  393 k
Installing weak dependencies:
 rubygem-bigdecimal         x86_64  2.0.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  101 k
 rubygem-bundler            noarch  2.2.24-138.module+el8.6.0+16148+54b2ba8f    rhel-8-for-x86_64-appstream-rpms  445 k

Transaction Summary
========================================================================================================================
Install  50 Packages

Total download size: 40 M
Installed size: 77 M
Is this ok [y/N]: y
...
Foreman 3.5                                                                             1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0x8F5CA95B:
 Userid     : "Foreman Automatic Signing Key (3.5) <packages@theforeman.org>"
 Fingerprint: 51B9 D1D1 BADA 3F00 1C87 7404 6F7F 9C61 8F5C A95B
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
Is this ok [y/N]: y
Key imported successfully
Puppet 7 Repository el 8 - x86_64                                                       1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0x9E61EF26:
 Userid     : "Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>"
 Fingerprint: D681 1ED3 ADEE B844 1AF5 AA8F 4528 B6CD 9E61 EF26
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-2025-04-06-puppet7-release
Is this ok [y/N]: y
Key imported successfully
Puppet 7 Repository el 8 - x86_64                                                       1.4 MB/s | 1.6 kB     00:00    
Importing GPG key 0xEF8D349F:
 Userid     : "Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>"
 Fingerprint: 6F6B 1550 9CF8 E59E 6E46 9F32 7F43 8280 EF8D 349F
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet7-release
Is this ok [y/N]: y
...
Complete!

Chronyをインストールする!

Chronyをインストールしますが、通常はインストール済みのはずです。

#  dnf install chrony
Updating Subscription Management repositories.
Last metadata expiration check: 0:04:15 ago on Sat 28 Jan 2023 11:14:15 AM JST.
Package chrony-4.2-1.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Foremanのセットアップを行う!

Foremanのセットアップを行います。

# foreman-installer --scenario katello \
> --foreman-initial-organization "Lab4ict" \
> --foreman-initial-location "Local" \
> --foreman-initial-admin-username admin \
> --foreman-initial-admin-password password \
> --tuning development
2023-01-28 11:42:49 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-01-28 11:42:55 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-01-28 11:42:55 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2023-01-28 11:50:12 [NOTICE] [configure] Starting system configuration.
2023-01-28 11:54:28 [NOTICE] [configure] 250 configuration steps out of 1380 steps complete.
2023-01-28 11:55:32 [NOTICE] [configure] 500 configuration steps out of 1382 steps complete.
2023-01-28 11:57:54 [NOTICE] [configure] 750 configuration steps out of 1387 steps complete.
2023-01-28 11:58:09 [NOTICE] [configure] 1000 configuration steps out of 1410 steps complete.
2023-01-28 12:03:23 [NOTICE] [configure] 1250 configuration steps out of 1410 steps complete.
2023-01-28 12:07:11 [NOTICE] [configure] System configuration has finished.
Executing: foreman-rake upgrade:run
=============================================
Upgrade Step 1/8: katello:correct_repositories. This may take a long while.
=============================================
Upgrade Step 2/8: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers: []
=============================================
Upgrade Step 3/8: katello:upgrades:4.0:remove_ostree_puppet_content. =============================================
Upgrade Step 4/8: katello:upgrades:4.1:sync_noarch_content. =============================================
Upgrade Step 5/8: katello:upgrades:4.1:fix_invalid_pools. I, [2023-01-28T12:07:26.318840 #21323]  INFO -- : Corrected 0 invalid pools
I, [2023-01-28T12:07:26.318892 #21323]  INFO -- : Removed 0 orphaned pools
=============================================
Upgrade Step 6/8: katello:upgrades:4.1:reupdate_content_import_export_perms. =============================================
Upgrade Step 7/8: katello:upgrades:4.2:remove_checksum_values. =============================================
Upgrade Step 8/8: katello:upgrades:4.4:publish_import_cvvs.   Success!
  * Foreman is running at https://satellite.loc.lab4ict.com
      Initial credentials are admin / password
  * 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"
  * Foreman Proxy is running at https://satellite.loc.lab4ict.com:9090

  The full log is at /var/log/foreman-installer/katello.log

SSHでの接続を可能にする!

SSHでの接続を可能にするため、追加のインストールを行います。

#   foreman-installer \
>   --enable-foreman-plugin-remote-execution \
>   --enable-foreman-proxy-plugin-remote-execution-script\
>   --foreman-proxy-plugin-remote-execution-script-enabled=true \
>   --foreman-proxy-plugin-remote-execution-script-generate-keys=true \
>   --foreman-proxy-plugin-remote-execution-script-install-key=true
2023-01-29 10:12:46 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-01-29 10:12:50 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-01-29 10:12:50 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2023-01-29 10:12:58 [NOTICE] [configure] Starting system configuration.
2023-01-29 10:13:16 [NOTICE] [configure] 250 configuration steps out of 1456 steps complete.
2023-01-29 10:13:23 [NOTICE] [configure] 500 configuration steps out of 1458 steps complete.
2023-01-29 10:13:27 [NOTICE] [configure] 750 configuration steps out of 1463 steps complete.
2023-01-29 10:13:27 [NOTICE] [configure] 1000 configuration steps out of 1467 steps complete.
2023-01-29 10:13:56 [NOTICE] [configure] 1250 configuration steps out of 1467 steps complete.
2023-01-29 10:14:12 [NOTICE] [configure] System configuration has finished.
Executing: foreman-rake upgrade:run
=============================================
Upgrade Step 1/2: katello:correct_repositories. This may take a long while.
Processing Repository 1/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.6 (1)
Processing Repository 2/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.4 (2)
Processing Repository 3/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8 (3)
Processing Repository 4/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.4 (4)
Processing Repository 5/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.6 (5)
Processing Repository 6/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8 (6)
Processing Repository 7/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream - Extended Update Support RPMs 8.6 (7)
Processing Repository 8/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream - Extended Update Support RPMs 8.4 (8)
Processing Repository 9/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support RPMs 8.6 (9)
Processing Repository 10/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support RPMs 8.4 (10)
=============================================
Upgrade Step 2/2: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers: []
  Success!
  * Foreman is running at https://satellite.loc.lab4ict.com
  * 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"
  * Foreman Proxy is running at https://satellite.loc.lab4ict.com:9090

  The full log is at /var/log/foreman-installer/katello.log

Foremanにログインする!

インストール完了時に表示されたURLで、ブラウザからログインします。今回の場合は、以下になります。

https://satellite.loc.lab4ict.com

おわりに

Foreman with Katelloのインストールは、かなりの長手順になります。

参考情報

関連記事

関連書籍(Amazon)

N/A