variable DEST is assigned in stackrc
Bug #1239684 reported by
Jonas Lundqvist
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Jonas Lundqvist |
Bug Description
I changed the DEST variable in localrc and installed openstack by executing stack.sh.
After installation ls ${DEST}/data should list:
cinder glance nova tempest
This was not the case, reason is found in stackrc. Variable DEST is hardcoded
From stackrc:
..
..
# Destination path for installation
DEST=/opt/stack
# Destination for working data
DATA_DIR=
...
This caused that the data directories was created in /opt/stack/data/
Suggested solution.
Remove variables DEST and DEST_DIR from stackrc. Should be handled in localrc
Changed in devstack: | |
assignee: | nobody → Jonas Lundqvist (jonas-lundqvist) |
Changed in devstack: | |
status: | New → In Progress |
Changed in devstack: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in devstack: | |
status: | Fix Committed → In Progress |
Changed in devstack: | |
status: | In Progress → Incomplete |
To post a comment you must log in.
When I analysed this bug I find that the proper solution should be to remove variable DEST and variable DATA_DIR from the stack.sh and the unstack.sh scripts. These scripts source localrc and stackrc. DEST and DATA_DIR is handled in these files.