Michael Kublin has submitted this change and it was merged.
Change subject: engine: Fixing update of host status during restart host
......................................................................
engine: Fixing update of host status during restart host
If we failed during restart a host status should be switched to NonResponsive,
the status was switched at roollback() nethod, but because of command is NonTransactive
a rollback will be never called, so moving an update of status to execute
Change-Id: I1d44a3ee76e2dc2490f8cf937a768c80826af46c
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestartVdsCommand.java
1 file changed, 7 insertions(+), 11 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/13895
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1d44a3ee76e2dc2490f8cf937a768c80826af46c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <elimesika(a)gmail.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>