Bug 1318513 - [online]The templates installed are not correct
Summary: [online]The templates installed are not correct
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Stefanie Forrester
QA Contact: Wang Haoran
URL:
Whiteboard:
: 1318568 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 06:22 UTC by Wang Haoran
Modified: 2016-05-23 15:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-23 15:08:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wang Haoran 2016-03-17 06:22:34 UTC
Description of problem:
According to our feature requirements, We have picked up a suite of templates for online env specifically,not all the templates.

Version-Release number of selected component (if applicable):
online 

How reproducible:
always

Steps to Reproduce:
1.oc get template -n openshift
2.
3.

Actual results:

[vagrant@ose ~]$ oc get template -n openshift
NAME                                            DESCRIPTION                                                                        PARAMETERS        OBJECTS
amq62-basic                                     Application template for JBoss A-MQ brokers. These can be deployed as standal...   9 (2 blank)       5
amq62-persistent                                Application template for JBoss A-MQ brokers. These can be deployed as standal...   9 (2 blank)       6
amq62-persistent-ssl                            Application template for JBoss A-MQ brokers. These are deployed as standalone...   14 (4 blank)      10
amq62-ssl                                       Application template for JBoss A-MQ brokers. These can be deployed as standal...   14 (4 blank)      9
cakephp-example                                 An example CakePHP application with no database                                    15 (8 blank)      5
cakephp-mysql-example                           An example CakePHP application with a MySQL database                               16 (3 blank)      7
dancer-example                                  An example Dancer application with no database                                     8 (4 blank)       5
dancer-mysql-example                            An example Dancer application with a MySQL database                                15 (4 blank)      7
datagrid65-basic                                Application template for JDG 6.5 applications.                                     11 (6 blank)      5
datagrid65-https                                Application template for JDG 6.5 applications.                                     20 (11 blank)     7
datagrid65-mysql                                Application template for JDG 6.5 and MySQL applications.                           32 (19 blank)     9
datagrid65-mysql-persistent                     Application template for JDG 6.5 and MySQL applications with persistent storage.   33 (19 blank)     10
datagrid65-postgresql                           Application template for JDG 6.5 and PostgreSQL applications built using.          29 (16 blank)     9
datagrid65-postgresql-persistent                Application template for JDG 6.5 and PostgreSQL applications with persistent...    30 (16 blank)     10
decisionserver62-amq-s2i                        Application template for BRMS Realtime Decision Server 6 A-MQ applications bu...   26 (3 blank)      9
decisionserver62-basic-s2i                      Application template for BRMS Realtime Decision Server 6 applications built u...   14 (3 blank)      5
decisionserver62-https-s2i                      Application template for BRMS Realtime Decision Server 6 HTTPS applications b...   21 (4 blank)      7
django-example                                  An example Django application with no database                                     13 (9 blank)      5
django-psql-example                             An example Django application with a PostgreSQL database                           14 (4 blank)      7
eap64-amq-persistent-s2i                        Application template for EAP 6 A-MQ applications with persistent storage buil...   27 (6 blank)      10
eap64-amq-s2i                                   Application template for EAP 6 A-MQ applications built using S2I.                  26 (6 blank)      9
eap64-basic-s2i                                 Application template for EAP 6 applications built using S2I.                       12 (3 blank)      5
eap64-https-s2i                                 Application template for EAP 6 applications built using S2I.                       21 (8 blank)      7
eap64-mongodb-persistent-s2i                    Application template for EAP 6 MongoDB applications with persistent storage b...   33 (15 blank)     10
eap64-mongodb-s2i                               Application template for EAP 6 MongoDB applications built using S2I.               32 (15 blank)     9
eap64-mysql-persistent-s2i                      Application template for EAP 6 MySQL applications with persistent storage bui...   34 (16 blank)     10
eap64-mysql-s2i                                 Application template for EAP 6 MySQL applications built using S2I.                 33 (16 blank)     9
eap64-postgresql-persistent-s2i                 Application template for EAP 6 PostgreSQL applications with persistent storag...   31 (13 blank)     10
eap64-postgresql-s2i                            Application template for EAP 6 PostgreSQL applications built using S2I.            30 (13 blank)     9
eap70-basic-s2i                                 Application template for EAP 7 applications built using S2I.                       12 (3 blank)      5
eap70-https-s2i                                 Application template for EAP 7 applications built using S2I.                       21 (8 blank)      7
eap70-mongodb-persistent-s2i                    Application template for EAP 7 MongoDB applications with persistent storage b...   33 (15 blank)     10
eap70-mongodb-s2i                               Application template for EAP 7 MongoDB applications built using S2I.               32 (15 blank)     9
eap70-mysql-persistent-s2i                      Application template for EAP 7 MySQL applications with persistent storage bui...   34 (16 blank)     10
eap70-mysql-s2i                                 Application template for EAP 7 MySQL applications built using S2I.                 33 (16 blank)     9
eap70-postgresql-persistent-s2i                 Application template for EAP 7 PostgreSQL applications with persistent storag...   31 (13 blank)     10
eap70-postgresql-s2i                            Application template for EAP 7 PostgreSQL applications built using S2I.            30 (13 blank)     9
jenkins-ephemeral                               Jenkins service, without persistent storage. WARNING: Any data stored will be...   3 (all set)       3
jenkins-persistent                              Jenkins service, with persistent storage.                                          4 (all set)       4
jws30-tomcat7-basic-s2i                         Application template for JWS applications built using S2I.                         10 (1 blank)      5
jws30-tomcat7-https-s2i                         Application template for JWS applications built using S2I.                         15 (3 blank)      7
jws30-tomcat7-mongodb-persistent-s2i            Application template for JWS MongoDB applications with persistent storage bui...   27 (10 blank)     10
jws30-tomcat7-mongodb-s2i                       Application template for JWS MongoDB applications built using S2I.                 26 (10 blank)     9
jws30-tomcat7-mysql-persistent-s2i              Application template for JWS MySQL applications with persistent storage built...   28 (11 blank)     10
jws30-tomcat7-mysql-s2i                         Application template for JWS MySQL applications built using S2I.                   27 (11 blank)     9
jws30-tomcat7-postgresql-persistent-s2i         Application template for JWS PostgreSQL applications with persistent storage...    25 (8 blank)      10
jws30-tomcat7-postgresql-s2i                    Application template for JWS PostgreSQL applications built using S2I.              24 (8 blank)      9
jws30-tomcat8-basic-s2i                         Application template for JWS applications built using S2I.                         10 (1 blank)      5
jws30-tomcat8-https-s2i                         Application template for JWS applications built using S2I.                         15 (3 blank)      7
jws30-tomcat8-mongodb-persistent-s2i            Application template for JWS MongoDB applications with persistent storage bui...   27 (10 blank)     10
jws30-tomcat8-mongodb-s2i                       Application template for JWS MongoDB applications built using S2I.                 26 (10 blank)     9
jws30-tomcat8-mysql-persistent-s2i              Application template for JWS MySQL applications with persistent storage built...   28 (11 blank)     10
jws30-tomcat8-mysql-s2i                         Application template for JWS MySQL applications built using S2I.                   27 (11 blank)     9
jws30-tomcat8-postgresql-persistent-s2i         Application template for JWS PostgreSQL applications with persistent storage...    25 (8 blank)      10
jws30-tomcat8-postgresql-s2i                    Application template for JWS PostgreSQL applications built using S2I.              24 (8 blank)      9
logging-deployer-template                       Template for deploying everything needed for aggregated logging. Requires clu...   19 (10 blank)     1
metrics-deployer-template                       Template for deploying the required Metrics integration. Requires cluster-adm...   9 (1 blank)       1
mongodb-ephemeral                               MongoDB database service, without persistent storage. WARNING: Any data store...   6 (3 generated)   2
mongodb-persistent                              MongoDB database service, with persistent storage. Scaling to more than one r...   7 (3 generated)   3
mysql-ephemeral                                 MySQL database service, without persistent storage. WARNING: Any data stored...    5 (2 generated)   2
mysql-persistent                                MySQL database service, with persistent storage. Scaling to more than one rep...   6 (2 generated)   3
nodejs-example                                  An example Node.js application with no database                                    12 (8 blank)      5
nodejs-mongodb-example                          An example Node.js application with a MongoDB database                             13 (3 blank)      7
postgresql-ephemeral                            PostgreSQL database service, without persistent storage. WARNING: Any data st...   5 (2 generated)   2
postgresql-persistent                           PostgreSQL database service, with persistent storage. Scaling to more than on...   6 (2 generated)   3
processserver62-amq-mysql-persistent-s2i        Application template for BPMS Intelligent Process Server 6 AMQ and MySQL appl...   43 (11 blank)     12
processserver62-amq-mysql-s2i                   Application template for BPMS Intelligent Process Server 6 AMQ and MySQL appl...   42 (11 blank)     11
processserver62-amq-postgresql-persistent-s2i   Application template for BPMS Intelligent Process Server 6 AMQ and PostgreSQL...   40 (8 blank)      12
processserver62-amq-postgresql-s2i              Application template for BPMS Intelligent Process Server 6 AMQ and PostgreSQL...   39 (8 blank)      11
processserver62-basic-s2i                       Application template for BPMS Intelligent Process Server 6 applications built...   15 (3 blank)      5
processserver62-mysql-persistent-s2i            Application template for BPMS Intelligent Process Server 6 MySQL applications...   37 (12 blank)     10
processserver62-mysql-s2i                       Application template for BPMS Intelligent Process Server 6 MySQL applications...   36 (12 blank)     9
processserver62-postgresql-persistent-s2i       Application template for BPMS Intelligent Process Server 6 PostgreSQL applica...   34 (9 blank)      10
processserver62-postgresql-s2i                  Application template for BPMS Intelligent Process Server 6 PostgreSQL applica...   33 (9 blank)      9
rails-postgresql-example                        An example Rails application with a PostgreSQL database                            17 (3 blank)      7

Expected results:
As the card says, should be :
cakephp-example  from https://github.com/openshift/cakephp-ex
cakephp-mysql-example  from https://github.com/openshift/online
dancer-example  from https://github.com/openshift/dancer-ex
dancer-mysql-example  from https://github.com/openshift/online
django-example  from https://github.com/openshift/django-ex
django-psql-example  from https://github.com/openshift/online
eap64-https-s2i  from https://github.com/openshift/online
eap64-mongodb-persistent-s2i  from https://github.com/openshift/online
eap64-mysql-persistent-s2i  from https://github.com/openshift/online
eap64-postgresql-persistent-s2i  from https://github.com/openshift/online
application-template  from https://github.com/openshift/origin
jenkins-persistent  from https://github.com/openshift/origin
jws30-tomcat7-https-s2i  from https://github.com/openshift/online
jws30-tomcat7-mongodb-persistent-s2i  from https://github.com/openshift/online
jws30-tomcat7-mysql-persistent-s2i  from https://github.com/openshift/online
jws30-tomcat7-postgresql-persistent-s2i  from https://github.com/openshift/online
jws30-tomcat8-https-s2i  from https://github.com/openshift/online
jws30-tomcat8-mongodb-persistent-s2i  from https://github.com/openshift/online
jws30-tomcat8-mysql-persistent-s2i  from https://github.com/openshift/online
jws30-tomcat8-postgresql-persistent-s2i  from https://github.com/openshift/online
mongodb-persistent  from https://github.com/openshift/origin
mysql-persistent    from https://github.com/openshift/origin
nodejs-mongodb-example  from https://github.com/openshift/online
postgresql-persistent   from https://github.com/openshift/origin
rails-postgresql-example  from https://github.com/openshift/online

Additional info:

Comment 1 Gabe Montero 2016-03-18 14:32:40 UTC
*** Bug 1318568 has been marked as a duplicate of this bug. ***

Comment 2 Gabe Montero 2016-03-18 15:53:33 UTC
There has been an email thread on this one as well.

I'll try to summarize:
1) either more than what was specified in https://github.com/openshift/online/issues/27 is needed, or https://github.com/openshift/online/issues/27 was not executed entirely, or both

2) Some amount of the artifacts from https://github.com/openshift/openshift-ansible/tree/master/roles/openshift_examples/files/examples/v1.2 are still getting instantiated, where PM wants a much smaller set

Stefanie (dakini) and I need to sync up on a few things, and plan to do so today.

Comment 3 Gabe Montero 2016-03-18 16:39:36 UTC
Short term, Stefanie has removed the excess xpaas image streams from the "openshift" namespace.  I for example no longer see them from my project.

Sending this bugzilla over to her, so she can adopt a new ansible playbook to pull in the correct set of image streams.

We still need to decides about the language quickstart and jenkins instantapp templates, and whether they reside in the openshfit namespace (currently users can only access image streams from that namespace).  If possible, we'll address that in this defect as well.

Comment 4 Gabe Montero 2016-03-18 16:57:55 UTC
Need to correct myself on one point:  normal users can list template from the openshift namespace.

So Stefanie - we need to figure out why the language quickstarts and jenkins instant app are not showing up in the openshift namepsace.

Comment 5 Stefanie Forrester 2016-03-18 18:04:08 UTC
Templates are installed now. There was an issue with the installation script, which has been corrected.

Comment 6 Wang Haoran 2016-03-21 03:23:37 UTC
there are 4 more ehpemeral templates that should not installed according to the trello card
[haoran@cheetah ~]$ oc get template -n openshift |grep ephemeral
jenkins-ephemeral                         Jenkins service, without persistent storage. WARNING: Any data stored will be...   4 (all set)       3
mongodb-ephemeral                         MongoDB database service, without persistent storage. WARNING: Any data store...   7 (3 generated)   2
mysql-ephemeral                           MySQL database service, without persistent storage. WARNING: Any data stored...    6 (2 generated)   2
postgresql-ephemeral                      PostgreSQL database service, without persistent storage. WARNING: Any data st...   6 (2 generated)   2

Comment 7 Stefanie Forrester 2016-03-21 15:40:15 UTC
Thanks for checking. I have removed the 4 remaining ephemeral templates.

Comment 8 Wang Haoran 2016-03-22 02:31:42 UTC
[haoran@cheetah ~]$ oc get template -n openshift
NAME                                      DESCRIPTION                                                                        PARAMETERS        OBJECTS
cakephp-example                           An example CakePHP application with no database                                    17 (8 blank)      5
cakephp-mysql-example                     An example CakePHP application with a MySQL database                               17 (3 blank)      8
dancer-example                            An example Dancer application with no database                                     10 (4 blank)      5
dancer-mysql-example                      An example Dancer application with a MySQL database                                16 (4 blank)      8
django-psql-example                       An example Django application with a PostgreSQL database                           15 (4 blank)      8
eap64-https-s2i                           Application template for EAP 6 applications built using S2I.                       22 (8 blank)      7
eap64-mongodb-persistent-s2i              Application template for EAP 6 MongDB applications with persistent storage bu...   35 (15 blank)     10
eap64-mysql-persistent-s2i                Application template for EAP 6 MySQL applications with persistent storage bui...   36 (16 blank)     10
eap64-postgresql-persistent-s2i           Application template for EAP 6 PostgreSQL applications with persistent storag...   33 (13 blank)     10
jenkins-persistent                        Jenkins service, with persistent storage.                                          5 (all set)       4
jws30-tomcat7-https-s2i                   Application template for JWS applications built using S2I.                         16 (3 blank)      7
jws30-tomcat7-mongodb-persistent-s2i      Application template for JWS MongoDB applications with persistent storage bui...   29 (10 blank)     10
jws30-tomcat7-mysql-persistent-s2i        Application template for JWS MySQL applications with persistent storage built...   30 (11 blank)     10
jws30-tomcat7-postgresql-persistent-s2i   Application template for JWS PostgreSQL applications with persistent storage...    27 (8 blank)      10
jws30-tomcat8-https-s2i                   Application template for JWS applications built using S2I.                         16 (3 blank)      7
jws30-tomcat8-mongodb-persistent-s2i      Application template for JWS MongoDB applications with persistent storage bui...   29 (10 blank)     10
jws30-tomcat8-mysql-persistent-s2i        Application template for JWS MySQL applications with persistent storage built...   30 (11 blank)     10
jws30-tomcat8-postgresql-persistent-s2i   Application template for JWS PostgreSQL applications with persistent storage...    27 (8 blank)      10
mongodb-persistent                        MongoDB database service, with persistent storage. Scaling to more than one r...   8 (3 generated)   3
mysql-persistent                          MySQL database service, with persistent storage. Scaling to more than one rep...   7 (2 generated)   3
nodejs-helloworld-sample                  This example shows how to create a simple nodejs application in openshift ori...   4 (2 generated)   8
nodejs-mongodb-example                    An example Node.js application with a MongoDB database                             14 (3 blank)      8
postgresql-persistent                     PostgreSQL database service, with persistent storage. Scaling to more than on...   7 (2 generated)   3
rails-postgresql-example                  An example Rails application with a PostgreSQL database                            18 (3 blank)      8

Comment 9 Wang Haoran 2016-03-22 06:39:10 UTC
reopen this , still one template are missing :django-example

Comment 10 Gabe Montero 2016-03-22 13:47:55 UTC
Actually, PM (Steve Speicher) pulled django-example late in the game, after the trello card was reviewed, test cases were reviewed, etc.  He just wanted the django-psql-example.

Based on that, moving this back to verified.


Note You need to log in before you can comment on or make changes to this bug.