1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #4064: support quiesce for ceph snapshots

(cherry picked from commit d0b9591464d7bec9b506c703d1f0184aa905b318)
This commit is contained in:
Anton Todorov 2015-11-13 16:48:38 +01:00 committed by Javi Fontan
parent 800dd72374
commit 6ec3748533

View File

@ -92,6 +92,10 @@ fi
SNAP_CREATE_CMD=$(cat <<EOF
set -e
if virsh -c $LIBVIRT_URI domfsfreeze $DEPLOY_ID ; then
trap "virsh -c $LIBVIRT_URI domfsthaw $DEPLOY_ID" EXIT TERM INT HUP
fi
RBD="${RBD}"
rbd_check_2 $RBD_DST