Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-6128

[Operator] Change log level of 'waiting for cluster to form' to trace/debug

XMLWordPrintable

      Error message bellow is printed several times in the Operator log every time user brings back cluster after shutdown. From the error message is clear that the Operator is waiting and suggest that it's expected behavior. As such there is no need to communicate it out as an error and debug/trace message (without stacktrace?) would be more appropriate with the possible to send an event to Infinispan CR.

      ERROR	controller-runtime.manager.controller.infinispan	Reconciler error	{"reconciler group": "infinispan.org", "reconciler kind": "Infinispan", "name": "infinispan", "namespace": "datagrid", "error": "waiting for cluster of 2 members to form"}
      github.com/go-logr/zapr.(*zapLogger).Error
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/github.com/go-logr/zapr/zapr.go:132
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:267
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:198
      k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185
      k8s.io/apimachinery/pkg/util/wait.UntilWithContext
      	/remote-source/deps/gomod/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:9
      

              remerson@redhat.com Ryan Emerson
              pdrobek@redhat.com Pavel Drobek (Inactive)
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: