{"id":8482,"date":"2023-01-28T12:20:42","date_gmt":"2023-01-28T03:20:42","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=8482"},"modified":"2023-06-27T20:53:45","modified_gmt":"2023-06-27T11:53:45","slug":"rhel-8%e3%81%a7foreman%e3%81%a8katello%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88%e3%81%ae%e7%ae%a1%e7%90%86%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/8482","title":{"rendered":"Foreman &#038; Katello\u3092RHEL 8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>Foreman & Katello\u306e\u30b5\u30fc\u30d0\u74b0\u5883\u3092RHEL 8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001RHEL\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u7ba1\u7406\u3092\u884c\u3044\u307e\u3059\u3002RHEL\u306e\u516c\u5f0f\u306e\u65b9\u6cd5\u306f\u3001Satellite\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u304c\u3001\u307b\u307c\u540c\u3058\u65b9\u6cd5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u7ba1\u7406\u304c\u884c\u3048\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u4eca\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u300cForeman 3.5 & Katello 4.7\u300d\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002<\/p>\n<h2>\u30de\u30b7\u30f3\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u78ba\u4fdd\u3059\u308b\uff01<\/h2>\n<p>Foreman\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306e\u306b\u306f\u3001\u300cdevelopment\u300d\u306e\u6700\u5c0f\u69cb\u6210\u3067\u30011CPU\u30016GB\u306e\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u4eee\u60f3\u74b0\u5883\u306a\u3069\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u7279\u306b\u30e1\u30e2\u30ea\u306e\u30b5\u30a4\u30ba\u306e\u8abf\u6574\u3092\u884c\u3063\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u63a5\u7d9a\u8a31\u53ef\u8a2d\u5b9a\u3092\u884c\u3046\uff01<\/h2>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# firewall-cmd \\\r\n&gt; --add-port=&quot;53\/udp&quot; --add-port=&quot;53\/tcp&quot; \\\r\n&gt; --add-port=&quot;67\/udp&quot; \\\r\n&gt; --add-port=&quot;69\/udp&quot; \\\r\n&gt; --add-port=&quot;80\/tcp&quot; --add-port=&quot;443\/tcp&quot; \\\r\n&gt; --add-port=&quot;5647\/tcp&quot; \\\r\n&gt; --add-port=&quot;8000\/tcp&quot; --add-port=&quot;9090\/tcp&quot; \\\r\n&gt; --add-port=&quot;8140\/tcp&quot;\r\nsuccess\r\n&#x5B;root@vmsrhe09 ~]# firewall-cmd --runtime-to-permanent\r\nsuccess\r\n&#x5B;root@vmsrhe09 ~]# firewall-cmd --list-all\r\npublic (active)\r\n  target: default\r\n  icmp-block-inversion: no\r\n  interfaces: enp0s3\r\n  sources: \r\n  services: cockpit dhcpv6-client ssh\r\n  ports: 53\/udp 53\/tcp 67\/udp 69\/udp 80\/tcp 443\/tcp 5647\/tcp 8000\/tcp 9090\/tcp 8140\/tcp\r\n  protocols: \r\n  masquerade: no\r\n  forward-ports: \r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n<\/pre>\n<h2>\u540d\u524d\u89e3\u6c7a\u306e\u78ba\u8a8d\u3092\u884c\u3046\uff01<\/h2>\n<p>\u30db\u30b9\u30c8\u540d\u306f\u3001FQDN\u306e\u5f62\u5f0f\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001satellite.loc.lab4ict.com\u306e\u3088\u3046\u306b\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u4ed8\u4e0e\u3057\u305f\u30db\u30b9\u30c8\u540d\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001hostname -f\u3067\u8868\u793a\u3055\u308c\u308bFQDN\u306e\u30db\u30b9\u30c8\u540d\u3067\u540d\u524d\u89e3\u6c7a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\/etc\/hosts\u3067\u540d\u524d\u89e3\u6c7a\u3059\u308b\u5834\u5408\u306f\u3001\u540c\u3058IP\u30a2\u30c9\u30ec\u30b9\u3067\u8907\u6570\u306e\u30db\u30b9\u30c8\u540d\u306e\u540d\u524d\u89e3\u6c7a\u3092\u884c\u3046\u5834\u5408\u3001\u6700\u521d\u306e\u5217\u306bFQDN\u306e\u30db\u30b9\u30c8\u540d\u3092\u8a18\u8f09\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# ping -c1 localhost\r\nPING localhost (127.0.0.1) 56(84) bytes of data.\r\n64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms\r\n\r\n--- localhost ping statistics ---\r\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\r\nrtt min\/avg\/max\/mdev = 0.041\/0.041\/0.041\/0.000 ms\r\n&#x5B;root@vmsrhe09 ~]# ping -c1 `hostname -f` # my_system.domain.com\r\nPING satellite.loc.lab4ict.com (10.1.12.9) 56(84) bytes of data.\r\n64 bytes from satellite.loc.lab4ict.com (10.1.12.9): icmp_seq=1 ttl=64 time=0.106 ms\r\n\r\n--- satellite.loc.lab4ict.com ping statistics ---\r\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\r\nrtt min\/avg\/max\/mdev = 0.106\/0.106\/0.106\/0.000 ms\r\n<\/pre>\n<h2>\u3059\u3079\u3066\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u7121\u52b9\u5316\u3092\u884c\u306a\u3046\uff01<\/h2>\n<p>\u3059\u3079\u3066\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u7121\u52b9\u5316\u3092\u884c\u306a\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# subscription-manager repos --disable &quot;*&quot;\r\nRepository 'codeready-builder-for-rhel-8-x86_64-eus-source-rpms' is disabled for this system.\r\nRepository 'rhocp-ironic-4.13-for-rhel-8-x86_64-debug-rpms' is disabled for this system.\r\n...\r\n<\/pre>\n<h2>\u7ba1\u7406\u5bfe\u8c61\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u6709\u52b9\u5316\u3092\u884c\u306a\u3046\uff01<\/h2>\n<p>\u7ba1\u7406\u5bfe\u8c61\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u6709\u52b9\u5316\u3092\u884c\u306a\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\nsubscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms \\\r\n--enable=rhel-8-for-x86_64-appstream-rpms\r\nRepository 'rhel-8-for-x86_64-baseos-rpms' is enabled for this system.\r\nRepository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.\r\n<\/pre>\n<h2>\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30af\u30ea\u30a2\u3059\u308b\uff01<\/h2>\n<p>\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf clean all\r\nUpdating Subscription Management repositories.\r\n17 files removed\r\n<\/pre>\n<h2>foreman-release\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>foreman-release\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf install https:\/\/yum.theforeman.org\/releases\/3.5\/el8\/x86_64\/foreman-release.rpm\r\nUpdating Subscription Management repositories.\r\nLast metadata expiration check: 0:00:23 ago on Sat 28 Jan 2023 10:46:32 AM JST.\r\nforeman-release.rpm                                                                      17 kB\/s |  13 kB     00:00    \r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                         Architecture           Version                      Repository                    Size\r\n========================================================================================================================\r\nInstalling:\r\n foreman-release                 noarch                 3.5.1-1.el8                  @commandline                  13 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  1 Package\r\n\r\nTotal size: 13 k\r\nInstalled size: 2.3 k\r\nIs this ok &#x5B;y\/N]: y\r\nDownloading Packages:\r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                                                                1\/1 \r\n  Installing       : foreman-release-3.5.1-1.el8.noarch                                                             1\/1 \r\n  Verifying        : foreman-release-3.5.1-1.el8.noarch                                                             1\/1 \r\nInstalled products updated.\r\n\r\nInstalled:\r\n  foreman-release-3.5.1-1.el8.noarch                                                                                    \r\n\r\nComplete!\r\n<\/pre>\n<h2>Katello\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3059\u308b\uff01<\/h2>\n<p>Katello\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf install https:\/\/yum.theforeman.org\/katello\/4.7\/katello\/el8\/x86_64\/katello-repos-latest.rpm\r\nUpdating Subscription Management repositories.\r\nForeman plugins 3.5                                                                     1.3 MB\/s | 2.0 MB     00:01    \r\nForeman 3.5                                                                             1.2 MB\/s | 1.8 MB     00:01    \r\nLast metadata expiration check: 0:00:01 ago on Sat 28 Jan 2023 10:48:13 AM JST.\r\nkatello-repos-latest.rpm                                                                 42 kB\/s |  16 kB     00:00    \r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                       Architecture           Version                        Repository                    Size\r\n========================================================================================================================\r\nInstalling:\r\n katello-repos                 noarch                 4.7.0-1.el8                    @commandline                  16 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  1 Package\r\n\r\nTotal size: 16 k\r\nInstalled size: 1.4 k\r\nIs this ok &#x5B;y\/N]: y\r\nDownloading Packages:\r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                                                                1\/1 \r\n  Installing       : katello-repos-4.7.0-1.el8.noarch                                                               1\/1 \r\n  Verifying        : katello-repos-4.7.0-1.el8.noarch                                                               1\/1 \r\nInstalled products updated.\r\n\r\nInstalled:\r\n  katello-repos-4.7.0-1.el8.noarch                                                                                      \r\n\r\nComplete!\r\n<\/pre>\n<h2>Puppet 7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Puppet 7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf install https:\/\/yum.puppet.com\/puppet7-release-el-8.noarch.rpm\r\nUpdating Subscription Management repositories.\r\nKatello 4.7                                                                             424 kB\/s | 382 kB     00:00    \r\nCandlepin: an open source entitlement management system.                                 14 kB\/s |  15 kB     00:01    \r\npulpcore: Fetch, Upload, Organize, and Distribute Software Packages.                    257 kB\/s | 269 kB     00:01    \r\npuppet7-release-el-8.noarch.rpm                                                          52 kB\/s |  13 kB     00:00    \r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                         Architecture           Version                      Repository                    Size\r\n========================================================================================================================\r\nInstalling:\r\n puppet7-release                 noarch                 7.0.0-11.el8                 @commandline                  13 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  1 Package\r\n\r\nTotal size: 13 k\r\nInstalled size: 3.6 k\r\nIs this ok &#x5B;y\/N]: y\r\nDownloading Packages:\r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                                                                1\/1 \r\n  Running scriptlet: puppet7-release-7.0.0-11.el8.noarch                                                            1\/1 \r\n  Installing       : puppet7-release-7.0.0-11.el8.noarch                                                            1\/1 \r\n  Running scriptlet: puppet7-release-7.0.0-11.el8.noarch                                                            1\/1 \r\n  Verifying        : puppet7-release-7.0.0-11.el8.noarch                                                            1\/1 \r\nInstalled products updated.\r\n\r\nInstalled:\r\n  puppet7-release-7.0.0-11.el8.noarch                                                                                   \r\n\r\nComplete!\r\n<\/pre>\n<h2>katello\u3068pulpcore\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6709\u52b9\u5316\u3059\u308b\uff01<\/h2>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf module enable katello:el8 pulpcore:el8\r\n...\r\n========================================================================================================================\r\n Package                     Architecture               Version                       Repository                   Size\r\n========================================================================================================================\r\nEnabling module streams:\r\n foreman                                                el8                                                            \r\n katello                                                el8                                                            \r\n pki-core                                               10.6                                                           \r\n pki-deps                                               10.6                                                           \r\n postgresql                                             12                                                             \r\n pulpcore                                               el8                                                            \r\n python39                                               3.9                                                            \r\n ruby                                                   2.7                                                            \r\n\r\nTransaction Summary\r\n========================================================================================================================\r\n\r\nIs this ok &#x5B;y\/N]: y\r\nComplete!\r\n<\/pre>\n<h2>Foreman\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u5168\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u5316\u3059\u308b\uff01<\/h2>\n<p>Foreman\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u5168\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6700\u65b0\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf update\r\n...\r\nwarning: \/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\r\nRed Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                   4.9 MB\/s | 5.0 kB     00:00    \r\nImporting GPG key 0xFD431D51:\r\n Userid     : &quot;Red Hat, Inc. (release key 2) &lt;security@redhat.com&gt;&quot;\r\n Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\r\nIs this ok &#x5B;y\/N]: y\r\nKey imported successfully\r\nImporting GPG key 0xD4082792:\r\n Userid     : &quot;Red Hat, Inc. (auxiliary key) &lt;security@redhat.com&gt;&quot;\r\n Fingerprint: 6A6A A7C9 7C88 90AE C6AE BFE2 F76F 66C3 D408 2792\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\r\nIs this ok &#x5B;y\/N]: y\r\nKey imported successfully\r\nwarning: \/var\/cache\/dnf\/pulpcore-2fc713a3f651fcdb\/packages\/libcomps-0.1.18-4.el8.x86_64.rpm: Header V4 RSA\/SHA256 Signature, key ID 5943cc20: NOKEY\r\npulpcore: Fetch, Upload, Organize, and Distribute Software Packages.                    1.8 kB\/s | 1.7 kB     00:00    \r\nImporting GPG key 0x5943CC20:\r\n Userid     : &quot;Pulpcore Automatic Signing Key (3.21) &lt;packages@theforeman.org&gt;&quot;\r\n Fingerprint: FECA FFA7 F855 10A6 C8CB 9ED5 EB1F 2D56 5943 CC20\r\n From       : https:\/\/yum.theforeman.org\/pulpcore\/3.21\/GPG-RPM-KEY-pulpcore\r\nIs this ok &#x5B;y\/N]: y\r\n...\r\nComplete!\r\n<\/pre>\n<h2>Foreman\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Foreman\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf install foreman-installer-katello\r\nUpdating Subscription Management repositories.\r\nRed Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                    11 kB\/s | 4.1 kB     00:00    \r\nRed Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                 13 kB\/s | 4.5 kB     00:00    \r\nLast metadata expiration check: 0:00:13 ago on Sat 28 Jan 2023 10:51:12 AM JST.\r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                    Arch    Version                                     Repository                         Size\r\n========================================================================================================================\r\nInstalling:\r\n foreman-installer-katello  noarch  1:3.5.1-1.el8                               foreman                            86 k\r\nInstalling dependencies:\r\n dwz                        x86_64  0.12-10.el8                                 rhel-8-for-x86_64-appstream-rpms  109 k\r\n efi-srpm-macros            noarch  3-3.el8                                     rhel-8-for-x86_64-appstream-rpms   22 k\r\n elfutils                   x86_64  0.187-4.el8                                 rhel-8-for-x86_64-baseos-rpms     543 k\r\n foreman-installer          noarch  1:3.5.1-1.el8                               foreman                           1.4 M\r\n gc                         x86_64  7.6.4-3.el8                                 rhel-8-for-x86_64-appstream-rpms  109 k\r\n gdb-headless               x86_64  8.2-19.el8                                  rhel-8-for-x86_64-appstream-rpms  3.7 M\r\n ghc-srpm-macros            noarch  1.4.2-7.el8                                 rhel-8-for-x86_64-appstream-rpms  9.4 k\r\n go-srpm-macros             noarch  2-17.el8                                    rhel-8-for-x86_64-appstream-rpms   13 k\r\n guile                      x86_64  5:2.0.14-7.el8                              rhel-8-for-x86_64-appstream-rpms  3.5 M\r\n katello-certs-tools        noarch  2.9.0-1.el8                                 foreman                            68 k\r\n libatomic_ops              x86_64  7.6.2-3.el8                                 rhel-8-for-x86_64-appstream-rpms   38 k\r\n libbabeltrace              x86_64  1.5.4-4.el8                                 rhel-8-for-x86_64-baseos-rpms     200 k\r\n libipt                     x86_64  1.6.1-8.el8                                 rhel-8-for-x86_64-appstream-rpms   50 k\r\n ocaml-srpm-macros          noarch  5-4.el8                                     rhel-8-for-x86_64-appstream-rpms  9.5 k\r\n openblas-srpm-macros       noarch  2-2.el8                                     rhel-8-for-x86_64-appstream-rpms  8.0 k\r\n patch                      x86_64  2.7.6-11.el8                                rhel-8-for-x86_64-baseos-rpms     138 k\r\n perl-srpm-macros           noarch  1-25.el8                                    rhel-8-for-x86_64-appstream-rpms   11 k\r\n puppet-agent               x86_64  7.21.0-1.el8                                puppet7                            24 M\r\n python-rpm-macros          noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   16 k\r\n python-srpm-macros         noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   15 k\r\n python3-rpm-macros         noarch  3-43.el8                                    rhel-8-for-x86_64-appstream-rpms   15 k\r\n qt5-srpm-macros            noarch  5.15.3-1.el8                                rhel-8-for-x86_64-appstream-rpms   11 k\r\n redhat-rpm-config          noarch  130-1.el8                                   rhel-8-for-x86_64-appstream-rpms   90 k\r\n rpm-build                  x86_64  4.14.3-24.el8_7                             rhel-8-for-x86_64-appstream-rpms  174 k\r\n ruby                       x86_64  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   89 k\r\n ruby-default-gems          noarch  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   74 k\r\n ruby-libs                  x86_64  2.7.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  3.2 M\r\n rubygem-ansi               noarch  1.5.0-3.el8                                 foreman                            32 k\r\n rubygem-clamp              noarch  1.1.2-7.el8                                 foreman                            33 k\r\n rubygem-hashie             noarch  5.0.0-1.el8                                 foreman                            41 k\r\n rubygem-highline           noarch  2.0.3-2.el8                                 foreman                            53 k\r\n rubygem-io-console         x86_64  0.5.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   72 k\r\n rubygem-irb                noarch  1.2.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  117 k\r\n rubygem-json               x86_64  2.3.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   93 k\r\n rubygem-kafo               noarch  6.5.0-1.el8                                 foreman                            89 k\r\n rubygem-kafo_parsers       noarch  1.2.1-1.el8                                 foreman                            16 k\r\n rubygem-kafo_wizards       noarch  0.0.2-2.el8                                 foreman                            16 k\r\n rubygem-little-plugger     noarch  1.1.4-3.el8                                 foreman                            16 k\r\n rubygem-logging            noarch  2.3.1-1.el8                                 foreman                            63 k\r\n rubygem-multi_json         noarch  1.15.0-1.el8                                foreman                            23 k\r\n rubygem-openssl            x86_64  2.1.3-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  198 k\r\n rubygem-powerbar           noarch  2.0.1-3.el8                                 foreman                            14 k\r\n rubygem-psych              x86_64  3.1.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms   97 k\r\n rubygem-rdoc               noarch  6.2.1.1-138.module+el8.6.0+16148+54b2ba8f   rhel-8-for-x86_64-appstream-rpms  455 k\r\n rubygems                   noarch  3.1.6-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  309 k\r\n rust-srpm-macros           noarch  5-2.el8                                     rhel-8-for-x86_64-appstream-rpms  9.3 k\r\n zstd                       x86_64  1.4.4-1.el8                                 rhel-8-for-x86_64-appstream-rpms  393 k\r\nInstalling weak dependencies:\r\n rubygem-bigdecimal         x86_64  2.0.0-138.module+el8.6.0+16148+54b2ba8f     rhel-8-for-x86_64-appstream-rpms  101 k\r\n rubygem-bundler            noarch  2.2.24-138.module+el8.6.0+16148+54b2ba8f    rhel-8-for-x86_64-appstream-rpms  445 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  50 Packages\r\n\r\nTotal download size: 40 M\r\nInstalled size: 77 M\r\nIs this ok &#x5B;y\/N]: y\r\n...\r\nForeman 3.5                                                                             1.6 MB\/s | 1.7 kB     00:00    \r\nImporting GPG key 0x8F5CA95B:\r\n Userid     : &quot;Foreman Automatic Signing Key (3.5) &lt;packages@theforeman.org&gt;&quot;\r\n Fingerprint: 51B9 D1D1 BADA 3F00 1C87 7404 6F7F 9C61 8F5C A95B\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-foreman\r\nIs this ok &#x5B;y\/N]: y\r\nKey imported successfully\r\nPuppet 7 Repository el 8 - x86_64                                                       1.6 MB\/s | 1.7 kB     00:00    \r\nImporting GPG key 0x9E61EF26:\r\n Userid     : &quot;Puppet, Inc. Release Key (Puppet, Inc. Release Key) &lt;release@puppet.com&gt;&quot;\r\n Fingerprint: D681 1ED3 ADEE B844 1AF5 AA8F 4528 B6CD 9E61 EF26\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-2025-04-06-puppet7-release\r\nIs this ok &#x5B;y\/N]: y\r\nKey imported successfully\r\nPuppet 7 Repository el 8 - x86_64                                                       1.4 MB\/s | 1.6 kB     00:00    \r\nImporting GPG key 0xEF8D349F:\r\n Userid     : &quot;Puppet, Inc. Release Key (Puppet, Inc. Release Key) &lt;release@puppet.com&gt;&quot;\r\n Fingerprint: 6F6B 1550 9CF8 E59E 6E46 9F32 7F43 8280 EF8D 349F\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-puppet7-release\r\nIs this ok &#x5B;y\/N]: y\r\n...\r\nComplete!\r\n<\/pre>\n<h2>Chrony\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Chrony\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304c\u3001\u901a\u5e38\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n#  dnf install chrony\r\nUpdating Subscription Management repositories.\r\nLast metadata expiration check: 0:04:15 ago on Sat 28 Jan 2023 11:14:15 AM JST.\r\nPackage chrony-4.2-1.el8.x86_64 is already installed.\r\nDependencies resolved.\r\nNothing to do.\r\nComplete!\r\n<\/pre>\n<h2>Foreman\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3046\uff01<\/h2>\n<p>Foreman\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# foreman-installer --scenario katello \\\r\n&gt; --foreman-initial-organization &quot;Lab4ict&quot; \\\r\n&gt; --foreman-initial-location &quot;Local&quot; \\\r\n&gt; --foreman-initial-admin-username admin \\\r\n&gt; --foreman-initial-admin-password password \\\r\n&gt; --tuning development\r\n2023-01-28 11:42:49 &#x5B;NOTICE] &#x5B;root] Loading installer configuration. This will take some time.\r\n2023-01-28 11:42:55 &#x5B;NOTICE] &#x5B;root] Running installer with log based terminal output at level NOTICE.\r\n2023-01-28 11:42:55 &#x5B;NOTICE] &#x5B;root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.\r\n2023-01-28 11:50:12 &#x5B;NOTICE] &#x5B;configure] Starting system configuration.\r\n2023-01-28 11:54:28 &#x5B;NOTICE] &#x5B;configure] 250 configuration steps out of 1380 steps complete.\r\n2023-01-28 11:55:32 &#x5B;NOTICE] &#x5B;configure] 500 configuration steps out of 1382 steps complete.\r\n2023-01-28 11:57:54 &#x5B;NOTICE] &#x5B;configure] 750 configuration steps out of 1387 steps complete.\r\n2023-01-28 11:58:09 &#x5B;NOTICE] &#x5B;configure] 1000 configuration steps out of 1410 steps complete.\r\n2023-01-28 12:03:23 &#x5B;NOTICE] &#x5B;configure] 1250 configuration steps out of 1410 steps complete.\r\n2023-01-28 12:07:11 &#x5B;NOTICE] &#x5B;configure] System configuration has finished.\r\nExecuting: foreman-rake upgrade:run\r\n=============================================\r\nUpgrade Step 1\/8: katello:correct_repositories. This may take a long while.\r\n=============================================\r\nUpgrade Step 2\/8: katello:clean_backend_objects. This may take a long while.\r\n0 orphaned consumer id(s) found in candlepin.\r\nCandlepin orphaned consumers: &#x5B;]\r\n=============================================\r\nUpgrade Step 3\/8: katello:upgrades:4.0:remove_ostree_puppet_content. =============================================\r\nUpgrade Step 4\/8: katello:upgrades:4.1:sync_noarch_content. =============================================\r\nUpgrade Step 5\/8: katello:upgrades:4.1:fix_invalid_pools. I, &#x5B;2023-01-28T12:07:26.318840 #21323]  INFO -- : Corrected 0 invalid pools\r\nI, &#x5B;2023-01-28T12:07:26.318892 #21323]  INFO -- : Removed 0 orphaned pools\r\n=============================================\r\nUpgrade Step 6\/8: katello:upgrades:4.1:reupdate_content_import_export_perms. =============================================\r\nUpgrade Step 7\/8: katello:upgrades:4.2:remove_checksum_values. =============================================\r\nUpgrade Step 8\/8: katello:upgrades:4.4:publish_import_cvvs.   Success!\r\n  * Foreman is running at https:\/\/satellite.loc.lab4ict.com\r\n      Initial credentials are admin \/ password\r\n  * To install an additional Foreman proxy on separate machine continue by running:\r\n\r\n      foreman-proxy-certs-generate --foreman-proxy-fqdn &quot;$FOREMAN_PROXY&quot; --certs-tar &quot;\/root\/$FOREMAN_PROXY-certs.tar&quot;\r\n  * Foreman Proxy is running at https:\/\/satellite.loc.lab4ict.com:9090\r\n\r\n  The full log is at \/var\/log\/foreman-installer\/katello.log\r\n<\/pre>\n<h2>SSH\u3067\u306e\u63a5\u7d9a\u3092\u53ef\u80fd\u306b\u3059\u308b\uff01<\/h2>\n<p>SSH\u3067\u306e\u63a5\u7d9a\u3092\u53ef\u80fd\u306b\u3059\u308b\u305f\u3081\u3001\u8ffd\u52a0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n#   foreman-installer \\\r\n&gt;   --enable-foreman-plugin-remote-execution \\\r\n&gt;   --enable-foreman-proxy-plugin-remote-execution-script\\\r\n&gt;   --foreman-proxy-plugin-remote-execution-script-enabled=true \\\r\n&gt;   --foreman-proxy-plugin-remote-execution-script-generate-keys=true \\\r\n&gt;   --foreman-proxy-plugin-remote-execution-script-install-key=true\r\n2023-01-29 10:12:46 &#x5B;NOTICE] &#x5B;root] Loading installer configuration. This will take some time.\r\n2023-01-29 10:12:50 &#x5B;NOTICE] &#x5B;root] Running installer with log based terminal output at level NOTICE.\r\n2023-01-29 10:12:50 &#x5B;NOTICE] &#x5B;root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.\r\n2023-01-29 10:12:58 &#x5B;NOTICE] &#x5B;configure] Starting system configuration.\r\n2023-01-29 10:13:16 &#x5B;NOTICE] &#x5B;configure] 250 configuration steps out of 1456 steps complete.\r\n2023-01-29 10:13:23 &#x5B;NOTICE] &#x5B;configure] 500 configuration steps out of 1458 steps complete.\r\n2023-01-29 10:13:27 &#x5B;NOTICE] &#x5B;configure] 750 configuration steps out of 1463 steps complete.\r\n2023-01-29 10:13:27 &#x5B;NOTICE] &#x5B;configure] 1000 configuration steps out of 1467 steps complete.\r\n2023-01-29 10:13:56 &#x5B;NOTICE] &#x5B;configure] 1250 configuration steps out of 1467 steps complete.\r\n2023-01-29 10:14:12 &#x5B;NOTICE] &#x5B;configure] System configuration has finished.\r\nExecuting: foreman-rake upgrade:run\r\n=============================================\r\nUpgrade Step 1\/2: katello:correct_repositories. This may take a long while.\r\nProcessing Repository 1\/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.6 (1)\r\nProcessing Repository 2\/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.4 (2)\r\nProcessing Repository 3\/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8 (3)\r\nProcessing Repository 4\/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.4 (4)\r\nProcessing Repository 5\/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.6 (5)\r\nProcessing Repository 6\/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8 (6)\r\nProcessing Repository 7\/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream - Extended Update Support RPMs 8.6 (7)\r\nProcessing Repository 8\/10: Red Hat Enterprise Linux 8 for x86_64 - AppStream - Extended Update Support RPMs 8.4 (8)\r\nProcessing Repository 9\/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support RPMs 8.6 (9)\r\nProcessing Repository 10\/10: Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support RPMs 8.4 (10)\r\n=============================================\r\nUpgrade Step 2\/2: katello:clean_backend_objects. This may take a long while.\r\n0 orphaned consumer id(s) found in candlepin.\r\nCandlepin orphaned consumers: &#x5B;]\r\n  Success!\r\n  * Foreman is running at https:\/\/satellite.loc.lab4ict.com\r\n  * To install an additional Foreman proxy on separate machine continue by running:\r\n\r\n      foreman-proxy-certs-generate --foreman-proxy-fqdn &quot;$FOREMAN_PROXY&quot; --certs-tar &quot;\/root\/$FOREMAN_PROXY-certs.tar&quot;\r\n  * Foreman Proxy is running at https:\/\/satellite.loc.lab4ict.com:9090\r\n\r\n  The full log is at \/var\/log\/foreman-installer\/katello.log\r\n<\/pre>\n<h2>Foreman\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\uff01<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u6642\u306b\u8868\u793a\u3055\u308c\u305fURL\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u4eca\u56de\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nhttps:\/\/satellite.loc.lab4ict.com\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Foreman with Katello\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u304b\u306a\u308a\u306e\u9577\u624b\u9806\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.theforeman.org\/\" target=\"_blank\" rel=\"noopener\">Foreman and Katello Documentation<\/a><\/li>\n<li><a href=\"https:\/\/access.redhat.com\/documentation\/ja-jp\/red_hat_satellite\" target=\"_blank\" rel=\"noopener\">Product Documentation for Red Hat Satellite<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/4965\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_rhel_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H8WqP7\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41Hsgz5kRSL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Foreman &#038; Katello\u306e\u30b5\u30fc\u30d0\u74b0\u5883\u3092RHEL 8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001RHEL\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u7ba1\u7406\u3092\u884c\u3044\u307e\u3059\u3002RHEL\u306e\u516c\u5f0f\u306e\u65b9\u6cd5\u306f\u3001Satellite\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u304c\u3001\u307b\u307c\u540c\u3058\u65b9\u6cd5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u7ba1\u7406\u304c\u884c\u3048\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5291,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[204],"tags":[651,652,308,315,650,52],"class_list":["post-8482","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel-packages","tag-foreman","tag-katello","tag-rhel","tag-rhel-8","tag-satellite","tag-52"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=8482"}],"version-history":[{"count":4,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8482\/revisions"}],"predecessor-version":[{"id":9989,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8482\/revisions\/9989"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5291"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=8482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=8482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=8482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}