[Ansible-service-broker] custom apb's not showing up in catalog

Chakradhar Jonagam cjonagam at redhat.com
Thu May 24 15:29:03 UTC 2018


I see following logs on apb pod but UI does not show any templates.   i
also made a custom apb which is successfully pushed but its not listed
either.
please let me know if anyone seen similar issues / fixes


[2018-05-24T15:19:39.402Z] [INFO] - APBs filtered by white/blacklist
filter:-> ansibleplaybookbundle/manageiq-apb->
ansibleplaybookbundle/rocketchat-apb->
ansibleplaybookbundle/photo-album-demo-ext-api-apb->
ansibleplaybookbundle/hello-world-apb-> ansibleplaybookbundle/s2i-apb->
ansibleplaybookbundle/hello-world-db-apb->
ansibleplaybookbundle/nginx-apb-> ansibleplaybookbundle/mediawiki-apb->
ansibleplaybookbundle/rds-postgres-apb->
ansibleplaybookbundle/postgresql-apb->
ansibleplaybookbundle/wordpress-ha-apb->
ansibleplaybookbundle/etherpad-apb-> ansibleplaybookbundle/hastebin-apb->
ansibleplaybookbundle/jenkins-apb-> ansibleplaybookbundle/mysql-apb->
ansibleplaybookbundle/pyzip-demo-apb-> ansibleplaybookbundle/mariadb-apb->
ansibleplaybookbundle/es-apb-> ansibleplaybookbundle/pyzip-demo-db-apb->
ansibleplaybookbundle/kibana-apb-> ansibleplaybookbundle/thelounge-apb->
ansibleplaybookbundle/photo-album-demo-api-apb->
ansibleplaybookbundle/proxy-config-apb->
ansibleplaybookbundle/photo-album-demo-app-apb->
ansibleplaybookbundle/prometheus-apb-> ansibleplaybookbundle/v2v-apb->
ansibleplaybookbundle/awx-apb->
ansibleplaybookbundle/iscsi-demo-target-apb->
ansibleplaybookbundle/mongodb-apb-> ansibleplaybookbundle/keycloak-apb->
ansibleplaybookbundle/virtualmachines-apb->
ansibleplaybookbundle/mssql-apb-> ansibleplaybookbundle/dynamic-apb->
ansibleplaybookbundle/eclipse-che-apb-> ansibleplaybookbundle/windows-apb->
ansibleplaybookbundle/rhel-apb-> ansibleplaybookbundle/tiller-apb->
ansibleplaybookbundle/import-vm-disk-apb->
ansibleplaybookbundle/mssql-remote-apb-> ansibleplaybookbundle/galera-apb->
ansibleplaybookbundle/vnc-desktop-apb->
ansibleplaybookbundle/kubevirt-apb->
ansibleplaybookbundle/openshift-logging-apb->
ansibleplaybookbundle/import-vm-apb->
ansibleplaybookbundle/manageiq-runner-apb[2018-05-24T15:19:39.402Z] [INFO]
- APBs filtered by white/blacklist filter:->
ansibleplaybookbundle/manageiq-apb-> ansibleplaybookbundle/rocketchat-apb->
ansibleplaybookbundle/photo-album-demo-ext-api-apb->
ansibleplaybookbundle/hello-world-apb-> ansibleplaybookbundle/s2i-apb->
ansibleplaybookbundle/hello-world-db-apb->
ansibleplaybookbundle/nginx-apb-> ansibleplaybookbundle/mediawiki-apb->
ansibleplaybookbundle/rds-postgres-apb->
ansibleplaybookbundle/postgresql-apb->
ansibleplaybookbundle/wordpress-ha-apb->
ansibleplaybookbundle/etherpad-apb-> ansibleplaybookbundle/hastebin-apb->
ansibleplaybookbundle/jenkins-apb-> ansibleplaybookbundle/mysql-apb->
ansibleplaybookbundle/pyzip-demo-apb-> ansibleplaybookbundle/mariadb-apb->
ansibleplaybookbundle/es-apb-> ansibleplaybookbundle/pyzip-demo-db-apb->
ansibleplaybookbundle/kibana-apb-> ansibleplaybookbundle/thelounge-apb->
ansibleplaybookbundle/photo-album-demo-api-apb->
ansibleplaybookbundle/proxy-config-apb->
ansibleplaybookbundle/photo-album-demo-app-apb->
ansibleplaybookbundle/prometheus-apb-> ansibleplaybookbundle/v2v-apb->
ansibleplaybookbundle/awx-apb->
ansibleplaybookbundle/iscsi-demo-target-apb->
ansibleplaybookbundle/mongodb-apb-> ansibleplaybookbundle/keycloak-apb->
ansibleplaybookbundle/virtualmachines-apb->
ansibleplaybookbundle/mssql-apb-> ansibleplaybookbundle/dynamic-apb->
ansibleplaybookbundle/eclipse-che-apb-> ansibleplaybookbundle/windows-apb->
ansibleplaybookbundle/rhel-apb-> ansibleplaybookbundle/tiller-apb->
ansibleplaybookbundle/import-vm-disk-apb->
ansibleplaybookbundle/mssql-remote-apb-> ansibleplaybookbundle/galera-apb->
ansibleplaybookbundle/vnc-desktop-apb->
ansibleplaybookbundle/kubevirt-apb->
ansibleplaybookbundle/openshift-logging-apb->
ansibleplaybookbundle/import-vm-apb->
ansibleplaybookbundle/manageiq-runner-apb

> Chakra

Sr Solutions Architect.
+65 86715012
Application Practice. APAC.
cjonagam at redhat.com




On Thu, May 17, 2018 at 10:00 AM, Chakradhar Jonagam <cjonagam at redhat.com>
wrote:

> For other who see similar issues.
> Ryan helped me this on IRC.     looks like issue is with asb config
> (configmap)
>
> changing *['*']* below to . *['.*'] *seemed to have fixed the issue, but
> i'm unable to see another fresh example which i pushed recently. i will let
> you know in case i figure out.
>
> registry: - type: dockerhub name: dh url: org: ansibleplaybookbundle tag:
> latest white_list: [] auth_type: "" auth_name: "" - type: local_openshift
> name: localregistry namespaces: ['openshift','apb-test'] white_list: ['*']
>
> > Chakra
>
> Sr Solutions Architect.
> +65 86715012
> Application Practice. APAC.
> cjonagam at redhat.com
>
>
>
>
> On Wed, May 16, 2018 at 10:57 PM, Ryan Hallisey <rhallise at redhat.com>
> wrote:
>
>> Hey Chakradhar,
>>
>> Can you join #asbroker on irc and I can help you debug this.  Could be
>> the broker is failing to find specs in the registry.
>>
>> - Ryan
>>
>> On Wed, May 16, 2018 at 5:06 AM, Chakradhar Jonagam <cjonagam at redhat.com>
>> wrote:
>>
>>> ++  asb group
>>>
>>>
>>> Is this normal.
>>>
>>> curl -k -H "Authorization: Bearer $(oc whoami -t)" https://$(oc get
>>> routes --no-headers | awk '{print $2}')/ansible-service-broker/v
>>> 2/catalog
>>> {
>>>   "services": []
>>> }
>>>
>>>
>>>
>>> > Chakra
>>>
>>> Sr Solutions Architect.
>>> +65 86715012
>>> Application Practice. APAC.
>>> cjonagam at redhat.com
>>>
>>>
>>>
>>>
>>> On Wed, May 16, 2018 at 3:17 PM, Chakradhar Jonagam <cjonagam at redhat.com
>>> > wrote:
>>>
>>>>
>>>>
>>>> I tried to build a custom apb using  apb cli, i'm able to push
>>>> successfully but failing to see it in the service catalog UI.
>>>>
>>>> Tried following
>>>> - logged out and loggedin , refreshed catalog, bootstrapped etc etc.
>>>> - tried pushing to different namespaces
>>>> - tried different registries
>>>> - it was pretty hard to install apb cli on centos (pl put some binaries
>>>> on github releases :)
>>>>
>>>> Here is the output of my push
>>>>
>>>>
>>>> [cjonagam at create9-bastion my-mysql]$ sudo apb  push --namespace openshift  --registry-route=docker-registry-default.apps.minikube.io
>>>> /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
>>>>   InsecureRequestWarning)
>>>> /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
>>>>   InsecureRequestWarning)
>>>> version: 1.0
>>>> name: my-mysql
>>>> description: This is a sample application generated by apb init
>>>> bindable: True
>>>> async: optional
>>>> metadata:
>>>>   displayName: my-mysql
>>>>   dependencies: []
>>>> plans:
>>>>   - name: default
>>>>     description: This default plan deploys my-mysql
>>>>     free: True
>>>>     metadata: {}
>>>>     parameters: []
>>>> Finished writing dockerfile.
>>>> Building APB using tag: [docker-registry-default.apps.minikube.io/openshift/my-mysql]
>>>> Successfully built APB image: docker-registry-default.apps.minikube.io/openshift/my-mysql
>>>> /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769 <http://docker-registry-default.apps.minikube.io/openshift/my-mysql/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769>: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
>>>>   InsecureRequestWarning)
>>>> Pushing the image, this could take a minute...
>>>> Successfully pushed image: docker-registry-default.apps.minikube.io/openshift/my-mysql
>>>> Contacting the ansible-service-broker at: https://asb-1338-openshift-ansible-service-broker.apps.minikube.io/ansible-service-broker/v2/bootstrap
>>>> Successfully bootstrapped Ansible Service Broker
>>>> Successfully relisted the Service Catalog
>>>>
>>>>
>>>> Here is my asb config
>>>>
>>>>
>>>> registry: - type: dockerhub name: dh url: org: ansibleplaybookbundle
>>>> tag: latest white_list: [] auth_type: "" auth_name: "" - type:
>>>> local_openshift name: localregistry namespaces: ['openshift','apb-test']
>>>> white_list: ['*']
>>>>
>>>>
>>>> Pl help!
>>>>
>>>>
>>>>
>>>> > Chakra
>>>>
>>>> Sr Solutions Architect.
>>>> +65 86715012
>>>> Application Practice. APAC.
>>>> cjonagam at redhat.com
>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Ansible-service-broker mailing list
>>> Ansible-service-broker at redhat.com
>>> https://www.redhat.com/mailman/listinfo/ansible-service-broker
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ansible-service-broker/attachments/20180524/492dead3/attachment.htm>


More information about the Ansible-service-broker mailing list