How do I ensure all services are up after the reboot using devstack?

asked 2014-04-08 08:54:00 -0600

techy_bolek gravatar image

updated 2014-04-09 02:46:13 -0600

smaffulli gravatar image

I'm running devstack on ubuntu. I did the following:

  1. ./

  2. Verified the Horizon GUI, logged in as administrator

  3. ./

  4. Tried to log on again but the browser it says it can't connect

Another scenario:

  1. I reboot my computer without running ./

  2. After reboot, I run ./

  3. Try to log on to Horizon GUI. The screen does come up but I get an error: "Unable to authenticate, please try again later".

I guess my question is:

  1. How do I bounce openstack.

  2. How do I ensure all services are up after the reboot.

  3. When should I run ./ and and what do I need to do to bring the services back after I run it.

Note: I've seen a few similar questions on restarting openstack but they haven't helped.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-04-09 02:50:02 -0600

SGPJ gravatar image

Devstack is not persistence and you should use packstack for your requirement.

edit flag offensive delete link more

answered 2014-04-08 11:27:14 -0600

SGPJ gravatar image

You need to stack again by running ./

If you want to run in offline mode, enable flag OFFLINE=True

After reboot also, you need to see whether stack is running by ps -ef| grep stack, if not then run ./ from devstack dir.

edit flag offensive delete link more


I may be missing something but ./ re-creates everything from scratch and wipes out the existing configuration. It appears to be a setup script not a restart script. I want to be able to restart devstack with the existing configuration.

techy_bolek gravatar imagetechy_bolek ( 2014-04-08 17:20:57 -0600 )edit

Devstack is a development tool not something you should use to run things in production. It won't setup init scripts, if that's what you're asking.

smaffulli gravatar imagesmaffulli ( 2014-04-09 02:45:16 -0600 )edit

Thanks, I knew it was a dev tool (as the name devstack implied) and I was not intending to use it in production. I did not realize that it did not provide restart scripts. On a side note, as a newbie developer starting with openstack I would find it beneficial if such scripts were provided.

techy_bolek gravatar imagetechy_bolek ( 2014-04-09 13:14:44 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-08 08:54:00 -0600

Seen: 1,752 times

Last updated: Apr 09 '14