Override of DEST in local.conf not honoured for SERVICE_DIR / DATA_DIR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Pavlo Shchelokovskyy |
Bug Description
The online docs http://
Unfortunately it seems that DATA_DIR and SERVICE_DIR in stackrc will substitute in the value of $DEST *before* your local.conf settings are loaded. So you end up with
DEST=/some/dir
DATA_DIR=
SERVICE_
devstack will then mysteriously fail later because the /opt/stack hierarchy won't have been created.
Either DATA_DIR & SERVICE_DIR need to honour the local.conf $DEST value, or we need to sanity-check the user's settings and warn the user if they have set DEST but not also set DATA_DIR & SERVICE_DIR in their local.conf.
Hi Daniel,
I'm not seeing this.
stackrc should set the default then source localrc/local.conf to override that [1]. Is it possible you had an env variable exported or similar?
[1] https:/ /github. com/openstack- dev/devstack/ blob/master/ stackrc