Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-service-broker is not working #157

Open
surajnarwade opened this issue Aug 24, 2018 · 4 comments
Open

ansible-service-broker is not working #157

surajnarwade opened this issue Aug 24, 2018 · 4 comments

Comments

@surajnarwade
Copy link

$ 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
Copy link
Author

$ 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
Copy link
Contributor

coolbrg commented Aug 27, 2018

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

@gbraad
Copy link
Member

gbraad commented Aug 27, 2018

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants