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

`oc adm must-gather` should not exit code 1 when cluster with abnormal operator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.14.0
    • 4.13
    • oc
    • None
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      when cluster with abnormal operator status , run the `oc adm must-gather` will exit with code 1 .
      

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

      4.12/4.13
      

      Actual results:

           [must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-gfcpc deleted
            
            
            Reprinting Cluster State:
            When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
            ClusterID: 0ba6ca81-e6d8-4d15-b345-70f81bd5a005
            ClusterVersion: Stable at "4.13.0-0.nightly-2023-04-01-062001"
            ClusterOperators:
            	clusteroperator/cloud-credential is not upgradeable because Upgradeable annotation cloudcredential.openshift.io/upgradeable-to on cloudcredential.operator.openshift.io/cluster object needs updating before upgrade. See Manually Creating IAM documentation for instructions on preparing a cluster for upgrade.
            	clusteroperator/ingress is progressing: ingresscontroller "test-34166" is progressing: IngressControllerProgressing: One or more status conditions indicate progressing: DeploymentRollingOut=True (DeploymentRollingOut: Waiting for router deployment rollout to finish: 0 of 1 updated replica(s) are available...
            ).
            Not all ingress controllers are available.
            
            
            
            STDERR:
            error: yaml: line 7: did not find expected key
            [08:06:46] INFO> Exit Status: 1
      Expected results:
      {code:none}
      abnormal status of any of the operators should not affect must-gather's exit code

      Additional info:

      Attachments

        Activity

          People

            aguclu@redhat.com Arda Guclu
            yinzhou@redhat.com ying zhou
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: