[Openstack] [devstack]How to restart all services without unstack ?

Li, Chen chen.li at intel.com
Wed Jun 11 04:29:35 UTC 2014


This works!


Thanks a lot.
-chen


From: Moiz Arif [mailto:moizarif2002 at hotmail.com]
Sent: Wednesday, June 11, 2014 12:12 PM
To: Li, Chen; openstack at lists.openstack.org
Subject: RE: [Openstack] [devstack]How to restart all services without unstack ?

Hello,

You can manually restart any service you like in devstack by following the below procedure:

1. In terminal type "screen -x stack" . Here stack is the screen name.
you will be logged into the screens for all devstack services
2. Browse to your selected service by pressing Ctrl+a and then n (Next screen). Ctrl+a and then p (Previous screen)
3. When at the desired screen press Ctrl+c (This will stop the service)
4. Press the UP key and press enter.

The service will restart.

For an automated restart you can copy the command (from 4th step) for restarting service and make a script that can re-start all such services.

Hope it helps
________________________________
From: chen.li at intel.com<mailto:chen.li at intel.com>
To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Date: Wed, 11 Jun 2014 02:51:15 +0000
Subject: [Openstack] [devstack]How to restart all services without unstack ?
Hi list,

I just installed a devstack environment.

I didn't find a good way to restart all services, so I use
1.       ./unstack.sh
2.       ./rejoin-stack.sh

Then I noticed that after ./unstack.sh, br-int and br-ex had been removed (but not br-tun), but ./rejoin-stack.sh would not add them back automate. So I reported a bug:
https://bugs.launchpad.net/devstack/+bug/1327042

But the bug has been marked as invalid due to:
"./unstack.sh destroys deployment, it is not intended to be used for services restart"

So, here is my question:
how can I restart all services without unstack ??

Thanks.
-chen

_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140611/20228ead/attachment.html>


More information about the Openstack mailing list