Change in ovirt-engine[master]: core: Add force compensation when creating a VM from Template

mlipchuk at redhat.com mlipchuk at redhat.com
Mon Jan 11 09:03:40 UTC 2016


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Add force compensation when creating a VM from Template
......................................................................


core: Add force compensation when creating a VM from Template

Adding a VM from Template and restart the engine might cause the VM to
be locked forever in the DB once the engine is started again.
The reason for that is because the compensation is not enforced in the
AddVmCommand,

Adding forceCompensation=True to the command's annotation should solve
this and remove the VM form the DB once the engine gets restarted.

Change-Id: Ibc465fe9dbd36e7582583865d185e35844cf3b76
Bug-Url: https://bugzilla.redhat.com/1297190
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/51592
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc465fe9dbd36e7582583865d185e35844cf3b76
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list