Ask Your Question
0

Restart devstack services

asked 2016-12-01 20:10:09 -0600

RingWraiths gravatar image

How can i restart the devstack services ? I am working with the master branch and there is no "rejoin stack.sh" file as other websites suggest ? Is there a clean way of doing it ?

edit retag flag offensive close merge delete

Comments

Tip: Unless you are doing development for devstack I would suggest to switch to a stable branch. Learn from my mistake :P

hkominos gravatar imagehkominos ( 2016-12-02 04:06:33 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2016-12-02 04:21:10 -0600

Bernd Bausch gravatar image

updated 2016-12-02 04:21:55 -0600

rejoin-stack has never worked well, which was one of the reasons it was removed from devstack. See here for example: http://stackoverflow.com/questions/36.... So the answer is: Don't stop your devstack. If it's running in a VM, I suggest you save the VM state if you need to switch your machine off.

edit flag offensive delete link more

Comments

But the issue arises when I change the config file and want to restart the services again for the changes to take effect

RingWraiths gravatar imageRingWraiths ( 2016-12-02 06:27:00 -0600 )edit

change the config file, then just restart the affected services. E.g. to restart the nova scheduler, go to its screen screen -x stack -p n-sch, kill the foreground process and run it again.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-02 07:18:55 -0600 )edit
1

answered 2016-12-02 00:08:24 -0600

bhattimarry gravatar image

Which version are you using? If its an older release, you can either download the rejoin-stack file from some previous openstack release/version

OR

you can stop it by running unstack.sh and then start it again with stack.sh

edit flag offensive delete link more

Comments

I am using the master branch. Dont know which devstack version it is. I wanted to avoid restarting with stack.sh as it takes a lot of time.

RingWraiths gravatar imageRingWraiths ( 2016-12-02 06:28:28 -0600 )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

1 follower

Stats

Asked: 2016-12-01 20:10:09 -0600

Seen: 1,419 times

Last updated: Dec 02 '16