Uploaded image for project: 'Origin Community Distribution of Kuberentes'
  1. Origin Community Distribution of Kuberentes
  2. OKD-219

Resolve differences between RHEL and CentOS Stream base images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      After some investigation, the issues we have seen with util-linux missing from some images are due to the CentOS Stream base image not installing subscription-manager

       

      [root@92063ff10998 /]# yum install subscription-manager
      CentOS Stream 9 - BaseOS                                                                                                                                                                                      3.3 MB/s | 8.9 MB     00:02    
      CentOS Stream 9 - AppStream                                                                                                                                                                                   2.1 MB/s |  17 MB     00:08    
      CentOS Stream 9 - Extras packages                                                                                                                                                                              14 kB/s |  17 kB     00:01    
      Dependencies resolved.
      ==============================================================================================================================================================================================================================================
       Package                                                                        Architecture                                    Version                                                  Repository                                      Size
      ==============================================================================================================================================================================================================================================
      Installing:
       subscription-manager                                                           aarch64                                         1.29.40-1.el9                                            baseos                                         911 k
      Installing dependencies:
       acl                                                                            aarch64                                         2.3.1-4.el9                                              baseos                                          71 k
       checkpolicy                                                                    aarch64                                         3.6-1.el9                                                baseos                                         348 k
       cracklib                                                                       aarch64                                         2.9.6-27.el9                                             baseos                                          95 k
       cracklib-dicts                                                                 aarch64                                         2.9.6-27.el9                                             baseos                                         3.6 M
       dbus                                                                           aarch64                                         1:1.12.20-8.el9                                          baseos                                         3.7 k
       dbus-broker                                                                    aarch64                                         28-7.el9                                                 baseos                                         166 k
       dbus-common                                                                    noarch                                          1:1.12.20-8.el9                                          baseos                                          15 k
       dbus-libs                                                                      aarch64                                         1:1.12.20-8.el9                                          baseos                                         150 k
       diffutils                                                                      aarch64                                         3.7-12.el9                                               baseos                                         392 k
       dmidecode                                                                      aarch64                                         1:3.3-7.el9                                              baseos                                          70 k
       gobject-introspection                                                          aarch64                                         1.68.0-11.el9                                            baseos                                         248 k
       iproute                                                                        aarch64                                         6.2.0-5.el9                                              baseos                                         818 k
       kmod-libs                                                                      aarch64                                         28-9.el9                                                 baseos                                          62 k
       libbpf                                                                         aarch64                                         2:1.3.0-2.el9                                            baseos                                         172 k
       libdb                                                                          aarch64                                         5.3.28-53.el9                                            baseos                                         712 k
       libdnf-plugin-subscription-manager                                             aarch64                                         1.29.40-1.el9                                            baseos                                          63 k
       libeconf                                                                       aarch64                                         0.4.1-4.el9                                              baseos                                          26 k
       libfdisk                                                                       aarch64                                         2.37.4-18.el9                                            baseos                                         150 k
       libmnl                                                                         aarch64                                         1.0.4-16.el9                                             baseos                                          28 k
       libpwquality                                                                   aarch64                                         1.4.4-8.el9                                              baseos                                         119 k
       libseccomp                                                                     aarch64                                         2.5.2-2.el9                                              baseos                                          72 k
       libselinux-utils                                                               aarch64                                         3.6-1.el9                                                baseos                                         190 k
       libuser                                                                        aarch64                                         0.63-13.el9                                              baseos                                         405 k
       libutempter                                                                    aarch64                                         1.2.1-6.el9                                              baseos                                          27 k
       openssl                                                                        aarch64                                         1:3.2.1-1.el9                                            baseos                                         1.3 M
       pam                                                                            aarch64                                         1.5.1-19.el9                                             baseos                                         627 k
       passwd                                                                         aarch64                                         0.80-12.el9                                              baseos                                         121 k
       policycoreutils                                                                aarch64                                         3.6-2.1.el9                                              baseos                                         242 k
       policycoreutils-python-utils                                                   noarch                                          3.6-2.1.el9                                              baseos                                          77 k
       psmisc                                                                         aarch64                                         23.4-3.el9                                               baseos                                         243 k
       python3-audit                                                                  aarch64                                         3.1.2-2.el9                                              baseos                                          83 k
       python3-chardet                                                                noarch                                          4.0.0-5.el9                                              baseos                                         239 k
       python3-cloud-what                                                             aarch64                                         1.29.40-1.el9                                            baseos                                          77 k
       python3-dateutil                                                               noarch                                          1:2.8.1-7.el9                                            baseos                                         288 k
       python3-dbus                                                                   aarch64                                         1.2.18-2.el9                                             baseos                                         144 k
       python3-decorator                                                              noarch                                          4.4.2-6.el9                                              baseos                                          28 k
       python3-distro                                                                 noarch                                          1.5.0-7.el9                                              baseos                                          37 k
       python3-dnf-plugins-core                                                       noarch                                          4.3.0-15.el9                                             baseos                                         264 k
       python3-gobject-base                                                           aarch64                                         3.40.1-6.el9                                             baseos                                         184 k
       python3-gobject-base-noarch                                                    noarch                                          3.40.1-6.el9                                             baseos                                         161 k
       python3-idna                                                                   noarch                                          2.10-7.el9.1                                             baseos                                         102 k
       python3-iniparse                                                               noarch                                          0.4-45.el9                                               baseos                                          47 k
       python3-inotify                                                                noarch                                          0.9.6-25.el9                                             baseos                                          53 k
       python3-librepo                                                                aarch64                                         1.14.5-2.el9                                             baseos                                          48 k
       python3-libselinux                                                             aarch64                                         3.6-1.el9                                                baseos                                         183 k
       python3-libsemanage                                                            aarch64                                         3.6-1.el9                                                baseos                                          79 k
       python3-policycoreutils                                                        noarch                                          3.6-2.1.el9                                              baseos                                         2.1 M
       python3-pysocks                                                                noarch                                          1.7.1-12.el9                                             baseos                                          35 k
       python3-requests                                                               noarch                                          2.25.1-8.el9                                             baseos                                         125 k
       python3-setools                                                                aarch64                                         4.4.4-1.el9                                              baseos                                         595 k
       python3-setuptools                                                             noarch                                          53.0.0-12.el9                                            baseos                                         944 k
       python3-six                                                                    noarch                                          1.15.0-9.el9                                             baseos                                          37 k
       python3-subscription-manager-rhsm                                              aarch64                                         1.29.40-1.el9                                            baseos                                         162 k
       python3-systemd                                                                aarch64                                         234-18.el9                                               baseos                                          89 k
       python3-urllib3                                                                noarch                                          1.26.5-5.el9                                             baseos                                         215 k
       subscription-manager-rhsm-certificates                                         noarch                                          20220623-1.el9                                           baseos                                          21 k
       systemd                                                                        aarch64                                         252-33.el9                                               baseos                                         4.0 M
       systemd-libs                                                                   aarch64                                         252-33.el9                                               baseos                                         641 k
       systemd-pam                                                                    aarch64                                         252-33.el9                                               baseos                                         271 k
       systemd-rpm-macros                                                             noarch                                          252-33.el9                                               baseos                                          69 k
       usermode                                                                       aarch64                                         1.114-4.el9                                              baseos                                         189 k
       util-linux                                                                     aarch64                                         2.37.4-18.el9                                            baseos                                         2.3 M
       util-linux-core                                                                aarch64                                         2.37.4-18.el9                                            baseos                                         463 k
       virt-what                                                                      aarch64                                         1.25-5.el9                                               baseos                                          33 k
       which                                                                          aarch64                                         2.21-29.el9                                              baseos                                          41 kTransaction Summary
      ==============================================================================================================================================================================================================================================
      Install  66 PackagesTotal download size: 26 M
      Installed size: 92 M
      Is this ok [y/N]: 
       

      subscription-manager does bring in quite a few things. we can probably get away with installing 

      systemd util-linux iproute dbus

      we may hit some edge cases still where something works in OCP but doesn't in OKD due to a missing package.  we have hit at least 6 or 7 containers using tools from util-linux so far.

            Unassigned Unassigned
            dgilmore.fedora Dennis Gilmore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: