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

[KSW-Operator] Workflow Dev Profile Builder Image lacking permissions to write on mvn dir on OpenShift


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.37.0.Final
    • None
    • Image, Operator
    • None
    • 2023 Week 12-14 (from Mar 20)

      If we try to use the Workflow Dev profile on OpenShift there is one issue while trying to run the pod based on the default kogito-builder image (quay.io/kiegroup/kogito-swf-builder-nightly:latest).

      The error reported in pod logs after trying to execute it on OpenShift is reported below:

      INFO Configure Maven
      INFO --> checking if .mvn/jvm.config exists.
      INFO ---> .mvn/jvm.config does not exists, memory will be calculated based on container limits.
      [ERROR] Could not create local repository at /.m2/repository -> [Help 1]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException

            rhn-support-fspolti Filippe Spolti
            dsalerno@redhat.com Davide Salerno (Inactive)
            Tristan Radisson Tristan Radisson
            0 Vote for this issue
            3 Start watching this issue