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 Additional info:
Created attachment 1264036 [details] Fuse templates do not display after adding with oc tool
Created attachment 1264037 [details] Fuse templates display after a search
Created attachment 1264038 [details] Fuse templates do not display from search after choosing "Java"
Created attachment 1264039 [details] Image is unavailable after creation
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$"
Hi Jeremy, Thanks for reporting that. It seems there are three problems: a) The OpenShift docs don't mention that the CDK-bundled version of OpenShift doesn't include all templates. b) CDK has an implementation problem that prevents templates from showing up. c) CDK docs should provide a better explanation of the templates issue. Ad a), I'm going to talk to OpenShift docs people, so that we better coordinate OpenShift and CDK docs to align the info. Ad b), I filed https://issues.jboss.org/browse/CDK-98 for the CDK development team. Ad c), the CDK docs team will work to improve the note in the CDK 2.4 docs (https://issues.jboss.org/browse/RHDEVDOCS-395) (no 3.0 docs available yet): https://access.redhat.com/documentation/en-us/red_hat_container_development_kit/2.4/html/getting_started_guide/using_openshift_container_platform#working_with_openshift_templates If you have a suggestion in that regard, please, add a comment to that issue. As both the CDK eng. and docs teams use JIRA to track issues, I propose we close this bug and continue the work in JIRA.