stack.sh doesn't support share nova instance path

Bug #1649389 reported by Amy Fong
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
High
Chris Friesen

Bug Description

In cases where the nova instances directory is an (nfs) shared directory and nova instances path is located somewhere under nova state path, running stack.sh for a multinode setup and for a compute node results in an error message when stack.sh tries to cleanup.

The workaround is to manually unmount the instances directory and remount after running stack.sh

Amy Fong (afong2)
Changed in devstack:
assignee: nobody → Amy Fong (afong2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/409907

Changed in devstack:
status: New → In Progress
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: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/476987

Changed in devstack:
assignee: Amy Fong (afong2) → Chris Friesen (cbf123)
status: Invalid → In Progress
Revision history for this message
Chris Friesen (cbf123) wrote :

I've confirmed that the current code still unconditionally deletes everything in $NOVA_INSTANCES_PATH, which is a problem if you have multiple nodes all sharing a common network-mounted instance directory.

Changed in devstack:
status: In Progress → Confirmed
Revision history for this message
Chris Friesen (cbf123) wrote :

I've proposed a new patch at https://review.openstack.org/476987 that just skips the cleanup step during startup. We'll still do it in clean.sh. (Did we want to add it to unstack.sh?)

Sean Dague (sdague)
Changed in devstack:
status: Confirmed → In Progress
Changed in devstack:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/476987
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=0ffd5a944c371ae441c2c8d977486c5a20bc75fc
Submitter: Zuul
Branch: master

commit 0ffd5a944c371ae441c2c8d977486c5a20bc75fc
Author: Chris <email address hidden>
Date: Fri Jun 23 11:28:20 2017 -0600

    remove unnecessary cleanup in nova startup

    nova's instances directory may be a shared directory (ie nfs), in
    these cases, we do not want to call nova_cleanup at startup since it
    deletes everything under $NOVA_INSTANCES_PATH.

    The nova_cleanup routine will still be called by the clean.sh script
    which is fine since we're presumably cleaning up the whole openstack
    cluster at that point.

    Change-Id: Ieb4e5d0508d4ed4c5349c497554c5da2993c9cb0
    Closes-Bug: #1649389

Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by "Dr. Jens Harbott <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/devstack/+/409907
Reason: issue fixed by https://review.opendev.org/c/openstack/devstack/+/476987

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.