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

B #5927: Fix domfsthaw timeout (#2280)

(cherry picked from commit a2caade29accd317ad08667be246a5ada150d296)
This commit is contained in:
Victor Palma 2022-09-15 13:08:34 +02:00 committed by Tino Vázquez
parent 3411e80ff0
commit e411d0d4fc
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -108,7 +108,7 @@ SNAP_CREATE_CMD=$(cat <<EOF
set -e -o pipefail
if virsh -c $LIBVIRT_URI domfsfreeze $DEPLOY_ID ; then
trap "virsh -c $LIBVIRT_URI domfsthaw $DEPLOY_ID" EXIT
trap "virsh -c $LIBVIRT_URI domfsthaw $DEPLOY_ID || true" EXIT
fi
RBD="${RBD}"