Replying to myself and for those who are interested.

In v3.9, the service catalog can only run on the master nodes:
openshift_service_catalog_nodeselector={"role":"infra"} is a mistake.

I still get a warning after installation but this doesn't seem to be a big deal.
"Error getting broker catalog: Get 
https://asb.openshift-ansible-service-broker.svc:1338/ansible-service-broker/v2/catalog:
 dial tcp 172.30.254.153:1338: getsockopt: no route to host"
________________________________
From: Gilles Le Bris
Sent: Monday, November 19, 2018 10:44 AM
To: [email protected]
Subject: Need help to install service catalog & other service brokers in v3.9.

I have been trying to install the service catalog & other service brokers in 
v3.9 for several weeks without any success.

I'm using the following versions:
- ansible-2.6.2-1.el7.ans.noarch,
- CentOS 7.5.1804,
- Ansible playbook packages 3.9.49.

To activate the service catalog and other service brokers, I use the following 
Ansible variables:
openshift_enable_service_catalog=true
openshift_service_catalog_nodeselector={"role":"infra"}
openshift_service_catalog_image_prefix=docker.io/openshift/origin-<http://docker.io/openshift/origin->
openshift_service_catalog_image_version=v3.9.0

openshift_hosted_etcd_storage_kind=glusterfs
openshift_hosted_etcd_storage_volume_name=etcd
openshift_hosted_etcd_storage_volume_size=1Gi
openshift_hosted_etcd_storage_access_modes=["ReadWriteOnce"]

ansible_service_broker_image_prefix=ansibleplaybookbundle/origin-
ansible_service_broker_local_registry_whitelist=['.*-apb$']
ansible_service_broker_registry_whitelist=['.*-apb$']
openshift_template_service_broker_namespaces=['openshift']
template_service_broker_selector={"role":"infra"}

I'm getting the following situation:
# oc get pod
NAME                       READY     STATUS             RESTARTS   AGE
apiserver-6nsps            1/1       Running            0          21m
apiserver-lcttx            0/1       CrashLoopBackOff   9          22m
controller-manager-2m2sv   1/1       Running            0          21m
controller-manager-9ddrj   1/1       Running            0          21m

# oc get event | grep -v Normal
LAST SEEN   FIRST SEEN   COUNT     NAME                                         
KIND                    SUBOBJECT                           TYPE      REASON    
                SOURCE                               MESSAGE
17m         18m          13        ansible-service-broker.1566bac548a5536a      
ClusterServiceBroker                                        Warning   
ErrorFetchingCatalog      service-catalog-controller-manager   Error getting 
broker catalog: Get 
https://asb.openshift-ansible-service-broker.svc:1338/ansible-service-broker/v2/catalog:
 dial tcp 172.30.194.121:1338<http://172.30.194.121:1338/>: getsockopt: no 
route to host

# oc logs apiserver-lcttx
F1113 16:28:33.231725       1 storage_decorator.go:57] Unable to create storage 
backend: config (&{ /registry 
[https://172.17.254.11:2379<https://172.17.254.11:2379/>] 
/etc/origin/master/master.etcd-client.key 
/etc/origin/master/master.etcd-client.crt /etc/origin/master/master.etcd-ca.crt 
true true 0 {0xc42024fd80 0xc42024fe00} <nil> 5m0s}), err (open 
/etc/origin/master/master.etcd-client.crt: no such file or directory)

# oc get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM 
POLICY   STATUS    CLAIM                                   STORAGECLASS        
REASON    AGE
pvc-453b8c76-e75e-11e8-84df-fa163e77ee9e   1Gi        RWO            Delete     
      Bound     openshift-ansible-service-broker/etcd   glusterfs-storage       
      19m
registry-volume                            10Gi       RWX            Retain     
      Bound     default/registry-claim                                          
      21m

What am I doing wrong?

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
  Garanti sans virus. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to