I am trying another fresh install just now, and my ansible script is 
hanging for 15 minutes at 
TASK [openshift_service_catalog : wait for api server to be ready]

This was the same the last times I tried.

I did a minor adjustment to the ansible-script by adding the following 
options
openshift_enable_service_catalog=true
openshift_template_service_broker_namespaces=['openshift']

Is it possible that my DNS is not working? Is the api service listening on 
a special DNS which I need to add to my domain? 
Those are some other settings
openshift_master_cluster_public_hostname="openshift.vnet.de"
openshift_master_default_subdomain=apps.vnet.de

The DNS is setup so that everything ending with vnet.de points to node-1 
(infra node) while openshift.vnet.de points to my master. The hostnames 
are also mapped explicitly.





Von:    [email protected]
An:     [email protected]
Datum:  14.03.2018 09:13
Betreff:        Re: Re: Check if template service broker is running
Gesendet von:   [email protected]



Thats what I get from my console. 


Logged into "https://openshift.vnet.de:8443"; as "system:admin" using 
existing 
credentials.

You have access to the following projects and can switch between them with 
'oc 
project <projectname>':

 * default
   kube-public
   kube-system
   logging
   management-infra
   openshift
   openshift-infra
   openshift-node

Using project "default".
[root@master ~]# oc describe daemonset -n 
openshift-template-service-broker
[root@master ~]# oc get events -n openshift-template-service-broker
No resources found.
[root@master ~]# 
My cluster-setup looks like this 
- master 
- node-1 (label "region" : "infra" for infrastructure which is used in the 
ansible for the docker-registry and the router) 
- node-2 (label "region" : "primary" for deployments)

The only Ansible adjustments I made, apart from the necessary where those 
openshift_hostet_router_selector='region=infra' 
openshift_hostet_registry_selector='region=infra' 

regards 
Marc 



Von:        Sam Padgett <[email protected]> 
An:        [email protected] 
Kopie:        users <[email protected]> 
Datum:        09.03.2018 18:24 
Betreff:        Re: Re: Check if template service broker is running 



Do you see any obvious problems looking at...? 

$ oc describe daemonset -n openshift-template-service-broker 
$ oc get events -n openshift-template-service-broker 

(I'm assuming you haven't set `template_service_broker_install` to false 
in your inventory.) 

On Fri, Mar 9, 2018 at 2:30 AM, <[email protected]> wrote: 
The template-service-broker is indeed not running. 

[root@master ~]# oc get pods -n kube-service-catalog
NAME                       READY     STATUS    RESTARTS   AGE
apiserver-w8p77            1/1       Running   2          6d
controller-manager-cmmcx   1/1       Running   5          6d

[root@master ~]# oc get pods -n openshift-template-service-broker
No resources found. 

The Ansible install finished with a warning which is probably the reason. 
Unfortunately a reinstall always ends with the same result (no 
template-service-broker) 

Can I manually install one and how? 


Von:        Sam Padgett <[email protected]> 
An:        [email protected] 
Kopie:        users <[email protected]> 
Datum:        08.03.2018 15:11 
Betreff:        Re: Check if template service broker is running 



Starting in 3.7, service catalog and template service broker is enabled by 
default when installing using openshift-ansible. You can check if things 
are running with: 

$ oc get pods -n kube-service-catalog 
NAME                                 READY     STATUS    RESTARTS   AGE 
apiserver-858dcddcdf-f58mv           2/2       Running   0          15m 
controller-manager-645f5dbbd-jz8ll   1/1       Running   0          15m 

$ oc get pods -n openshift-template-service-broker 
NAME              READY     STATUS    RESTARTS   AGE 
apiserver-4cq6q   1/1       Running   0          15m 

If template service broker is installed, but not running, that would 
explain why items are missing. 

On Thu, Mar 8, 2018 at 3:05 AM, <[email protected]> wrote: 
Hello everyone 

I am having trouble with the templates defined in the default 
image-streams. 

Checking which imagestreams and templates are installed via oc get lists 
everthing I am expecting. 
Unfortunately the webconsole is only showing 8 items (Jenkins for example 
is missing). 

I've got some help from the Openshift Google Groups which says that the 
templates service broker might not be running[1] 

How can I check if this service is running? 



[root@master ~]# oc get is -n openshift
NAME             DOCKER REPO   TAGS                         UPDATED
dotnet           docker-registry.default.svc:5000/openshift/dotnet  latest
,2.0                   About an hour ago
dotnet-runtime   docker-registry.default.svc:5000/openshift/dotnet-runtime 
  latest,2.0                   About an hour ago
httpd            docker-registry.default.svc:5000/openshift/httpd   latest
,2.4                   About an hour ago
jenkins          docker-registry.default.svc:5000/openshift/jenkins   1,2,
latest                   About an hour ago
mariadb          docker-registry.default.svc:5000/openshift/mariadb   10.1
,latest                  About an hour ago
mongodb          docker-registry.default.svc:5000/openshift/mongodb   3.2,
2.6,2.4 + 1 more...      About an hour ago
mysql            docker-registry.default.svc:5000/openshift/mysql   5.6,
5.5,latest + 1 more...   About an hour ago
nodejs           docker-registry.default.svc:5000/openshift/nodejs  latest
,0.10,4 + 1 more...    About an hour ago
perl             docker-registry.default.svc:5000/openshift/perl   5.24,
5.20,5.16 + 1 more...   About an hour ago
php              docker-registry.default.svc:5000/openshift/php   latest,
7.0,5.6 + 1 more...   About an hour ago
postgresql       docker-registry.default.svc:5000/openshift/postgresql   
9.2,latest,9.5 + 1 more...   About an hour ago
python           docker-registry.default.svc:5000/openshift/python  latest
,3.5,3.4 + 2 more...   About an hour ago
redis            docker-registry.default.svc:5000/openshift/redis   latest
,3.2                   About an hour ago
ruby             docker-registry.default.svc:5000/openshift/ruby   latest,
2.4,2.3 + 2 more...   About an hour ago
wildfly          docker-registry.default.svc:5000/openshift/wildfly   10.1
,10.0,9.0 + 2 more...    About an hour ago 



[root@master ~]# oc get templates -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 



[1] https://groups.google.com/forum/#!topic/openshift/vgcxWQILw1A 
best regards
Marc 

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to