Change in ovirt-engine[master]: core: disable illegal operations on a pooled VM

tnisan at redhat.com tnisan at redhat.com
Thu Dec 25 09:51:00 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: core: disable illegal operations on a pooled VM
......................................................................


core: disable illegal operations on a pooled VM

When a disk is defined as ReadOnly or Wipe After Delete in a VmTemplate,
after which a VmPool was created, these values shouldn't be allowed to be
changed as long as the vm is still attached to the pool.
This patch enforces this in the backend.

Change-Id: Ie3a6e1542f3ef4fb78f074b62e854a4907dfbca6
Bug-Url: https://bugzilla.redhat.com/1057721
Signed-off-by: Vered Volansky <vvolansk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateVmDiskCommandTest.java
2 files changed, 50 insertions(+), 1 deletion(-)

Approvals:
  Allon Mureinik: Looks good to me, approved
  Vered Volansky: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie3a6e1542f3ef4fb78f074b62e854a4907dfbca6
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list