Ask Your Question
0

Installed DevStack and rebooted now i get that Max retries exceeded with url

asked 2014-11-24 16:59:26 -0500

robm gravatar image

updated 2014-11-25 17:16:20 -0500

smaffulli gravatar image

I see alot of post on here about this , I was following https://wiki.openstack.org/wiki/Neutr...

to set up devstack for some project testing and the dashboard was coming up just fine . After modifiying local.conf and installing

 $ git clone https://github.com/osrg/ryu
 $ cd ryu && sudo python setup.py install

I rebooted and now i get the dashboard login but then when logged in I get this error:

ConnectionError at /project/
HTTPConnectionPool(host='192.168.216.168', port=8774): Max retries exceeded with url: /v2/6aa388d615d94d3380ac88f0eaeed18f/extensions (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
Request Method: GET
Request URL:    http://192.168.216.168/project/
Django Version: 1.6.8
Exception Type: ConnectionError
Exception Value:    
HTTPConnectionPool(host='192.168.216.168', port=8774): Max retries exceeded with url: /v2/6aa388d615d94d3380ac88f0eaeed18f/extensions (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
Exception Location: /usr/lib/python2.7/dist-packages/requests/adapters.py in send, line 378
Python Executable:  /usr/bin/python
Python Version: 2.7.6
Python Path:    
['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/keystone',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/heat',
 '/opt/stack/tempest',
 '/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/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/opt/stack/horizon/openstack_dashboard']
Server time:    Mon, 24 Nov 2014 22:25:28 +0000

I notice port 8774 isnt open is that the problem?

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-24 22:10:37 -0500

dtroyer gravatar image

DevStack is not designed to run across reboots, you need to re-run stack.sh to re-start OpenStack.

edit flag offensive delete link more
2

answered 2014-11-24 22:14:09 -0500

ader1990 gravatar image

Usually, after you reboot, you need to run stack.sh again.

edit flag offensive delete link more
0

answered 2014-11-25 03:48:09 -0500

updated 2014-11-25 03:49:42 -0500

The error you encountered could be solved by:

Make sure that the needed services are up and running:

  • Nova: sudo nova-manage service list (or ps -ef | grep nova)

Grep for ERROR in the log files:

  • /var/log/nova/nova-api.log (or in devstack case: /opt/stack/logs/screen/screen-n-api.log

As already stated in other answers, devstack doesn't survive a reboot and depends on a repeated execution of stack.sh.

edit flag offensive delete link more
0

answered 2014-11-25 08:07:59 -0500

portnumber 8774 corresponds to your nova-compute which is basically for authorizing to keystone entity.

for a devstack environment after rebooting the credentials will be destroyed so need to configure localrc.conf file with your current ip and run ./stack.sh fresh account will come previous vms will be destroyed or you can also run ./rejoin.sh will provide previous instances.

or give a try making ip static.

edit flag offensive delete link more
0

answered 2014-11-25 08:02:47 -0500

robm gravatar image

Awesome

that seems to have done it ...I provisioned 4gb for it so I think I am good there , just didnt "re-start" it using the stack.sh script :)

thanks guys!

edit flag offensive delete link more

Comments

Good to hear that you can go on. Please select one of the answers (could be your answer as well) as "correct" for other people who will google their way to this question.

Markus Zoeller gravatar imageMarkus Zoeller ( 2014-11-27 02:34:51 -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: 2014-11-24 16:59:26 -0500

Seen: 580 times

Last updated: Nov 25 '14