Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-27364

[4.15] Regression in multinamespace installation mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.15
    • OLM
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Attempt to install Data Grid Operator in MultiNamespace install mode no longer works with 4.15 using the same configuration as with 4.14.
          

      Version-Release number of selected component (if applicable):

      
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Install Data Grid Operator in a specific namespace
          2. Edit Operator group so it targets different namespace
          

      Actual results:

      W0118 12:49:43.247738 1 reflector.go:324] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: failed to list *v1.Infinispan: infinispans.infinispan.org is forbidden: User "system:serviceaccount:datagrid-operator:infinispan-operator-controller-manager" cannot list resource "infinispans" in API group "infinispan.org" in the namespace "datagrid-cluster"
      W0118 12:49:43.247760 1 reflector.go:324] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: failed to list *v2alpha1.Cache: caches.infinispan.org is forbidden: User "system:serviceaccount:datagrid-operator:infinispan-operator-controller-manager" cannot list resource "caches" in API group "infinispan.org" in the namespace "datagrid-cluster"
      E0118 12:49:43.247767 1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: Failed to watch *v1.Infinispan: failed to list *v1.Infinispan: infinispans.infinispan.org is forbidden: User "system:serviceaccount:datagrid-operator:infinispan-operator-controller-manager" cannot list resource "infinispans" in API group "infinispan.org" in the namespace "datagrid-cluster"
      E0118 12:49:43.247772 1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:158: Failed to watch *v2alpha1.Cache: failed to list *v2alpha1.Cache: caches.infinispan.org is forbidden: User "system:serviceaccount:datagrid-operator:infinispan-operator-controller-manager" cannot list resource "caches" in API group "infinispan.org" in the namespace "datagrid-cluster"
          

      Expected results:

      Expected results are that the Operator will be normally able to manage targetNamespace as specified.
          

      Additional info:

      SingleNamespace and AllNamespace mode work fine. Given the MultiNamespace install mode works fine with 4.14 I assume there is either a regression or a change in requirements. Nevertheless I wasn't able to find the root cause, therefore opening an issue against OCPBUGS.
          

            agreene1991 Alexander Greene
            rhn-support-pdrobek Pavel Drobek
            Jian Zhang Jian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: