<div dir="ltr"><div>++  asb group</div><div><br></div><div><br></div>Is this normal.<div><br></div><div><div>curl -k -H "Authorization: Bearer $(oc whoami -t)" https://$(oc get routes --no-headers | awk '{print $2}')/ansible-service-broker/<wbr>v2/catalog</div><div>{</div><div>  "services": []</div><div>}</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">> Chakra<div><br></div><div><div style="font-size:12.8px">Sr Solutions Architect.   </div><div style="font-size:12.8px"><span style="color:rgba(0,0,0,0.87);font-family:"Roboto Slab","Times New Roman",serif;font-size:14px;white-space:pre-wrap;background-color:rgb(250,250,250)">+65 86715012</span><br></div><div style="font-size:12.8px">Application Practice. APAC.</div><div style="font-size:12.8px"><a href="mailto:cjonagam@redhat.com" style="font-size:12.8px" target="_blank">cjonagam@redhat.com</a></div></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 16, 2018 at 3:17 PM, Chakradhar Jonagam <span dir="ltr"><<a href="mailto:cjonagam@redhat.com" target="_blank">cjonagam@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div>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.</div><div><br></div><div>Tried following</div><div>- logged out and loggedin , refreshed catalog, bootstrapped etc etc.</div><div>- tried pushing to different namespaces</div><div>- tried different registries</div><div>- it was pretty hard to install apb cli on centos (pl put some binaries on github releases :) </div><div><br></div><div>Here is the output of my push </div><div><br></div><div><br></div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:0px;word-wrap:normal;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;word-break:normal;color:rgb(36,41,46);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">[cjonagam@create9-bastion my-mysql]$ sudo apb  push --namespace openshift  --registry-route=<a href="http://docker-registry-default.apps.minikube.io" target="_blank">docker-<wbr>registry-default.apps.<wbr>minikube.io</a>
/usr/lib/python2.7/site-<wbr>packages/urllib3/<wbr>connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.org/en/latest/security.html" target="_blank">https://urllib3.readthedocs.<wbr>org/en/latest/security.html</a>
  InsecureRequestWarning)
/usr/lib/python2.7/site-<wbr>packages/urllib3/<wbr>connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.org/en/latest/security.html" target="_blank">https://urllib3.readthedocs.<wbr>org/en/latest/security.html</a>
  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: [<a href="http://docker-registry-default.apps.minikube.io/openshift/my-mysql" target="_blank">docker-registry-default.apps.<wbr>minikube.io/openshift/my-mysql</a><wbr>]
Successfully built APB image: <a href="http://docker-registry-default.apps.minikube.io/openshift/my-mysql/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769" target="_blank">docker-registry-default.apps.<wbr>minikube.io/openshift/my-mysql
/usr/lib/python2.7/site-<wbr>packages/urllib3/<wbr>connectionpool.py:769</a>: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.org/en/latest/security.html" target="_blank">https://urllib3.readthedocs.<wbr>org/en/latest/security.html</a>
  InsecureRequestWarning)
Pushing the image, this could take a minute...
Successfully pushed image: <a href="http://docker-registry-default.apps.minikube.io/openshift/my-mysql" target="_blank">docker-registry-default.apps.<wbr>minikube.io/openshift/my-mysql</a>
Contacting the ansible-service-broker at: <a href="https://asb-1338-openshift-ansible-service-broker.apps.minikube.io/ansible-service-broker/v2/bootstrap" target="_blank">https://asb-1338-openshift-<wbr>ansible-service-broker.apps.<wbr>minikube.io/ansible-service-<wbr>broker/v2/bootstrap</a>
Successfully bootstrapped Ansible Service Broker
Successfully relisted the Service Catalog</pre><br></div><div>Here is my asb config</div><div><br></div><div><br></div><div><span style="color:rgb(54,54,54);font-family:Menlo,Monaco,Consolas,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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: ['*']</span><br></div><div><span style="color:rgb(54,54,54);font-family:Menlo,Monaco,Consolas,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(54,54,54);font-family:Menlo,Monaco,Consolas,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(54,54,54);font-family:Menlo,Monaco,Consolas,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Pl help!</span></div><div><br></div><div><br></div><br clear="all"><div><div class="m_8340657186625044832gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">> Chakra<div><br></div><div><div style="font-size:12.8px">Sr Solutions Architect.   </div><div style="font-size:12.8px"><span style="color:rgba(0,0,0,0.87);font-family:"Roboto Slab","Times New Roman",serif;font-size:14px;white-space:pre-wrap;background-color:rgb(250,250,250)">+65 86715012</span><br></div><div style="font-size:12.8px">Application Practice. APAC.</div><div style="font-size:12.8px"><a href="mailto:cjonagam@redhat.com" style="font-size:12.8px" target="_blank">cjonagam@redhat.com</a></div></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</blockquote></div><br></div>