Ask Your Question
1

ConnectionError at /admin/

asked 2013-06-20 14:53:34 -0500

grobile gravatar image

updated 2013-06-24 03:35:49 -0500

jpichon gravatar image

Hi I have still problems with my Grizzly installation based on "https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst"

Now I get:

ConnectionError at /admin/

[Errno 111] Connection refused

Request Method: GET Request URL: http://2.14.102.242/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.4 Python Path:

['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/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/share/openstack-dashboard/', '/usr/share/openstack-dashboard/openstack_dashboard']

And I don't know what the reason could be.

Any suggestions?

THX Grobile

edit retag flag offensive close merge delete

Comments

can you please paste full stack trace from your apache log file?

hameedullah gravatar imagehameedullah ( 2013-06-24 10:57:33 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-06-24 03:35:25 -0500

jpichon gravatar image

When you login into the dashboard as an admin, the home page is an Overview page that shows some general usage information. "Connection Refused" means it's trying to get information from a service that's currently down.

Double-check that the URLs in the Keystone service catalogue are correct for Nova/compute. You can also check if the service is working correctly by doing nova list using the CLI tools.

If that doesn't help, could update your question with the apache logs and show the full stack trace for the error? This should help to pinpoint more exactly where the Connection Refused error is coming from.

edit flag offensive delete link more
0

answered 2013-06-20 23:28:17 -0500

Vysakh gravatar image

Hello Grobile, Lets start with the basics, Make sure you had followed the steps to create the credential file.

Step 1: nano creds

Step2 : #Paste the following:
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_AUTH_URL="http://192.168.100.51:5000/v2.0/"

Step3: # Load it:
source creds

Looks like from the doc you followed, there is one step missing which is to source the credential file to your login across reboots. Below command will achieve this.

echo "source ~/creds" >> ~/.bashrc

Now when you try execute keystone user-list you should get the lists.

edit flag offensive delete link more

Comments

Thank you Vysakh, I have already done that. Via the cli I get the user-list, but the dashboard still shows the same error. :-(

grobile gravatar imagegrobile ( 2013-06-24 03:14:07 -0500 )edit

hi, i have same THX Grobile problem . I do source my file and contains: *************** export OS_USERNAME=admin export OS_PASSWORD=adminpass export OS_TENANT_NAME=demo export OS_AUTH_URL=http://10.102.1.47:35357/v2.0 export OS_REGION_NAME=RegionOne but not solve my problem.Do you need error log of apache?

sorina gravatar imagesorina ( 2013-08-06 06:21:58 -0500 )edit

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-20 14:53:34 -0500

Seen: 1,373 times

Last updated: Jun 26 '13