Change in ovirt-engine[master]: core: [RFE] Restart HA VMs ASAP

emesika at redhat.com emesika at redhat.com
Thu May 22 08:26:09 UTC 2014


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 <emesika at redhat.com>
---
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 <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list