Access to Openshift Manageiq REST API


#1

Hi,

I tried talking to a Manageiq pod to list all the available API using cURL as follows:

curl -vvv https://manageiq-openshift-cfme.router.default.svc.cluster.local/api -k

and got an error:

HTTP/1.0 503 Service Unavailable

Whereas, access to this API from a browser on the same machine worked.
Could you please help me with this?

P.S: copying the cURL request from browser’s developer tools didn’t help.


#2

What version of the template are you using?

Using the latest from https://github.com/ManageIQ/manageiq-pods I don’t have any issue with this. I get the same json payload using the browser as I do with the command:

curl https://admin:smartvm@httpd-manageiq.192.0.2.0.nip.io/api -k