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

The gather job restart loop when upload incorrect password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20, 4.21.0
    • must-gather
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          If an incorrect password is entered, multiple retries and pod re-creation will occur, which seems wasteful of resources. Once the password error is confirmed, it's unnecessary to repeatedly collect logs

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

          

      How reproducible:

          Permission denied, please try again.
      
      jitli@jitlideMacBook-Pro:~/work/src/test/must-gather$ oc get pods
      NAME                                    READY   STATUS      RESTARTS   AGE
      must-gather-operator-798bf4b67b-4x25c   1/1     Running     0          98m
      support-log-gather-jitli-bnjrv          0/2     Completed   0          33m
      support-log-gather-jitli-ddw2j          0/2     Completed   0          23m
      support-log-gather-jitli-rdfgg          2/2     Running     0          5m9s
      support-log-gather-jitli-x5gk2          0/2     Completed   0          14m

      Steps to Reproduce:

          1.Create a Secret with a fake password
      
          2.Create MustGather and check the pod log
      
          Permission denied, please try again.
      
          3. pod restart after gather again and again
      jitli@jitlideMacBook-Pro:~/work/src/test/must-gather$ oc get pods
      NAME                                    READY   STATUS      RESTARTS   AGE
      must-gather-operator-798bf4b67b-4x25c   1/1     Running     0          98m
      support-log-gather-jitli-bnjrv          0/2     Completed   0          33m
      support-log-gather-jitli-ddw2j          0/2     Completed   0          23m
      support-log-gather-jitli-rdfgg          2/2     Running     0          5m9s
      support-log-gather-jitli-x5gk2          0/2     Completed   0          14m     

      Actual results:

          pod restart after gather again and again

      Expected results:

           Need some analysis on confirming that it's incorrect password issue.

      Additional info:

          

              tgeer@redhat.com Trilok Geer
              rhn-support-jitli Keenon Lee
              None
              None
              Keenon Lee Keenon Lee
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: