ConnectionError at /admin

asked 2014-03-30 11:21:04 -0500

Amir gravatar image

updated 2014-04-01 03:24:42 -0500


I am new to OpenStack, and I am installing DevStack.

After entering my name ("admin") and password at the login screen, I almost always get the following error: "ConnectionError at /admin/" with additional data as provided below.

Sometimes (rarely), I do get through, and to the dashboard. However, even then, after a short while playing around with the options on the dashboard, I get a "ConnectError".

The details I typically get are as follows:

ConnectionError at /admin/

HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/539f650684d04815ac63eb1fe907e938/os-simple-tenant-usage?start=2014-03-30T00:00:00&end=2014-03-30T23:59:59&detailed=1 (Caused by <class 'httplib.BadStatusLine'>: '')

Request Method:     GET
Request URL:
Django Version:     1.5.5
Exception Type:     ConnectionError
Exception Value:    

HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/539f650684d04815ac63eb1fe907e938/os-simple-tenant-usage?start=2014-03-30T00:00:00&end=2014-03-30T23:59:59&detailed=1 (Caused by <class 'httplib.BadStatusLine'>: '')

Exception Location:     /usr/local/lib/python2.7/dist-packages/requests/ in send, line 378
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    


Any ideas?

Thanks, Amir

edit retag flag offensive close merge delete


Is this related to your problem?

Jobin gravatar imageJobin ( 2014-03-30 11:47:28 -0500 )edit

Thanks but no, it doesn't seem to be related. I also tried their suggestion (downgrading django) and it did not help. Amir

Amir gravatar imageAmir ( 2014-03-31 15:10:18 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-18 07:41:14 -0500

I had case when test server just run out of memory and just killed OpenStack dashboard. for me OpenStack lab configs from network Internet don't fit in recommended 512Mb.

edit flag offensive delete link more

answered 2014-04-01 06:06:35 -0500

jpichon gravatar image

HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/539f650684d04815ac63eb1fe907e938/os-simple-tenant-usage?start=2014-03-30T00:00:00&end=2014-03-30T23:59:59&detailed=1 (Caused by <class 'httplib.BadStatusLine'>: '') seems to suggest a problem with getting a response from Nova... Did you check the logs for your Nova server when the problem occurs?

edit flag offensive delete link more


Thanks. I am new to OpenStack and using DevStack. I could not find any nova logs - could you give a pointer? (I couldn't find anything under /var/log).

Amir gravatar imageAmir ( 2014-04-02 04:44:25 -0500 )edit

In DevStack, by default the logs are only shown in screen session (if you want to change this see "screen logging" in the docs -> ). In the meantime you can access the logs with "screen -r" and using screen commands to navigate between the different screens

jpichon gravatar imagejpichon ( 2014-04-02 05:07:44 -0500 )edit

You can find the screen commands at if you haven't used it before. The nova-related sessions start with "n-" (nova api, nova scheduler, etc)

jpichon gravatar imagejpichon ( 2014-04-02 05:08:26 -0500 )edit

Thanks - I managed to record the logs to files using your suggestions. The Nova log seems fine, but I found the following error in the Horizon log. Does it give a clue?

[Wed Apr 02 14:44:11 2014] [error] 
[Wed Apr 02 14:44:11 2014] [error] REQ: curl -i '' -X GET -H "X-Auth-Project-Id: 9cefc3f98fdd4a96a30c129980f9a45e" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 0c2d8b2e1e5a473a419082d81b6bd199"
[Wed Apr 02 14:44:11 2014] [error] 
[Wed Apr 02 14:44:14 2014] [error] Internal Server Error: /admin/
[Wed Apr 02 14:44:14 2014] [error] Traceback (most recent call last):
[Wed Apr 02 14:44:14 2014] [error]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/", line 111, in get_response
[Wed Apr 02 14:44:14 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Wed Apr 02 14:44 ...
Amir gravatar imageAmir ( 2014-04-02 09:52:18 -0500 )edit

To me that really suggests an issue coming from Nova... Does nova list-extensions return fine from the command-line? Did you check all the nova logs from around that timestamp? (There are more than one Nova screen session)

jpichon gravatar imagejpichon ( 2014-04-02 10:24:35 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-03-30 11:21:04 -0500

Seen: 3,314 times

Last updated: Apr 01 '14