Browse Source

Avoid to create $SCREEN_LOGDIR

It is possible not to give SCREEN_LOGDIR variable in devstack.
And also, SCREEN_LOGDIR is creating in stack.sh itself [1].
So we can remove our code which is creating SCREEN_LOGDIR.
This code breaks stack.sh process if user doesn't give this
variable.

[1]: 2688eedc51/stack.sh (L454)

Change-Id: I5c6ce81a97635b60fc1633397a24f93dc590fad6
Closes-Bug: #1548197
changes/66/282966/1
OTSUKA, Yuanying 6 years ago
parent
commit
32cfd6c2cc
  1. 5
      devstack/plugin.sh

5
devstack/plugin.sh

@ -9,10 +9,7 @@ source $DEST/magnum/devstack/lib/magnum
(set -o posix; set)
if is_service_enabled m-api m-cond; then
if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
echo_summary "Before Installing magnum"
mkdir -p $SCREEN_LOGDIR
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
if [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing magnum"
install_magnum

Loading…
Cancel
Save