Uploaded image for project: 'Red Hat Container Development Kit'
  1. Red Hat Container Development Kit
  2. CDK-98

Instructions on installing OS templates don't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 3.0.0-beta.2
    • Fix Version/s: None
    • Component/s: openshift
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Jeremy Davis 2017-03-17 09:58:21 EDT

      I reproduced this using CDK 2.4 as well. The behaviour is the same.

      The commands ran successfully:

      "MacBook:cdk24 mac$ BASEURL=https://raw.githubusercontent.com/jboss-fuse/application-templates/GA
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/fis-image-streams.json
      imagestream "fis-java-openshift" replaced
      imagestream "fis-karaf-openshift" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel-amq-template.json
      template "s2i-karaf2-camel-amq" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel-log-template.json
      template "s2i-karaf2-camel-log" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel-rest-sql-template.json
      template "s2i-karaf2-camel-rest-sql" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-cxf-rest-template.json
      template "s2i-karaf2-cxf-rest" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-template.json
      template "s2i-spring-boot-camel" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-amq-template.json
      template "s2i-spring-boot-camel-amq" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-config-template.json
      template "s2i-spring-boot-camel-config" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-drools-template.json
      template "s2i-spring-boot-camel-drools" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-infinispan-template.json
      template "s2i-spring-boot-camel-infinispan" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-rest-sql-template.json
      template "s2i-spring-boot-camel-rest-sql" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-teiid-template.json
      template "s2i-spring-boot-camel-teiid" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-xml-template.json
      template "s2i-spring-boot-camel-xml" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-cxf-jaxrs-template.json
      template "s2i-spring-boot-cxf-jaxrs" replaced
      MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-cxf-jaxws-template.json
      template "s2i-spring-boot-cxf-jaxws" replaced
      MacBook:cdk24 mac$"
      
      Show
      Jeremy Davis 2017-03-17 09:58:21 EDT I reproduced this using CDK 2.4 as well. The behaviour is the same. The commands ran successfully: "MacBook:cdk24 mac$ BASEURL=https: //raw.githubusercontent.com/jboss-fuse/application-templates/GA MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/fis-image-streams.json imagestream "fis-java-openshift" replaced imagestream "fis-karaf-openshift" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel-amq-template.json template "s2i-karaf2-camel-amq" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel-log-template.json template "s2i-karaf2-camel-log" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-camel- rest -sql-template.json template "s2i-karaf2-camel- rest -sql" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/karaf2-cxf- rest -template.json template "s2i-karaf2-cxf- rest " replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-template.json template "s2i-spring-boot-camel" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-amq-template.json template "s2i-spring-boot-camel-amq" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-config-template.json template "s2i-spring-boot-camel-config" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-drools-template.json template "s2i-spring-boot-camel-drools" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-infinispan-template.json template "s2i-spring-boot-camel-infinispan" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel- rest -sql-template.json template "s2i-spring-boot-camel- rest -sql" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-teiid-template.json template "s2i-spring-boot-camel-teiid" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-camel-xml-template.json template "s2i-spring-boot-camel-xml" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-cxf-jaxrs-template.json template "s2i-spring-boot-cxf-jaxrs" replaced MacBook:cdk24 mac$ oc replace --force -n openshift -f ${BASEURL}/quickstarts/spring-boot-cxf-jaxws-template.json template "s2i-spring-boot-cxf-jaxws" replaced MacBook:cdk24 mac$"

      Description

      See https://bugzilla.redhat.com/show_bug.cgi?id=1433373

      This appears to be an implementation problem, but I will also follow with OpenShift docs team to better coordinate our docs, so that users don't end up confused by what applies to OpenShift and to CDK.

      Original bugreport:
      .......................
      Jeremy Davis 2017-03-17 09:33:23 EDT

      Description of problem:

      Following the instructions here: https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html-single/red_hat_jboss_fuse_integration_services_2.0_for_openshift/

      Does not result in successful creation of s2i images. There are 2 problems:
      1. The added templates do not display under "Java," and only display after a search
      2. The template is not actually available after creation

      Version-Release number of selected component (if applicable):
      Minishift version: 1.0.0-beta.4-1
      CDK Version: 3.0.0-beta.1

      How reproducible:
      100%

      Steps to Reproduce:
      1. Download CDK 3 Beta
      2. Follow instructions from FIS 2.0 on installing templates

      Actual results:
      Templates only diplay after a search
      Templates are not available for the build

      Expected results:
      Templates diplay as described in the documentation
      The build works correctly

        Attachments

        1. minishift-fis-1.png
          minishift-fis-1.png
          286 kB
        2. minishift-fis-2.png
          minishift-fis-2.png
          450 kB
        3. minishift-fis-3.png
          minishift-fis-3.png
          284 kB
        4. minishift-fis-4.png
          minishift-fis-4.png
          314 kB
        5. Screenshot from 2018-02-01 15-50-48.png
          Screenshot from 2018-02-01 15-50-48.png
          227 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rkratky Robert Krátký
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: