Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-463

Operator metrics errors - Failed to watch/list *unstructured.Unstructured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.9.1.GA
    • 7.9.0.GA
    • Operator
    • None

      Continuous errors in operator logs, e.g. -

      E1111 11:02:26.467503 1 reflector.go:127] github.com/operator-framework/operator-sdk/pkg/kube-metrics/store.go:101: Failed to watch *unstructured.Unstructured: unknown 
      E1111 11:02:39.102263 1 reflector.go:127] github.com/operator-framework/operator-sdk/pkg/kube-metrics/store.go:101: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: pods "portforward" not found 
      E1111 11:02:44.919899 1 reflector.go:127] github.com/operator-framework/operator-sdk/pkg/kube-metrics/store.go:101: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: pods "proxy" not found 
      E1111 11:03:03.470657 1 reflector.go:127] github.com/operator-framework/operator-sdk/pkg/kube-metrics/store.go:101: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: pods "exec" not found
      

      This is due to a faulty metrics configuration at operator startup

              tohughes Tommy Hughes
              tohughes Tommy Hughes
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: