No access to API Endpoint
We have Openstack Icehouse setup and we are trying to communicate with Openstack via API but getting the following errors. I am able to connect to the main admin tenant at port 5000 but not able to connect to any other services. We are using http://xx.xxx.xxx.x:5000/v2.0 to connect.
Do I need to create endpoints for these services? If yes what is the proper way to create them because last time we tried doing it, out setup broke and services went offline.
Compute - No access to API Endpoint:http://192.168.0.2:8774/v2/ with message: Connection Error:Connection timed out
Identity - No access to API Endpoint:http://192.168.0.2:35357/v2.0 with message: Connection Error:Connection timed out
Image - No access to API Endpoint:http://192.168.0.2:9292/v2 with message: Connection Error:Connection timed out
Network - No access to API Endpoint:http://192.168.0.2:9696/v2.0 with message: Connection Error:Connection timed out
Volume - No access to API Endpoint:http://192.168.0.2:8776/v2/ with message: Connection Error:Connection timed out
Metering - No access to API Endpoint:http://192.168.0.2:8776/v2/ with message: Endpoints for this API interface are unavaiable
Yes, Endpoint creation for services are a part of service configuration. To create the service end-point , you can follow openstack installation guide based on your openstack version.
Are you sure anything is listening at these ports? And there is no firewall blocking them? How do you connect? By the way, you don't connect to tenants, but to services like Identity (port 5000 and 35357). The tenant is just a parameter of your API call.