variable DEST is assigned in stackrc

Bug #1239684 reported by Jonas Lundqvist
12
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=${DEST}/data
...

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
Revision history for this message
Jonas Lundqvist (jonas-lundqvist) wrote :

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.

Changed in devstack:
status: In Progress → Fix Committed
Changed in devstack:
status: Fix Committed → In Progress
Dean Troyer (dtroyer)
Changed in devstack:
status: In Progress → Incomplete
Revision history for this message
Pavel Chekin (pchekin) wrote :
Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.