Ask Your Question

service failure after reboot

asked 2014-11-15 15:02:24 -0500

Marco gravatar image

Sorry for the very newbie question but I just finished installing openstack on a laptop running a clean install and minimal install of ubuntu 14.01 (basic Server install with only openSSH added).

I successfully installed openstack and was able to the the dashboard and to login as admin or demo. I had to powered down my laptop and upon reboot, the services fail to restart properly.

What is the proper procedure to reboot openstack?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-11-16 03:37:41 -0500

SamYaple gravatar image

Since you are installing this all on one machine, you likely do not have an external database.

You'll need to start the database (mysql) and the message queue (rabbitmq) before starting the Openstack services.

The Openstack services can be started in any order, but be prepared for some connectivity errors in the logs at first startup. I would recommend starting keystone then nova but that isn't a requirement if they all are started at about the same time.

If this was a by-hand deployment, I would recommend removing the Openstack services from the runlevels so that they won't get autostarted since even adding a delay it seems to still break. at least for me.

For further troubleshooting you will need to provide why the services are failing (log messages). The log messages will be in /var/log. Also remember to check /var/log/upstart if it is failing before it logs anything.

edit flag offensive delete link more

answered 2014-11-16 02:45:22 -0500

How did you installed OpenStack? I mean which method you followed, like Devstack, Manual Installation etc. Based on that we can decide the issue.

edit flag offensive delete link more


Installation was done through DevStack. Can't figure out how to start the services... service nova start or service keystone start returns errors (and there is no script in /etc/init.d for these services...)


Marco gravatar imageMarco ( 2014-11-17 18:36:41 -0500 )edit

Cool. Devstack is little bit different.

To restart the services we need to run "" script in "devstack" folder.

Let us suppose your devstack user name is "stack", then

su stack cd devstack ./

Note: Before running that, make sure MySQL, RabbitMQ, Httpd running.

TechPatron gravatar imageTechPatron ( 2014-11-17 23:26:34 -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


Asked: 2014-11-15 15:02:24 -0500

Seen: 837 times

Last updated: Nov 16 '14