Stop daemons before cleanup in unstack
The cleanup_ceph_embedded function nukes the ceph conf directories, so when subsequently trying to stop services they aren't stopped. Next stack.sh run will fail because daemons are still running. Fix by stopping daemons before running cleanup. Change-Id: I51cd58eae83171a47aa898b65240b72ea0217af9 Closes-Bug: #1534600
This commit is contained in:
parent
a25112cd49
commit
3d65ac342f
|
@ -82,8 +82,8 @@ if [[ "$1" == "unstack" ]]; then
|
|||
if [ "$REMOTE_CEPH" = "True" ]; then
|
||||
cleanup_ceph_remote
|
||||
else
|
||||
cleanup_ceph_embedded
|
||||
stop_ceph
|
||||
cleanup_ceph_embedded
|
||||
fi
|
||||
cleanup_ceph_general
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue