Eli Mesika has submitted this change and it was merged.

Change subject: core:  [RFE] Restart HA VMs ASAP
......................................................................


core:  [RFE] Restart HA VMs ASAP

[RFE] Restart HA VMs when power management reports host is in powered off state

This patch changes the following flows

1) soft-fencing : if Host has PM configured, check host status and if it
is off , skip soft-fencing and put host status to DOWN
2) Restart : if Host has PM configured, check host status and if it
is off , skip the stop command and put host status to DOWN

The result of that is a faster HA VMs release on the fenced host and
restart on another host saving us unnecessary retries and wait time.

Change-Id: Iaca0111d13a625014fb424bdccd3709b8ea03382
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1058737
Signed-off-by: Eli Mesika <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestartVdsCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SshSoftFencingCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsCommand.java
3 files changed, 79 insertions(+), 17 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Eli Mesika: Verified; Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/27985
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaca0111d13a625014fb424bdccd3709b8ea03382
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to