Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2271

Deployment to OpenShift requires to add -Dfabric8.generator.fromMode=docker on the provided Launch Configuration

    Details

    • Steps to Reproduce:
      Hide
      • create a Camel OpenShift project
      • try to launch the "deploy on OpenShift" launch configuration
        -->
        [ERROR] F8: Build for camel-ose-springboot-xml-s2i failed: Stream Closed
        [ERROR] F8: Please, ensure that the ImageStream Tag 'fis-java-openshift:2.0' exists in the 'fabric8' namespace (with 'oc get is -n fabric8')
      Show
      create a Camel OpenShift project try to launch the "deploy on OpenShift" launch configuration --> [ERROR] F8: Build for camel-ose-springboot-xml-s2i failed: Stream Closed [ERROR] F8: Please, ensure that the ImageStream Tag 'fis-java-openshift:2.0' exists in the 'fabric8' namespace (with 'oc get is -n fabric8')
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      add -Dfabric8.generator.fromMode=docker to JVM arguments of the launch configuration to deploy on OpenShift

      Show
      add -Dfabric8.generator.fromMode=docker to JVM arguments of the launch configuration to deploy on OpenShift

      Description

      the issue is that fabric8-maven-plugin has changed the default value for fabric8.generator.fromNode has changed from 'docker' to 'isTag'

      the best would be to have the image streams in the CDK but as it is not possible for the 9.1.0 release I propose to add -Dfabric8.generator.fromMode=docker to the launch configuration

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aurelien.pupier Aurélien Pupier
                  Reporter:
                  aurelien.pupier Aurélien Pupier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: