Glance API not working [closed]
Hi,
I am using RDO packstack (all-in-one deployment) .... I have a strange issue. Horizon works ( i am able to log in and use the dashboard ). glance command line tools work
Glance image-list is listing all the images ...
Glance image-show is listing all the details of the images ...
Glance image-download is downloading the images .....
Glance image-create is also working
But if use the REST API equivalent of the above mentioned commands ... i am not getting response for any of the APIs. Identity service is installed properly ( identity API also works ... i am able to fetch tokens when i make a POST API call from a remote machine)
But when i use the token and request for the list of images ... i get the following response
This seems to be like an error connecting to http://192.168.99.95:9292/v1/images. The response status was 0.
Check out the W3C XMLHttpRequest Level 2 spec for more details about when this happens.
I used glance-control to restart the api and the registry ... and the services were restarted successfully. But the issue is still not resolved for me .. What could be wrong ?
packstack is installed on centos 6.5
When you say 'glance command line tools work' - you mean that the 'glance index' shows the image list?
f that still doesn't give you the answers you need, you should specify exactly how you are are making these requests to the API.
I am invoking the POST API from a google chrome browser using POSTMAN REST Client .. I am invoking this API request from a remote machine. All REST API calls to identity service works. But none of the REST API calls work for glance (both glance and identity service are running on the same machine