Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2008

Errors encountered running must-gather on OSSM 2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • maistra-2.0.1
    • None
    • must gather
    • None
    • MAISTRA 2.0.1

    Description

      There are some errors encountered at the beginning of the must-gather scripts. This is true across both Maistra and OSSM

      oc adm must-gather --image=registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel7:2.0.0
      [must-gather      ] OUT Using must-gather plugin-in image: registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel7:2.0.0
      [must-gather      ] OUT namespace/openshift-must-gather-vk6h2 created
      [must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-t9wq7 created
      [must-gather      ] OUT pod for plug-in image registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel7:2.0.0 created
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD Executing Istio gather script
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD Collecting resources for namespace istio-system
      [must-gather-b8p9m] POD error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
      [must-gather-b8p9m] POD 	template was:
      [must-gather-b8p9m] POD 	        {.items[0].metadata.name}
      [must-gather-b8p9m] POD 	object given to jsonpath engine was:
      [must-gather-b8p9m] POD 	        map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD error: expected 'exec (POD | TYPE/NAME) COMMAND [ARG1] [ARG2] ... [ARGN]'.
      [must-gather-b8p9m] POD POD or TYPE/NAME and COMMAND are required arguments for the exec command
      [must-gather-b8p9m] POD See 'oc exec -h' for help and examples
      [must-gather-b8p9m] POD Wrote inspect data to /must-gather.
      [must-gather-b8p9m] POD Wrote inspect data to /must-gather.
      [must-gather-b8p9m] POD error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
      [must-gather-b8p9m] POD 	template was:
      [must-gather-b8p9m] POD 	        {.items[0].metadata.name}
      [must-gather-b8p9m] POD 	object given to jsonpath engine was:
      [must-gather-b8p9m] POD 	        map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD Collecting Envoy config for pods in istio-system, control plane namespace istio-system
      [must-gather-b8p9m] POD Collecting config for pod istio-egressgateway-9d7dcd665-b2vbp.istio-system
      [must-gather-b8p9m] POD error: expected 'exec (POD | TYPE/NAME) COMMAND [ARG1] [ARG2] ... [ARGN]'.
      [must-gather-b8p9m] POD POD or TYPE/NAME and COMMAND are required arguments for the exec command
      [must-gather-b8p9m] POD See 'oc exec -h' for help and examples
      [must-gather-b8p9m] POD Collecting config for pod istio-ingressgateway-7f478c8548-57pc2.istio-system
      [must-gather-b8p9m] POD error: expected 'exec (POD | TYPE/NAME) COMMAND [ARG1] [ARG2] ... [ARGN]'.
      [must-gather-b8p9m] POD POD or TYPE/NAME and COMMAND are required arguments for the exec command
      [must-gather-b8p9m] POD See 'oc exec -h' for help and examples
      [must-gather-b8p9m] POD Collecting config for pod prometheus-59c6b846b8-mz75q.istio-system
      [must-gather-b8p9m] POD error: expected 'exec (POD | TYPE/NAME) COMMAND [ARG1] [ARG2] ... [ARGN]'.
      [must-gather-b8p9m] POD POD or TYPE/NAME and COMMAND are required arguments for the exec command
      [must-gather-b8p9m] POD See 'oc exec -h' for help and examples
      [must-gather-b8p9m] POD Processing istio-system member <nil>
      [must-gather-b8p9m] POD error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
      [must-gather-b8p9m] POD 	template was:
      [must-gather-b8p9m] POD 	        {.items[0].metadata.name}
      [must-gather-b8p9m] POD 	object given to jsonpath engine was:
      [must-gather-b8p9m] POD 	        map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}}
      [must-gather-b8p9m] POD
      [must-gather-b8p9m] POD
      
      

      Attachments

        Activity

          People

            yuaxu@redhat.com Yuanlin Xu
            bravery300 Brian Avery (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: