4 Commits

Author SHA1 Message Date
Jiajun Liu
8e58c0736f make rejoin-stack.sh keep the same service tags
Currently rejoin-stack.sh can not keep the same screen service tags
as the first you deploy openstack due to that the stack-screenrc lack
proper command to configure screen's hardstatus. just delete the old
stack-screenrc so that function screen_rc can write proper initialize
command into stack-screenrc.

fix bug 1182597

Change-Id: I4cb4c6ded93a5c7b0bd39d65a754ddf86553463d
2013-07-17 06:41:50 +00:00
Doug Hellmann
88317adc0a Source functions in rejoin-stack.sh
stackrc loads localrc and localrc can use functions
like enable_service and disable_service. Make sure
the functions are defined before loading stackrc.

Change-Id: Ied7bbe0d228f252902cc491b8db0738c5071f06b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-06-06 15:42:13 -04:00
Jiajun Liu
f02be85cc8 specify session name on perform rejoin stack
rejoin-stack.sh would not specify screen session name which will lead
unstack.sh unable to kill the screen session started by rejoin-stack.sh
after hypervisor rebooted. So specify the session name if
rejoin-stack.sh need to start a new sreen session.

fixes bug 1182806

Change-Id: I68635887aa82fa63f3667e0f090ea2836eec7b68
2013-05-28 09:42:10 +00:00
Derrick J. Wippler
aaa0dbb2e7 Restart openstack services after running stack.sh
* Added screen_rc function in stack.sh to save started services to stack-screenrc file
* Added rejoin-stack.sh to rejoin the current screen session or start a new session

Change-Id: I381a7832bc8a107bfbd51c5ecfbd2e9134cf0a0a
blueprint: restart-services
2012-02-23 12:08:43 -06:00