Don't kill sar prematurally in devstack-gate
This change ensure that 'sar' is not killed by stack.sh when USE_SCREEN=False Fixes bug #1238482 Change-Id: Id354619a43c27eabbc57f61ba33be2a9493244aa
This commit is contained in:
parent
6d4a9a87b7
commit
a20c620c7d
2
stack.sh
2
stack.sh
@ -840,7 +840,7 @@ init_service_check
|
||||
# If enabled, systat has to start early to track OpenStack service startup.
|
||||
if is_service_enabled sysstat;then
|
||||
if [[ -n ${SCREEN_LOGDIR} ]]; then
|
||||
screen_it sysstat "sar -o $SCREEN_LOGDIR/$SYSSTAT_FILE $SYSSTAT_INTERVAL"
|
||||
screen_it sysstat "cd ; sar -o $SCREEN_LOGDIR/$SYSSTAT_FILE $SYSSTAT_INTERVAL"
|
||||
else
|
||||
screen_it sysstat "sar $SYSSTAT_INTERVAL"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user