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

Permission denied during S2I build of application templates on Fuse 7.7

XMLWordPrintable

    • False
    • False
    • % %
    • Undefined
    • Fuse On Openshift
    • Hide

      branch https://github.com/jboss-fuse/application-templates/tree/2.1.x.redhat-7-7-x

      1. oc create -f quickstarts/spring-boot-camel-xml-template.json
      2. oc new-app s2i-fuse77-spring-boot-camel-xml -n smongiar -p IMAGE_STREAM_NAMESPACE=streams -p BUILDER_VERSION=1.7

       

      Show
      branch  https://github.com/jboss-fuse/application-templates/tree/2.1.x.redhat-7-7-x oc create -f quickstarts/spring-boot-camel-xml-template.json oc new-app s2i-fuse77-spring-boot-camel-xml -n smongiar -p IMAGE_STREAM_NAMESPACE=streams -p BUILDER_VERSION=1.7  

      Issue becomes from S2I build on application templates in Fuse 7.7.

      As you can see from attached logs we get: 

      Starting S2I Java Build .....
      S2I source build for Maven detected
      cp: cannot create regular file '/home/jboss/.m2/settings.xml': Permission denied
      

       As a consequence: 

      Non-resolvable import POM: Could not find artifact org.jboss.redhat-fuse:fuse-springboot-bom:pom:7.7.0.fuse-770012-redhat-00003 in central
      

      And so on

              yfang@redhat.com Freeman(Yue) Fang
              smongiar@redhat.com Salvatore Mongiardo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: