mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
Merge pull request #160 from atodorov-storpool/tmCephOnSharedFs
tm/ceph {pre,post}migrate do nothing if not SYSTEM DS
This commit is contained in:
commit
8d4cfaf16b
2 files changed
+14
No files matched your search
@@ -53,6 +53,13 @@ fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
if [ -n "$7" ]; then
|
||||
log "Called from tm/$7 but I've nothing to do"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
migrate_other "$@"
|
||||
|
||||
exec_and_log "$SSH $SRC_HOST rm -rf $DST_PATH"
|
||||
|
||||
@@ -53,6 +53,13 @@ fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
if [ -n "$7" ]; then
|
||||
log "Called from tm/$7 but I've nothing to do"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
DST_PATH_DIRNAME=`dirname $DST_PATH`
|
||||
DST_PATH_BASENAME=`basename $DST_PATH`
|
||||
|
||||
|
||||
Reference in new issue
Block a user