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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 9.1.0
    • 9.1.0
    • None
    • 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 Exists
    • 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

      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

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: