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

S2I image can't write in /tmp/artifacts/m2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • fuse-7.6-ER1
    • Fuse Online, Prod
    • % %

      s2i image can't write to local maven repository in /tmp/artifacts/m2:

      [INFO] Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Syndesis Integrations :: prod-check 0.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.2.Final/jboss-annotations-api_1.2_spec-1.0.2.Final.jar
      [WARNING] Failed to write tracking file /tmp/artifacts/m2/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.2.Final/jboss-annotations-api_1.2_spec-1.0.2.Final.jar.lastUpdated
      java.io.FileNotFoundException: /tmp/artifacts/m2/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.2.Final/jboss-annotations-api_1.2_spec-1.0.2.Final.jar.lastUpdated (Permission denied)
      

      can be manually verified:

      in 1.6-2:

      docker_bash quay.io/rh_integration/fuse-ignite-s2i:1.6-2                                                                              
      [jboss@3d01eb664de9 tmp]$ touch /tmp/artifacts/m2/test
      touch: cannot touch '/tmp/artifacts/m2/test': Permission denied
      

      in released 1.5 from registry.redhat.io:

      docker_bash registry.redhat.io/fuse7/fuse-ignite-s2i:1.5
      [jboss@648f6723b41c ~]$ touch /tmp/artifacts/m2/test
      

              opiske Otavio Piske
              avano@redhat.com Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: