Ask Your Question

Cannot restart services on Devstack

asked 2013-06-06 12:42:05 -0500

achanda gravatar image

updated 2013-06-06 15:33:26 -0500

I installed Devstack on a UBuntu 12.04 VM. The dashboard opens fine and I can launch and login to VMs. But now when I try to restart services, I get an error which says the service is not running.

$ sudo service nova-network restart
restart: unrecognized service

I can see all nova services running when I do ps aux | grep nova

What is going wrong here?

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2013-06-06 22:30:06 -0500

Sagar Ratnakara Nikam gravatar image

Devstack does not run services. Its runs as screens. After successfully running, if you want to restart any openstack service, get into screen using screen -r. For restarting nova network, go to nova network screen which is screen 9, using the command CTRL+A followed by 9. Then kill the nova network using CTRL+C and then restart it using "up" arrow and enter.

Note if you reboot your machine running devstack, you need to rerun

edit flag offensive delete link more


This worked!

achanda gravatar imageachanda ( 2013-06-13 17:49:55 -0500 )edit
1 rerun is not needed

coolsvap gravatar imagecoolsvap ( 2013-06-22 03:32:09 -0500 )edit

Sorry, I didn't get it. What do you mean by using the command CTRL+A. And when I did screen -r, it says there is no screen to resume.

Peeyush gravatar imagePeeyush ( 2013-06-27 02:33:15 -0500 )edit

when you get there is no screen to be attached, your rejoin stack script is not executed successfully. Run the rejoin-stack script with stack user with its own session. dont do the sudo su user change, instead login to the devstack vm with stack user or ssh to stack from the terminal

coolsvap gravatar imagecoolsvap ( 2013-07-02 05:16:36 -0500 )edit

Once you run the rejoin-stack successfully, the screen automatically comes up. If it does not screen -r will do the work for you to attach to the screen

coolsvap gravatar imagecoolsvap ( 2013-07-02 05:18:14 -0500 )edit

answered 2013-06-06 14:03:07 -0500

Florin gravatar image

It's the other way around.

service nova-network restart
edit flag offensive delete link more


I made an error in my original question. service nova-network restart is what I tried and got the error. Fixed it in the question.

achanda gravatar imageachanda ( 2013-06-06 15:32:54 -0500 )edit

After rebooting the machine, no need to rerun the We have script to connect to devstack screens. Just make sure you create the stack-volumes volume-group before running the

coolsvap gravatar imagecoolsvap ( 2013-06-21 05:36:25 -0500 )edit

>>" Just make sure you create the stack-volumes volume-group before running the" Pardon my dumb question ... but I could not find any information on how does one create stack-volumes volume group. Any help?

Gopal gravatar imageGopal ( 2013-08-27 01:23:00 -0500 )edit

Refer to this link, here is the configuration for cinder-volumes, if your stack volumes is corrupted then only create again or just assign it to loop device /dev/loop2

coolsvap gravatar imagecoolsvap ( 2013-08-27 04:10:00 -0500 )edit

I am encountering the same problem. (reboot devstack. run rejoin-stack. It runs into cinder volume problems). The link you have provided seems to have disappeared. Could you explain your statement a bit (or provide a different link)? Thanks for your help.

pjdurai gravatar imagepjdurai ( 2015-08-19 23:31:22 -0500 )edit

answered 2017-03-20 11:18:56 -0500 ( Refer to this link, It was Very helpful for me.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-06-06 12:42:05 -0500

Seen: 19,401 times

Last updated: Jun 06 '13