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

Operator fails to create service for operator metrics

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: maistra-0.11.0
    • Fix Version/s: None
    • Component/s: operator
    • Labels:
      None

      Description

      The operator log shows the following error:

      ERROR   metrics metrics/metrics.go:54   failed to create service for operator metrics   {"error": "an empty namespace may not be set during creation"}
      github.com/maistra/istio-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error
              /builddir/build/BUILD/OPERATOR/src/github.com/maistra/istio-operator/vendor/github.com/go-logr/zapr/zapr.go:128
      github.com/maistra/istio-operator/vendor/github.com/operator-framework/operator-sdk/pkg/metrics.ExposeMetricsPort
              /builddir/build/BUILD/OPERATOR/src/github.com/maistra/istio-operator/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/metrics.go:54
      main.main
              /builddir/build/BUILD/OPERATOR/src/github.com/maistra/istio-operator/cmd/manager/main.go:107
      runtime.main
              /usr/lib/golang/src/runtime/proc.go:198
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mluksa Marko Luksa
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: