Shut down ironic services in the modern way
Instead of killing the screen, use stop_process which will shut the processes when USE_SCREEN is False. Change-Id: If0f714cb112dbf5fe9e4fdd7291cb4fb1df87f42
This commit is contained in:
parent
ed2c38a0f3
commit
cf3b41fa8b
@ -482,9 +482,8 @@ function start_ironic_conductor {
|
|||||||
|
|
||||||
# stop_ironic() - Stop running processes
|
# stop_ironic() - Stop running processes
|
||||||
function stop_ironic {
|
function stop_ironic {
|
||||||
# Kill the Ironic screen windows
|
stop_process ir-api
|
||||||
screen -S $SCREEN_NAME -p ir-api -X kill
|
stop_process ir-cond
|
||||||
screen -S $SCREEN_NAME -p ir-cond -X kill
|
|
||||||
|
|
||||||
# Cleanup the WSGI files
|
# Cleanup the WSGI files
|
||||||
if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then
|
if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user