Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-343

Workbench and Kie server pods cannot query OpenShift routes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.6.0.GA
    • 7.6.0.GA
    • Operator
    • None

    Description

      When Workbench and Kie server pods start they try to query OpenShift API. However this requests fail because of missing access rights.
      This affects communication between Workbench and Kie server, making it basically unusable.

      �[0;33mWARN Fail to query the Route using the Kubernetes API, the Service Account might not have the necessary privileges; defaulting to protocol [http].�[0m
      �[0;33mWARN Response message: { "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "routes.route.openshift.io \"aaa-kieserver\" is forbidden: User \"system:serviceaccount:ksuta-test:aaa-rhdmsvc\" cannot get resource \"routes\" in API group \"route.openshift.io\" in the namespace \"ksuta-test\"", "reason": "Forbidden", "details": { "name": "aaa-kieserver", "group": "route.openshift.io", "kind": "routes" }, "code": 403 } - HTTP Status code: 403�[0m
      �[0;33mWARN Fail to query the Route using the Kubernetes API, the Service Account might not have the necessary privileges; defaulting to host [10.131.3.182].�[0m
      �[0;33mWARN Response message: { "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "routes.route.openshift.io \"aaa-kieserver\" is forbidden: User \"system:serviceaccount:ksuta-test:aaa-rhdmsvc\" cannot get resource \"routes\" in API group \"route.openshift.io\" in the namespace \"ksuta-test\"", "reason": "Forbidden", "details": { "name": "aaa-kieserver", "group": "route.openshift.io", "kind": "routes" }, "code": 403 } - HTTP Status code: 403�[0m
      

      This may be related to changes made in https://github.com/kiegroup/kie-cloud-operator/pull/285

      Attachments

        Issue Links

          Activity

            People

              tohughes Tommy Hughes
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: