Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5929

must-gather don't work as expected when use image CLO:6.0

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Release Note Not Required

      Description of problem:

      There are several issues when run oc adm must-gather --image <clo:6.0>

      1) we should print warning rather than info when 5.x resource can not be found.
      2) The namespace(fluetnd-aosqe) in which CLF is deployed is treat as resource
      3) invalid directory: ''$'\n''fluentd-aosqe'
      4) Only file 'version' in directory cluster-logging/clo/''$'\n''fluentd-aosqe'.
      5) need add COO resource in must-gather report

      error: arguments in resource/name form must have a single resource and name
      error: arguments in resource/name form must have a single resource and name
      error: the server doesn't have a resource type "fluentd-aosqe"
      error: the server doesn't have a resource type "fluentd-aosqe"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"

      How reproducible:

      Always

      Steps to Reproduce:

      1. oc adm must-gather --image=registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator@sha256:aa048e7f4dcff187f3020c0021f291bd6b7f3d593e9a39fa00c97a000b206789
      2. Check the must-gather files
      #cat gather-debug.log |grep error: 
      error: arguments in resource/name form must have a single resource and name
      error: arguments in resource/name form must have a single resource and name
      error: the server doesn't have a resource type "fluentd-aosqe"
      error: the server doesn't have a resource type "fluentd-aosqe"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogforwarder"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogging"
      error: the server doesn't have a resource type "clusterlogforwarder"
      
      
       ls cluster-logging/clo/
      ''$'\n''fluentd-aosqe'   openshift-logging
      
      ls cluster-logging/clo/''$'\n''fluentd-aosqe'
      version
      

              jcantril@redhat.com Jeffrey Cantrill
              rhn-support-anli Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: