Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12889

Fail to deploy the Fuse console with operator on OCP 3.11

XMLWordPrintable

    • % %
    • Hide
      1. Use the https://github.com/hawtio/hawtio-operator project
      2. In Makefile, change the name of the namespace to the namespace created by you
      3. In deploy/operator.yaml file:
      • change the image for hawtio operator to registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-console-operator:1.6-6
      • add fuse console image:
         - name: IMAGE_REPOSITORY
                       value: registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-console
        

        4. In deploy/crds/hawtio_v1alpha1_hawtio_cr.yaml, change the version to 1.6-5
        5. perform make install and make deploy
        6. oc apply -f deploy/crds/hawtio_v1alpha1_hawtio_cr.yaml

      Show
      Use the https://github.com/hawtio/hawtio-operator project In Makefile, change the name of the namespace to the namespace created by you In deploy/operator.yaml file: change the image for hawtio operator to registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-console-operator:1.6-6 add fuse console image: - name: IMAGE_REPOSITORY value: registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-console 4. In deploy/crds/hawtio_v1alpha1_hawtio_cr.yaml, change the version to 1.6-5 5. perform make install and make deploy 6. oc apply -f deploy/crds/hawtio_v1alpha1_hawtio_cr.yaml

      There is error in operator logs, when I'm trying to deploy fuse console with operator:

      {"level":"error","ts":1580396781.3898413,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"hawtio-controller","request":"fc-operator-tests/example-hawtio","error":"clusterversions.config.openshift.io \"version\" is forbidden: User \"system:serviceaccount:fc-operator-tests:hawtio-operator\" cannot get clusterversions.config.openshift.io at the cluster scope: no RBAC policy matched","stacktrace":"github.com/hawtio/hawtio-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:218\ngithub.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:192\ngithub.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:171\ngithub.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).(github.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.worker)-fm\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:157\ngithub.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152\ngithub.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153\ngithub.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/hawtio/hawtio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      

            astefanu@redhat.com Antonin Stefanutti
            ldrozdo Lucia Drozdova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: