start openstack after restarting system

asked 2015-06-23 01:55:09 -0600

sumit gravatar image

I installed devstack. Al things was working fine. But when i restart my system, after that i am not able to use openstack.

When i run

nova list

it return following error

ERROR (ConnectionError): ('Connection aborted.', error(113, 'No route to host'))

I guess i need to restart all openstack services but how??

There no service available related to openstack.I checked in /etc/init.d/ also.

However horizon is available and i can access the dashboard.

Kindly tell how to restart all openstack services as they were before shutting down the system.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2015-06-23 02:18:40 -0600


If you are using devstack setup, and after restarting your system if you want to retain the previous state of openstack then run ./ in your terminal.

if you run ./ then it will clear all the previous instances, database entries,etc.

for more information about devstack after rebooting

edit flag offensive delete link more

answered 2015-06-23 02:19:37 -0600

Ams70 gravatar image

I have this problems too. But if you run ./ after each restarting you don not have any problems and openstack work fine.

edit flag offensive delete link more



running ./ after every reboot not recommended because it will clears all the previous data. so if you want to retain the previous state of your openstack then run ./

PradeepNaik gravatar imagePradeepNaik ( 2015-06-23 02:23:37 -0600 )edit

answered 2015-06-23 02:50:58 -0600

uts9 gravatar image

updated 2015-06-23 02:51:33 -0600

After every reboot you need to run ./

./ just reconnects to the active screen. This is useful if you want to reconnect to the screen after closing the terminal.

# if screenrc exists, run screen
if [[ -e $TOP_DIR/stack-screenrc ]]; then
    if screen -ls | egrep -q "[0-9].stack"; then
        echo "Attaching to already started screen session.."
        exec screen -r stack
    exec screen -c $TOP_DIR/stack-screenrc
edit flag offensive delete link more

answered 2017-05-26 07:06:36 -0600

vabada gravatar image

Since devstack's main use case is not running a cloud, it will fail after a reboot. Instead of re-running ./ and after the disappearance of ./, the method I found useful, and it is working for me so far, is to create snapshots of the virtual machine's state, whenerver I want to save something I might be using later.

edit flag offensive delete link more

answered 2019-08-31 08:06:45 -0600

Easiest Solution is...

yum install openstack-utils dnsmasq-utils -y

openstack-service restart

openstack-status -l

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-23 01:55:09 -0600

Seen: 14,709 times

Last updated: May 26 '17