Yedidyah Bar David has uploaded a new change for review. Change subject: bin: Do not fail vm start if it does not exist ......................................................................
bin: Do not fail vm start if it does not exist Related-To: https://bugzilla.redhat.com/1024710 Change-Id: I20148cddcd8299e91c37036406e15c50abeca925 Signed-off-by: Yedidyah Bar David <d...@redhat.com> --- M src/bin/hosted-engine.in 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup refs/changes/23/23823/1 diff --git a/src/bin/hosted-engine.in b/src/bin/hosted-engine.in index 322e29a..d47d5d8 100644 --- a/src/bin/hosted-engine.in +++ b/src/bin/hosted-engine.in @@ -112,7 +112,7 @@ if [ -n "${down}" ]; then echo "VM exists and is down, destroying it" ${VDSCOMMAND} destroy "${vmid}" - else + elif [ -n "${status}" ]; then echo "VM exists and its status is ${status}" exit 1 fi -- To view, visit http://gerrit.ovirt.org/23823 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I20148cddcd8299e91c37036406e15c50abeca925 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-setup Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches