Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1163

Call to Jobs service fails on OpenShift

XMLWordPrintable

    • Hide

      Create a quarkus process with job node, add jobs-management-quarkus-addon into pom file.
      Deploy the process into OpenShift using Kogito operator, spin up also Job instance.
      Call the process => error is thrown.

      Show
      Create a quarkus process with job node, add jobs-management-quarkus-addon into pom file. Deploy the process into OpenShift using Kogito operator, spin up also Job instance. Call the process => error is thrown.
    • 2020 Week 10-12 (from Mar 2)

      Timer node execution fails on OpenShift.
      Stacktrace attached.
      The issue seems to be caused by different expectations of URL format between deployment on OpenShift and scheduling of job. Job scheduling expects that 'kogito.jobs-service.url' URL contains port, however Kogito operator sets this property as route URL without port, for example 'http://jobs-service.apps.com'.
      When port 80 is manually added into the URL then job node is triggered successfully.

      Same issue happens with callback from Jobs service (with property 'kogito.service.url').

              tdolphin-1 Tiago Dolphine (Inactive)
              ksuta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: