Origin: Origin 3.7 - Missing Database, CI/CD, Others in front page Catalog

Created on 8 Dec 2017  路  7Comments  路  Source: openshift/origin

I just install a new openshift origin cluster v3.7, and I noticed that I'm missing a lot of templates in web console catalog like database, CI/CD, Others. How can i get them to display there ?

image

I still see them installed using oc get template -n openshift

oc get template -n openshift
NAME                          DESCRIPTION                                                                        PARAMETERS        OBJECTS
3scale-gateway                3scale API Gateway                                                                 15 (6 blank)      2
amp-apicast-wildcard-router                                                                                      3 (1 blank)       4
amp-pvc                                                                                                          0 (all set)       4
cakephp-mysql-example         An example CakePHP application with a MySQL database. For more information ab...   19 (4 blank)      8
cakephp-mysql-persistent      An example CakePHP application with a MySQL database. For more information ab...   20 (4 blank)      9
dancer-mysql-example          An example Dancer application with a MySQL database. For more information abo...   16 (5 blank)      8
dancer-mysql-persistent       An example Dancer application with a MySQL database. For more information abo...   17 (5 blank)      9
django-psql-example           An example Django application with a PostgreSQL database. For more informatio...   17 (5 blank)      8
django-psql-persistent        An example Django application with a PostgreSQL database. For more informatio...   18 (5 blank)      9
dotnet-example                An example .NET Core application.                                                  16 (5 blank)      5
dotnet-pgsql-persistent       An example .NET Core application with a PostgreSQL database. For more informa...   23 (6 blank)      9
dotnet-runtime-example        An example .NET Core Runtime example application.                                  17 (5 blank)      7
httpd-example                 An example Apache HTTP Server (httpd) application that serves static content....   9 (3 blank)       5
jenkins-ephemeral             Jenkins service, without persistent storage....                                    6 (all set)       6
jenkins-persistent            Jenkins service, with persistent storage....                                       7 (all set)       7
mariadb-ephemeral             MariaDB database service, without persistent storage. For more information ab...   7 (3 generated)   3
mariadb-persistent            MariaDB database service, with persistent storage. For more information about...   8 (3 generated)   4
mongodb-ephemeral             MongoDB database service, without persistent storage. For more information ab...   8 (3 generated)   3
mongodb-persistent            MongoDB database service, with persistent storage. For more information about...   9 (3 generated)   4
mysql-ephemeral               MySQL database service, without persistent storage. For more information abou...   8 (3 generated)   3
mysql-persistent              MySQL database service, with persistent storage. For more information about u...   9 (3 generated)   4
nodejs-mongo-persistent       An example Node.js application with a MongoDB database. For more information...    17 (4 blank)      9
nodejs-mongodb-example        An example Node.js application with a MongoDB database. For more information...    16 (4 blank)      8
postgresql-ephemeral          PostgreSQL database service, without persistent storage. For more information...   7 (2 generated)   3
postgresql-persistent         PostgreSQL database service, with persistent storage. For more information ab...   8 (2 generated)   4
rails-pgsql-persistent        An example Rails application with a PostgreSQL database. For more information...   21 (4 blank)      9
rails-postgresql-example      An example Rails application with a PostgreSQL database. For more information...   20 (4 blank)      8
redis-ephemeral               Redis in-memory data structure store, without persistent storage. For more in...   5 (1 generated)   3
redis-persistent              Redis in-memory data structure store, with persistent storage. For more infor...   6 (1 generated)   4
registry-console              Template for deploying registry web console. Requires cluster-admin.               8 (3 blank)       4
system                                                                                                           20 (1 blank)      34
Version

Openshift origin 3.7

Steps To Reproduce

Install origin 3.7 using openshift ansible

Additional info
oc get all --all-namespaces
NAMESPACE   NAME                  TYPE      FROM         LATEST
test        buildconfigs/sample   Source    Git@master   1

NAMESPACE   NAME              TYPE      FROM          STATUS     STARTED       DURATION
test        builds/sample-1   Source    Git@e04b8cc   Complete   9 hours ago   7m25s

NAMESPACE   NAME                            DOCKER REPO                                                 TAGS                           UPDATED
default     imagestreams/registry-console   docker-registry.default.svc:5000/default/registry-console   latest                         16 hours ago
openshift   imagestreams/dotnet             docker-registry.default.svc:5000/openshift/dotnet           latest,2.0                     16 hours ago
openshift   imagestreams/dotnet-runtime     docker-registry.default.svc:5000/openshift/dotnet-runtime   latest,2.0                     16 hours ago
openshift   imagestreams/httpd              docker-registry.default.svc:5000/openshift/httpd            latest,2.4                     16 hours ago
openshift   imagestreams/jenkins            docker-registry.default.svc:5000/openshift/jenkins          latest,1,2                     16 hours ago
openshift   imagestreams/mariadb            docker-registry.default.svc:5000/openshift/mariadb          latest,10.1                    16 hours ago
openshift   imagestreams/mongodb            docker-registry.default.svc:5000/openshift/mongodb          latest,3.2,2.6 + 1 more...     16 hours ago
openshift   imagestreams/mysql              docker-registry.default.svc:5000/openshift/mysql            latest,5.7,5.6 + 1 more...     16 hours ago
openshift   imagestreams/nodejs             docker-registry.default.svc:5000/openshift/nodejs           latest,0.10,4 + 1 more...      16 hours ago
openshift   imagestreams/perl               docker-registry.default.svc:5000/openshift/perl             5.24,5.20,5.16 + 1 more...     16 hours ago
openshift   imagestreams/php                docker-registry.default.svc:5000/openshift/php              latest,7.0,5.6 + 1 more...     16 hours ago
openshift   imagestreams/postgresql         docker-registry.default.svc:5000/openshift/postgresql       9.4,9.2,latest + 1 more...     16 hours ago
openshift   imagestreams/python             docker-registry.default.svc:5000/openshift/python           3.4,3.3,2.7 + 2 more...        16 hours ago
openshift   imagestreams/redis              docker-registry.default.svc:5000/openshift/redis            latest,3.2                     16 hours ago
openshift   imagestreams/ruby               docker-registry.default.svc:5000/openshift/ruby             2.0,latest,2.4 + 2 more...     16 hours ago
openshift   imagestreams/wildfly            docker-registry.default.svc:5000/openshift/wildfly          latest,10.1,10.0 + 2 more...   16 hours ago
test        imagestreams/sample             docker-registry.default.svc:5000/test/sample                latest                         9 hours ago

NAMESPACE   NAME                                 REVISION   DESIRED   CURRENT   TRIGGERED BY
default     deploymentconfigs/docker-registry    1          1         1         config
default     deploymentconfigs/registry-console   3          1         1         config
default     deploymentconfigs/router             1          1         1         config
test        deploymentconfigs/sample             1          1         1         config,image(sample:latest)

NAMESPACE   NAME                      HOST/PORT                                            PATH      SERVICES           PORT       TERMINATION   WILDCARD
default     routes/docker-registry    docker-registry-default.apps.openshift.aavn.local              docker-registry    <all>      passthrough   None
default     routes/registry-console   registry-console-default.apps.openshift.aavn.local             registry-console   <all>      passthrough   None
test        routes/sample             sample-test.apps.openshift.aavn.local                          sample             8080-tcp                 None

NAMESPACE   NAME                          READY     STATUS      RESTARTS   AGE
default     po/docker-registry-1-n7qkn    1/1       Running     1          15h
default     po/registry-console-3-f9f5j   1/1       Running     0          21m
default     po/router-1-gzrxv             1/1       Running     1          15h
test        po/sample-1-2fz7l             1/1       Running     0          21m
test        po/sample-1-build             0/1       Completed   0          9h

NAMESPACE   NAME                    DESIRED   CURRENT   READY     AGE
default     rc/docker-registry-1    1         1         1         15h
default     rc/registry-console-3   1         1         1         9h
default     rc/router-1             1         1         1         15h
test        rc/sample-1             1         1         1         9h

NAMESPACE   NAME                   CLUSTER-IP       EXTERNAL-IP   PORT(S)                   AGE
default     svc/docker-registry    172.30.0.34      <none>        5000/TCP                  15h
default     svc/kubernetes         172.30.0.1       <none>        443/TCP,53/UDP,53/TCP     16h
default     svc/registry-console   172.30.175.152   <none>        9000/TCP                  15h
default     svc/router             172.30.230.154   <none>        80/TCP,443/TCP,1936/TCP   15h
test        svc/sample             172.30.124.95    <none>        8080/TCP                  9h

All 7 comments

This appears to be a configuration question rather than a bug report. Closing the issue but please reach out to the dev mailing list or stack exchange to get some help. Thanks!

I have the same issue... could you point out what the configuration issue exactly is then? We have several 3.7 clusters running and this issue only happens on one of them...

Furthermore, the fact that only 10 of them show up as template in the catalog does not really points to a configuration issue (since then you would expect none of them to show up), but rather a time-out or network issue during paged retrieval of the templates.

Please re-open this issue.

hi,

Facing same issue.
Were you able to solve it?

Thanks

No, but you should have a look at the project openshift-template-service-broker and you might see flapping apiserver pods (backed by a daemonset) due to incorrectly configured nodeSelector labels.

In my case this was a configuration issue, but possibly also not clearly documented. In 3.7 the newer service catalogue should be installed by default, but our lack of understanding that this would happen, and not wanting to introduce new capabilities just yet, this was set to not install.

In order to add on after install;

  • set this in the inventory file
openshift_enable_service_catalog=true
  • and then manually run the service catalogue playbook found at:
/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/service-catalog.yml 

Same issue here, this issue needs to be reopened
I think maybe it is related to persistence storage configuration, since most of the db requires persistent storage to operate.
I found out this issue is caused by https://github.com/openshift/openshift-ansible/issues/7800
after fllowing varesa 's advice, fixed kube-service-catalog , now I can see the rest of the catalog.

Hello everyone, on my side, service-catalogue.yml file is missing. I checked in /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/
Can someone help me to fix this please?

Was this page helpful?
0 / 5 - 0 ratings