Hide Forgot
Description of problem: Under the header 'OpenShift Source-to-Image (S2I) Workflow' for the Fuse xPaaS image, located here https://docs.openshift.com/enterprise/3.1/using_images/xpaas_images/fuse.html#fuse-using-application-templates It specifies that the Fuse Integration Services image streams json file can be found at: /usr/share/openshift/examples/xpaas-streams/fis-image-streams.json While I do see that file at that location in my multi-node OpenShift installation I do NOT see any files under /usr/share/openshift in my CDK 2.0 installation consisting of: -rw-rw-r--. 1 1000 42001 83K Apr 26 09:46 cdk-2.0.0.zip -rw-rw-r--. 1 1000 42001 889M Apr 26 10:03 rhel-cdk-kubernetes-7.2-23.x86_64.vagrant-libvirt.box Instead most of the templates can be found at /opt/adb/openshift/templates/ But NOT the xPaaS templates: [vagrant@rhel-cdk share]$ uname -a Linux rhel-cdk 3.10.0-327.13.1.el7.x86_64 #1 SMP Mon Feb 29 13:22:02 EST 2016 x86_64 x86_64 x86_64 GNU/Linux [vagrant@rhel-cdk share]$ ls -latrh /usr/share/openshift ls: cannot access /usr/share/openshift: No such file or directory [vagrant@rhel-cdk share]$ ls -latrh /opt/adb/openshift/templates total 156K -rw-r--r--. 1 root root 2.5K Apr 7 09:27 wildfly-image-streams.json -rw-r--r--. 1 root root 12K Apr 7 09:27 nodejs-mongodb.json -rw-r--r--. 1 root root 7.7K Apr 7 09:27 nodejs.json -rw-r--r--. 1 root root 25K Apr 7 09:27 jws30-tomcat7-mysql-persistent-s2i.json -rw-r--r--. 1 root root 8.5K Apr 7 09:27 jboss-image-streams.json -rw-r--r--. 1 root root 14K Apr 7 09:27 image-streams-rhel7.json -rw-r--r--. 1 root root 30K Apr 7 09:27 eap64-mysql-persistent-s2i.json -rw-r--r--. 1 root root 12K Apr 7 09:27 eap64-basic-s2i.json -rw-r--r--. 1 root root 13K Apr 7 09:27 cakephp-mysql.json -rw-r--r--. 1 root root 8.5K Apr 7 09:27 cakephp.json drwxr-xr-x. 3 root root 106 Apr 8 01:53 .. drwxr-xr-x. 2 root root 4.0K Apr 8 01:53 . [vagrant@rhel-cdk share]$ It appears that the xPaaS templates are incorrectly missing while the included templates may need to be moved to the standard, documented, location. Version-Release number of selected component (if applicable): cdk-2.0.0 rhel-cdk-kubernetes-7.2-23.x86_64.vagrant-libvirt.box How reproducible: All the time. Steps to Reproduce: 1. Log in to vagrant rhel cdk box 2. ls /usr/share/openshift 3. ls /opt/adb/openshift Actual results: See above. Expected results: See above. Additional info:
We only included selective templates which we know works on CDK. This was done after discussion with all the parties involved. OSE in CDK was not planned to provide same templates as OpenShift enterprise documentation. However we can add more templates if it is useful for users/customers after testing it and making sure it works on CDK.
As I mentioned before the templates in CDK are planned that way. So let us know if you specifically need the Fuse xPaaS template in CDK. Also we should mention in the CDK documentation that templates are not as per OSE documentation.
The root issue for this issue tracker has been addressed with a knowledge article [1]. Users wishing to use templates not found in the CDK can find the reasoning and remediation steps there. As this BZ is no longer needed, it will be closed now. [1] https://access.redhat.com/solutions/2361911