Ask Your Question
0

HTTPConnectionPool Exception when whatever service fails

asked 2014-01-20 11:39:23 -0500

Joaquin gravatar image

Hi there,

I´m having an exception like this:

HTTPConnectionPool(host='10.0.2.239', port=8776): Max retries exceeded with url: /v1/0c954d731cdc4a369fe3818275b44608/os-quota-sets/0c954d731cdc4a369fe3818275b44608 (Caused by <class 'socket.error'="">: [Errno 111] Connection refused)</class>

I´ve stopped manually cinder service and I got this exception. If I have all services running everything is OK. The goal if this is that I have each service on each server so If one server is down, is not going to be any service available?

I would like to access to dashboard at least.

edit retag flag offensive close merge delete

Comments

some more details like when you hit this issue or services are running etc details would help.

dheeru gravatar imagedheeru ( 2014-01-20 22:25:16 -0500 )edit

3 answers

Sort by » oldest newest most voted
0

answered 2014-03-04 03:59:06 -0500

jpichon gravatar image

Horizon requires all the services (referenced in the keystone catalog) to be up and running in order to work correctly.

In some cases you can work around this a little by e.g. directly accessing a page for which you know the service is up (e.g. /admin/users/ would still work even if Cinder is down) but otherwise this is not really a supported use case.

edit flag offensive delete link more
0

answered 2014-02-28 00:45:41 -0500

RHK gravatar image

Hello,

Check nova-api service is running on host IP and listening on port 8776

also check the /var/log/nova/api.log

Regards, RHK

edit flag offensive delete link more
0

answered 2014-01-21 05:29:59 -0500

Joaquin gravatar image

Sorry dheeru, I´ve not explained very well. I have all services running (cinder, glance, keystone, nova, quantum and swift) and everything is OK: I can access through horizon dashboard and manage whatever I want. The thing is when any service is either stopped or down, I´m not able to see the dashboard running anymore coming up that exception. It should be possible to manage other services in the dashboard.

My test: I´ve stopped manually cinder service and this is the trace of horizon dashboard:

ConnectionError at /admin/ HTTPConnectionPool(host='10.0.2.239', port=8776): Max retries exceeded with url: /v1/0c954d731cdc4a369fe3818275b44608/os-quota-sets/0c954d731cdc4a369fe3818275b44608 (Caused by <class 'socket.error'=""> : [Errno 111] Connection refused) Request Method: GET Request URL: http://10.0.2.239:8079/admin/ Django Version: 1.4.6 Exception Type: ConnectionError Exception Value:
HTTPConnectionPool(host='10.0.2.239', port=8776): Max retries exceeded with url: /v1/0c954d731cdc4a369fe3818275b44608/os-quota-sets/0c954d731cdc4a369fe3818275b44608 (Caused by <class 'socket.error'="">: [Errno 111] Connection refused) Exception Location: /usr/lib/python2.7/site-packages/requests-1.2.2-py2.7.egg/requests/adapters.py in send, line 327 Python Executable: /usr/bin/uwsgi Python Version: 2.7.2 Python Path:
['/opt/horizon/', '.', '', '/usr/lib/python2.7/site-packages/setuptools-0.9.8dev-py2.7.egg', '/usr/lib/python2.7/site-packages/setuptools_git-1.0-py2.7.egg', '/usr/lib/python2.7/site-packages/d2to1-0.2.10-py2.7.egg', '/usr/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg', '/usr/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg', '/usr/lib/python2.7/site-packages/requests-1.2.2-py2.7.egg', '/usr/lib/python2.7/site-packages/jsonpatch-1.1-py2.7.egg', '/usr/lib/python2.7/site-packages/warlock-1.0.1-py2.7.egg', '/usr/lib/python2.7/site-packages/paramiko-1.10.1-py2.7.egg', '/usr/lib/python2.7/site-packages/suds-0.4-py2.7.egg', '/usr/lib/python2.7/site-packages/stevedore-0.10-py2.7.egg', '/usr/lib/python2.7/site-packages/decorator-3.4.0-py2.7.egg', '/usr/lib/python2.7/site-packages/Tempita-0.5.1-py2.7.egg', '/usr/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-x86_64.egg', '/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-x86_64.egg', '/usr/lib/python2.7/site-packages/sqlalchemy_migrate-0.7.2-py2.7.egg', '/usr/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg', '/usr/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg', '/usr/lib/python2.7/site-packages/WebOb-1.2.3-py2.7.egg', '/usr/lib/python2.7/site-packages/repoze.lru-0.6-py2.7.egg', '/usr/lib/python2.7/site-packages/Routes-1.13-py2.7.egg', '/usr/lib/python2.7/site-packages/lxml-3.2.1-py2.7-linux-x86_64.egg', '/usr/lib/python2.7/site-packages/anyjson-0.3.3-py2.7.egg', '/usr/lib/python2.7/site-packages/amqp-1.0.13-py2.7.egg', '/usr/lib/python2.7/site-packages/kombu-2.5.12-py2.7.egg', '/usr/lib/python2.7/site-packages/eventlet-0.13.0-py2.7.egg', '/usr/lib/python2.7/site-packages/amqplib-1.0.2-py2.7.egg', '/usr/lib/python2.7/site-packages/django_appconf-0.6-py2.7.egg', '/usr/lib/python2.7/site-packages/django_compressor-1.3-py2.7.egg', '/usr/lib/python2.7/site-packages/django_openstack_auth-1.0.9-py2.7.egg', '/usr/lib/python2.7/site-packages/boto-2.9.7-py2.7 ...

(more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-20 11:39:23 -0500

Seen: 434 times

Last updated: Mar 04 '14