Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-3931

When all extensions are installed, "libkadm5" rpm package is duplicated in the `rpm -q` command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.12.0
    • RHCOS
    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When we install all the extensions and we execute the command "rpm -q libkadm5" to verify that the kerberos extension installed the libkadm5 package properly, the rpm command shows a duplicated "libkadm5" package.
      
      sh-4.4# rpm -q libkadm5
      libkadm5-1.18.2-14.el8.x86_64     <<<--
      libkadm5-1.18.2-14.el8.x86_64     <<<-- DUPLICATED
      

      Version-Release number of selected component (if applicable):

      IPI on AWS 
      $ oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.12.0-0.nightly-2022-11-19-191518   True        False         3h11m   Cluster version is 4.12.0-0.nightly-2022-11-19-191518
      

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a MC to install all the extensions
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        labels:
          machineconfiguration.openshift.io/role: worker
        name: all-extensions
      spec:
        config:
          ignition:
            version: 3.2.0
        extensions:
          - "usbguard"
          - "kerberos"
          - "kernel-devel"
          - "sandboxed-containers"
      
      
      2. Wait for the pools to be updated
      
      3. Check that the "libkadm5" rpm package was installed in the worker nodes
      $ oc debug node/....
      ......
      # rpm -q libkadm5
      
      
      

      Actual results:

      The package is reported as duplicated
      
      $ oc debug node/ip-10-0-135-93.us-east-2.compute.internal
      Starting pod/ip-10-0-135-93us-east-2computeinternal-debug ...
      To use host binaries, run `chroot /host`
      Pod IP: 10.0.135.93
      If you don't see a command prompt, try pressing enter.
      sh-4.4# chroot /host
      sh-4.4# rpm -q krb5-workstation
      krb5-workstation-1.18.2-14.el8.x86_64
      sh-4.4# rpm -q libkadm5
      libkadm5-1.18.2-14.el8.x86_64   <<
      libkadm5-1.18.2-14.el8.x86_64   <<---- DUPLICATED
      sh-4.4# echo $?
      0
      
       

      Expected results:

      The "rpm -q libkadm5" command should report only one "libkadm5" package
       

      Additional info:

      When only the kerberos extension is installed (and not the rest of the extensions) the packages are reported properly
      
      sh-4.4# rpm -q libkadm5
      libkadm5-1.18.2-14.el8.x86_64
      sh-4.4# rpm -q krb5-workstation
      krb5-workstation-1.18.2-14.el8.x86_64
      sh-4.4#
       

       

       

       

            hhei@redhat.com Huijing Hei
            sregidor@redhat.com Sergio Regidor de la Rosa
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: