Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I was experiencing the same error. After a week I related that the error message has host=controller in it, which I found puzzling because my Nova Controller uses a different hostname. I searched all the configuration files under /etc to see if any of them define "controller" as a host name but found none. Nonetheless to work-around the problem, I simply added another ip/hostname entry in /etc/hosts for hostname 'controller', and the problem immediately disappeared. Hope that helps.

I was experiencing the same error. After a week I related that the error message has host=controller in it, which I found puzzling because my Nova Controller uses a different hostname. I searched all the configuration files under /etc to see if any of them define "controller" as a host name but found none. Nonetheless to work-around the problem, I simply added another ip/hostname entry in /etc/hosts for hostname 'controller', and the problem immediately disappeared. Hope that helps.

========================= [Thu Feb 06 21:55:16.481916 2014] [:error] [pid 30060:tid 140292521580288] raise exceptions.ConnectionError(msg) [Thu Feb 06 21:55:16.481923 2014] [:error] [pid 30060:tid 140292521580288] ConnectionError: Unable to establish connection: HTTPConnectionPool(host='controller', port=8776): Max retries exceeded with url: /v1/6eece3e2a2bf4a36a719e2e61adf1f6d/volumes/detail?all_tenants=True (Caused by <class 'socket.gaierror'="">: [Errno -2] Name or service not known)

=========================

Can some one please explain to me what configuration files determines the host='controller' value and port=8776 as reflected by the extract from error.log above. It's seems to me these values just flip at will with varying service denial messages. With my changing anything, the message all of a sudden appears as follows when I click on items within the Horizon web interface...

======================== [Thu Feb 06 22:01:22.267529 2014] [:error] [pid 30060:tid 140292563543808] raise ConnectionError(e) [Thu Feb 06 22:01:22.267535 2014] [:error] [pid 30060:tid 140292563543808] ConnectionError: HTTPConnectionPool(host='196.13.145.180', port=8774): Max retries exceeded with url: /v2/6eece3e2a2bf4a36a719e2e61adf1f6d/servers/detail?limit=21&all_tenants=True (Caused by <class 'socket.error'="">: [Errno 111] Connection refused)

=======================