Create directory JOBS_DIR using the devstack script
The directory JOBS_DIR(Default value is /etc/freezer/scheduler/conf.d) should be ready before running the test case. Change-Id: I5aa048292c449e8c265609235fb99c018e001fb7 Closes-Bug: #1633320
This commit is contained in:
parent
ab47e90f21
commit
96e856a0bd
@ -67,6 +67,8 @@ function configure_freezer_scheduler {
|
||||
[ ! -d $FREEZER_CONF_DIR ] && sudo mkdir -m 755 -p $FREEZER_CONF_DIR
|
||||
sudo cp -p $FREEZER_DIR/etc/scheduler.conf.sample $FREEZER_CONF_FILE
|
||||
sudo chown $STACK_USER $FREEZER_CONF_DIR
|
||||
[ ! -d $FREEZER_JOBS_DIR ] && sudo mkdir -m 755 -p $FREEZER_JOBS_DIR
|
||||
sudo chown $STACK_USER $FREEZER_JOBS_DIR
|
||||
[ ! -d $FREEZER_LOG_DIR ] && sudo mkdir -m 755 -p $FREEZER_LOG_DIR
|
||||
sudo chown $STACK_USER $FREEZER_LOG_DIR
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
# Set up default directories
|
||||
FREEZER_DIR=$DEST/freezer
|
||||
FREEZER_CONF_DIR=${FREEZER_CONF_DIR:-/etc/freezer}
|
||||
FREEZER_JOBS_DIR=${FREEZER_JOBS_DIR:-/etc/freezer/scheduler/conf.d}
|
||||
FREEZER_CONF_FILE=$FREEZER_CONF_DIR/scheduler.conf
|
||||
FREEZER_LOG_DIR=$DEST/logs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user