minishift / minishift-addons

A repository for the community to exchange Minishift add-ons
Apache License 2.0
71 stars 86 forks source link

ansible-service-broker is not working #157

Open surajnarwade opened 6 years ago

surajnarwade commented 6 years ago
$ svcat get broker
           NAME                                                        URL                                                     STATUS         
+-------------------------+-------------------------------------------------------------------------------------------+----------------------+
  ansible-service-broker    https://asb.ansible-service-broker.svc:1338/ansible-service-broker/                         ErrorFetchingCatalog  
  template-service-broker   https://apiserver.openshift-template-service-broker.svc:443/brokers/template.openshift.io   Ready 
 $ oc get pods -n ansible-service-broker
NAME           READY     STATUS    RESTARTS   AGE
asb-1-deploy   0/1       Error     0          1h
$ minishift version
minishift v1.22.0+7163416
surajnarwade commented 6 years ago
$ oc logs asb-1-6ph9p -c asb
Using config file mounted to /etc/ansible-service-broker/config.yaml
============================================================
==           Starting Ansible Service Broker...           ==
============================================================
[2018-08-24T12:52:05.233Z] [NOTICE] - Initializing clients...
[2018-08-24T12:52:05.235Z] [DEBUG] - Connecting to Cluster
time="2018-08-24T12:52:05Z" level=info msg="OpenShift version: %vv3.9.0+71543b2-33"
time="2018-08-24T12:52:05Z" level=info msg="unable to retrieve the network plugin, defaulting to not joining networks - clusternetworks.network.openshift.io \"default\" not found"
time="2018-08-24T12:52:05Z" level=info msg="Kubernetes version: %vv1.9.1+a0ce1bc657"
time="2018-08-24T12:52:05Z" level=info msg="== REGISTRY CX == "
time="2018-08-24T12:52:05Z" level=info msg="Name: dh"
time="2018-08-24T12:52:05Z" level=info msg="Type: dockerhub"
time="2018-08-24T12:52:05Z" level=info msg="Url: https://registry.hub.docker.com"
time="2018-08-24T12:52:05Z" level=info msg="== REGISTRY CX == "
time="2018-08-24T12:52:05Z" level=info msg="Name: localregistry"
time="2018-08-24T12:52:05Z" level=info msg="Type: local_openshift"
time="2018-08-24T12:52:05Z" level=info msg="Url: "
[2018-08-24T12:52:05.248Z] [DEBUG] - Connecting Dao
[2018-08-24T12:52:05.249Z] [DEBUG] - Connecting Registry
[2018-08-24T12:52:05.249Z] [DEBUG] - Initializing WorkEngine
[2018-08-24T12:52:05.249Z] [DEBUG] - Creating AnsibleBroker
[2018-08-24T12:52:05.249Z] [INFO] - Initiating Recovery Process
[2018-08-24T12:52:05.26Z] [INFO] - Recovery complete
[2018-08-24T12:52:05.26Z] [NOTICE] - recover called
[2018-08-24T12:52:05.26Z] [INFO] - Broker configured to bootstrap on startup
[2018-08-24T12:52:05.26Z] [INFO] - Attempting bootstrap...
[2018-08-24T12:52:05.26Z] [INFO] - AnsibleBroker::Bootstrap
[2018-08-24T12:52:05.26Z] [DEBUG] - Dao::BatchGetSpecs
time="2018-08-24T12:52:08Z" level=info msg="APBs filtered by white/blacklist filter:-> ansibleplaybookbundle/kubevirt-ansible-> ansibleplaybookbundle/origin-ansible-service-broker-> ansibleplaybookbundle/hello-world-> ansibleplaybookbundle/mediawiki123-> ansibleplaybookbundle/apb-base-> ansibleplaybookbundle/ansible-service-broker-> ansibleplaybookbundle/apb-tools-> ansibleplaybookbundle/py-zip-demo-> ansibleplaybookbundle/asb-installer-> ansibleplaybookbundle/apb-assets-base-> ansibleplaybookbundle/photo-album-demo-app-> ansibleplaybookbundle/helm-bundle-base-> ansibleplaybookbundle/origin-> ansibleplaybookbundle/photo-album-demo-api-> ansibleplaybookbundle/deploy-broker-> ansibleplaybookbundle/mediawiki-> ansibleplaybookbundle/manageiq-apb-runner-> ansibleplaybookbundle/vnc-client-> ansibleplaybookbundle/origin-service-catalog-> ansibleplaybookbundle/vnc-desktop-> ansibleplaybookbundle/origin-deployer-> ansibleplaybookbundle/origin-docker-registry-> ansibleplaybookbundle/origin-haproxy-router-> ansibleplaybookbundle/origin-pod-> ansibleplaybookbundle/origin-sti-builder-> ansibleplaybookbundle/origin-recycler"
coolbrg commented 6 years ago

@surajnarwade Please try with latest minishift version i.e 1.23.0, there are lots of changes.

gbraad commented 6 years ago

@eriknelson contributed the add-on. please also confirm with him.

MINISHIFT_ENABLE_EXPERIMENTAL=y minishift start --extra-clusterup-flags "--enable=*,service-catalog,automation-service-broker" ?

surajnarwade commented 6 years ago

@budhram @gbraad , with the help of new minishift, I faced some issue which I mentioned here, https://github.com/minishift/minishift/issues/2735 (For this, we don't need ansible broker addon)