Ask Your Question
0

Cant load myopenstack Dashboard...

asked 2013-06-24 23:28:43 -0500

Cloudie gravatar image

updated 2013-06-26 03:29:45 -0500

jpichon gravatar image

ConnectionError at /admin/

[Errno 111] Connection refused

Request Method: GET Request URL: http://192.168.29.61/horizon/admin/ Django Version: 1.4.5 Exception Type: ConnectionError Exception Value:

[Errno 111] Connection refused

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

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/share/openstack-dashboard/', '/usr/share/openstack-dashboard/openstack_dashboard']

Server time: Tue, 25 Jun 2013 04:19:45 +0000

apache error log

 REQ: curl -i http://localhost:8774/v1.1/c984dbaa618c426aafa0521b959fd53c/os-simple-tenant-usage?start=2013-06-01T00:00:00&end=2013-06-26T05:06:18.810925&detailed=1 -X GET -H "X-Auth-Project-Id: c984dbaa618c426aafa0521b959fd53c" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: a50329cebe422a5c78107c449d83c88d"
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): localhost
[Wed Jun 26 05:06:18 2013] [error] DEBUG:urllib3.connectionpool:"GET /v1.1/c984dbaa618c426aafa0521b959fd53c/os-simple-tenant-usage?start=2013-06-01T00:00:00&end=2013-06-26T05:06:18.810925&detailed=1 HTTP/1.1" 200 21
[Wed Jun 26 05:06:18 2013] [error] RESP: [200] {'date': 'Wed, 26 Jun 2013 05:06:18 GMT', 'x-compute-request-id': 'req-978691bb-0556-4324-b16e-28fdb1b0069e', 'content-type': 'application/json', 'content-length': '21'}
[Wed Jun 26 05:06:18 2013] [error] RESP BODY: {"tenant_usages": []}
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] REQ: curl -i http://localhost:8774/v1.1/c984dbaa618c426aafa0521b959fd53c/os-quota-sets/c984dbaa618c426aafa0521b959fd53c -X GET -H "X-Auth-Project-Id: c984dbaa618c426aafa0521b959fd53c" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: a50329cebe422a5c78107c449d83c88d"
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] REQ: curl -i http://localhost:8774/v1.1/c984dbaa618c426aafa0521b959fd53c/os-quota-sets/c984dbaa618c426aafa0521b959fd53c -X GET -H "X-Auth-Project-Id: c984dbaa618c426aafa0521b959fd53c" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: a50329cebe422a5c78107c449d83c88d"
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): localhost
[Wed Jun 26 05:06:18 2013] [error] DEBUG:urllib3.connectionpool:"GET /v1.1/c984dbaa618c426aafa0521b959fd53c/os-quota-sets/c984dbaa618c426aafa0521b959fd53c HTTP/1.1" 200 322
[Wed Jun 26 05:06:18 2013] [error] RESP: [200] {'date': 'Wed, 26 Jun 2013 05:06:18 GMT', 'x-compute-request-id': 'req-06847899-fd9d-4fd9-baf1-303b715816d7', 'content-type': 'application/json', 'content-length': '322'}
[Wed Jun 26 05:06:18 2013] [error] RESP BODY: {"quota_set": {"injected_file_content_bytes": 10240, "metadata_items": 128, "ram": 51200, "floating_ips": 10, "key_pairs": 100, "id": "c984dbaa618c426aafa0521b959fd53c", "instances": 10, "security_group_rules": 20, "injected_files": 5, "cores": 20, "fixed_ips": -1, "injected_file_path_bytes": 255, "security_groups": 10}}
[Wed Jun 26 05:06:18 2013] [error] 
[Wed Jun 26 05:06:18 2013] [error] RESP: [200] {'date': 'Wed, 26 Jun ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-06-25 04:48:59 -0500

jpichon gravatar image

updated 2013-06-26 03:33:23 -0500

Could you update your question with the Apache error logs (probably in /var/log/apache2/ or /var/log/httpd/) which should contain a stack trace, so we can see which service is sending back the Connection Refused message?

Does nova list works when using the command line?

You might also want to check that the endpoints in your service catalogue (keystone catalog) are correct, particularly for the adminURL.

EDIT: Based on the logs we can now see it's the cinderclient sending back the connection refused. I'm guessing cinder list would not work on the command-line either.

You should check that the Cinder Volume service is up and running, and that the volume endpoints defined in Keystone are correct.

edit flag offensive delete link more

Comments

nova list gives blank output.

Cloudie gravatar imageCloudie ( 2013-06-26 00:04:16 -0500 )edit

where as keystone catalog is working fineroot@grizzly:/var/log/apache2# keystone catalog Service: volume +-------------+-----------------------------------------------------------+ | Property | Value | +-------------+----------------------------

Cloudie gravatar imageCloudie ( 2013-06-26 00:04:43 -0500 )edit

Blank output is actually good, it simply means you don't have any instances running. I'll update my answer based on the logs you provided, thanks.

jpichon gravatar imagejpichon ( 2013-06-26 03:31:49 -0500 )edit
0

answered 2013-11-11 11:15:39 -0500

jfarschman gravatar image

Any time you create a keystone endpoint you also need to bring up the corresponding services in OpenStack. Failing to do that will result in an error just like the one we are seeing here. I just brought up a test box and tried to shortcut by not installing Cinder..... after already creating a cinder endpoint.

So, either remove the endpoint, or start the service.

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

Stats

Asked: 2013-06-24 23:28:43 -0500

Seen: 2,060 times

Last updated: Nov 11 '13