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

bug #3148: capture errors from attach disk in vmware vmm

This commit is contained in:
Javi Fontan 2014-10-20 18:13:58 +02:00
parent d691daf980
commit 02c48f05f2

View File

@ -38,9 +38,6 @@ VMWAREID=`$SUDO vim-cmd vmsvc/getallvms|grep $DEPLOYID|cut -d' ' -f 1`
ATTACH_PARAMS="$VMWAREID $DISK_PATH $CONTROLLER_NUMBER $TARGET_NUMBER $DATASTORE"
exec_and_log "$SUDO vim-cmd vmsvc/device.diskaddexisting $ATTACH_PARAMS 2>&1 \
|grep \"Reconfigure failed\" 1>&2" \
"Could not attach $SOURCE ($TARGET) to $DEPLOYID"
exec_and_log "$SUDO vim-cmd vmsvc/device.diskaddexisting $ATTACH_PARAMS" \
"Could not attach $SOURCE ($TARGET) to $DEPLOYID"