Closed slaskawi closed 7 years ago
BTW, without --secure
I get this:
$ apb list
Error: Attempt to list APBs in the broker returned status: 403
Unable to list APBs in Ansible Service Broker.
This also may (or not) be connected with https://github.com/openshift/ansible-service-broker/issues/443
When https://github.com/openshift/ansible-service-broker/pull/445 was merged, https became a requirement. Here's the documentation for using bearer auth: https://github.com/openshift/ansible-service-broker/blob/master/docs/ssl_tls.md.
The apb tool got support to authenticate to the broker with this patch: https://github.com/ansibleplaybookbundle/ansible-playbook-bundle/pull/123 so everything should be all set. Please re open if you're still seeing the issue.
After the latest changes to the templates I can not use HTTP (only HTTPS is allowed). When using
oc cluster up
, the CA is automatically generated upon server startup and is not trusted in the system.Now, when I try to list APBs, I get the following error:
With the latest Docker image it's even worse:
So it seems there is no
--allow-untrusted
(or similar) switch, which would allow usingoc cluster up
. And the second thing is that RPM and Docker image of APB are out of sync.