ansible-playbook-bundle icon indicating copy to clipboard operation
ansible-playbook-bundle copied to clipboard

How long should it take for a new local apb to show up in the catalog UI

Open ghost opened this issue 7 years ago • 2 comments

Perhaps, I am missing smth, but what I have done is:

  1. Configured timeout in cm, so that the catalog is bootstrapped every minute
  2. Pushed an image to an internal registry, openshift tnamespace
  3. In logs, I can see my apb
time="2018-09-04T05:37:47Z" level=debug msg="spec '63d8302ad52da8345b50173a0e745212\|localregistry-code-ready-apb' needs to be updated"

and eventually

time="2018-09-04T05:37:59Z" level=info msg="update spec: 63d8302ad52da8345b50173a0e745212\|localregistry-code-ready-apb to crd"
...

time="2018-09-04T05:38:04Z" level=info msg="Broker successfully bootstrapped" 

However, it takes up to 5 mins for a new apb to show up in the catalog UI. This makes development and debugging cycle quite long.

Origin 3.9 (oc cluster up) Installed ansible automation catalog via curl https://raw.githubusercontent.com/openshift/ansible-service-broker/master/apb/install.yaml | oc create -f -

ghost avatar Sep 04 '18 05:09 ghost

You can change it in ASB config. Relist value is 600s (default). I put in 10s and work good) but i refresh and sync manul for speed up this process

Asgoret avatar Nov 26 '18 14:11 Asgoret

@eivantsov

Asgoret avatar Nov 26 '18 15:11 Asgoret