Omer Frenkel has submitted this change and it was merged.
Change subject: core: add job that runs HA VMs which failed to run
......................................................................
core: add job that runs HA VMs which failed to run
This patch adds quartz job which is responsible to run highly available
VMs which are down. As a first step it would run HA VMs that could not
run because they were locked on last attempt.
This patch solves the following problem: when trying to run highly
available VM that went down during live storage migration, the
RunVmCommand fails because the VM is locked during the migration and the
VM won't be started again automatically. Now, when the lock could not be
acquired, the newly added job will periodically try to run the VM and
when the live storage migration will end, the VM will start.
Change-Id: I3d563d05efc6dae40f0de8e7f4b7e47aa84bd787
Bug-Url:
https://bugzilla.redhat.com/891634
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
---
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AutoStartVmsRunner.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
5 files changed, 80 insertions(+), 0 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18815
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d563d05efc6dae40f0de8e7f4b7e47aa84bd787
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server