Running the command glance image-list I get the error: finding address for http://controller:9292/v1/images/detail
In doing an initial install of OpenStack, with Ubuntu 14.07 and get the error described. Thank you for your help !
It sounds like you have a basic name resolution problem. If you think it is more than that, please update your question with the exact command you are running and the exact output you see, and include output that shows the hostname of your controll resolving correctly. Thanks!
The command worked a few days ago - not sure what changed but here are more details:
glance image-list
Error finding address for http://controller:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20 (http://controller:9292/v1/images/deta...) : HTTPConnectionPool(host='controller', port=9292): Max retries exceeded with url: /v1/
Command I was trying to run was: glance image-list
Just to show the name "controller" can be found: # netstat | grep controller tcp 0 0 controller:mysql controller:35830 ESTABLISHED tcp 0 0 controller:35830 controller:mysql
Looks like you cannot resolve the hostname "controller" to an IP address. Add the line "IP_ADDRESS_OF_THE_CONTROLLER controller" to your "/etc/hosts" file and try it again.
Here is my hosts file: Controller name found but not the port 9292
cat /etc/hosts
#127.0.0.1 localhost #127.0.1.1 raid03 128.6.57.128 xxid03.xxx.xxx.xxx
10.255.255.255 broadcasthost 255.255.255.255 broadcasthost #
OpenStack Configuration
OpenStack
10.0.0.11 controller
OpenStack
10.0.0.31 compute1