Change in ovirt-engine[ovirt-engine-3.5]: core: copy vm-init data on new template version

tnisan at redhat.com tnisan at redhat.com
Wed Oct 22 11:04:13 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: core: copy vm-init data on new template version
......................................................................


core: copy vm-init data on new template version

when creating new template version, the vm-init data is not copied,
because the vmInit is not marked for copy.

since the vm-init is saved in a different table, it need to be
manually loaded.

also, the is_initialized flag need to be reset so vms will do sysprep
again with new data.

Change-Id: Icaf1b6cad241008c8e6f392cb918e900b340d9b2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1148379
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmVersionCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
2 files changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Omer Frenkel: Verified
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icaf1b6cad241008c8e6f392cb918e900b340d9b2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list