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

[ibm-vpc-block-csi-driver-operator] getEncryptionKeyHook util output duplicated debug logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • premerge
    • Storage / Operators
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      [ibm-vpc-block-csi-driver-operator] getEncryptionKeyHook util output duplicated debug logs

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

      $ oc version
      Client Version: 4.14.0-0.nightly-2023-08-11-055332
      Kustomize Version: v5.0.1
      Server Version: 4.15.0-0.test-2023-11-28-064831-ci-ln-8kc5lcb-latest
      Kubernetes Version: v1.28.3+20a5764
      How reproducible:
      Always

      Steps to Reproduce:

      1. Install an OCP cluster on ibmcloud.
      2. Change the ibm-vpc-block-csi-driver-operator logLevel to DEBUG level by edit the storage CR
      3. Check the ibm-vpc-block-csi-driver-operator getEncryptionKeyHook related logs 

      Actual results:

      At step 3: getEncryptionKeyHook prints duplicated debug log infos
      $ oc logs ibm-vpc-block-csi-driver-operator-67d95dd5df-htgfh | grep  'No IBMCloudCSIDriverConfigSpec'|wc -l
      108
      $ oc logs ibm-vpc-block-csi-driver-operator-67d95dd5df-htgfh | grep  'Setting encryptionKey = crn:v1:bluemix:public:kms:eu-gb:a/fdc2e14cf8bc4d53a67f972dc2e2c861:70691649-8640-41c5-9af8-68ebbdd8c660:key:ed70d7a5-bec8-47cd-8a05-ef224226432c in StorageClass ibmc-vpc-block-custom'| wc -l
      130

      Expected results:

      At step 3: for the getEncryptionKeyHook should not print duplicated debug log infos

      Additional info:

      For GCP, AWS and Azure csi driver operator seems also have similar issues

              jdobson@redhat.com Jonathan Dobson
              rhn-support-pewang Penghao Wang
              Penghao Wang Penghao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: