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

[Operator] HotRodMigration upgrade is broken

XMLWordPrintable

      Attempt to upgrade server from 8.3.1-1 (8.3.9 CSV) to 8.4.0-x (8.4.0/1 CSV) will fail using HotRodMigration upgrade strategy will fail as Operator is unable to find external service.

      Tested on OpenShift using Route exposure it seems that Operator is looking for wrong resource.

      ERROR controllers.Infinispan.HotRodRollingUpgrade error encountered on rollback {"infinispan": "datagrid/test-rolling-upgrade", "error": "Service \"test-rolling-upgrade-external\" not found"}
      github.com/go-logr/zapr.(*zapLogger).Error
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/github.com/go-logr/zapr/zapr.go:132
      github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/handler/manage.HotRodRollingUpgrade
      /root/go/src/github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/handler/manage/hotrod_upgrades.go:98
      github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan.HandlerFunc.Handle
      /root/go/src/github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/api.go:40
      github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/pipeline.invokeHandler
      /root/go/src/github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/pipeline/pipeline.go:60
      github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/pipeline.(*impl).Process
      /root/go/src/github.com/infinispan/infinispan-operator/pkg/reconcile/pipeline/infinispan/pipeline/pipeline.go:42
      github.com/infinispan/infinispan-operator/controllers.(*InfinispanReconciler).Reconcile
      /root/go/src/github.com/infinispan/infinispan-operator/controllers/infinispan.go:236
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:263
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      /root/go/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
      /root/go/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
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185
      k8s.io/apimachinery/pkg/util/wait.UntilWithContext
      /root/go/src/github.com/infinispan/infinispan-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:99
      

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

                Created:
                Updated:
                Resolved: