Change in ovirt-engine[ovirt-engine-4.0]: core: Fix overwriting originalClusterVersion

tnisan at redhat.com tnisan at redhat.com
Wed Aug 31 13:02:05 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: core: Fix overwriting originalClusterVersion
......................................................................


core: Fix overwriting originalClusterVersion

Fix of overwriting originalClusterVersion in SnapshotManager.

The VmBase.originalClusterVersion is persisted in OVF as CLUSTER_COMPATIBILITY_VERSION
and points to the cluster version the snapshot was taken in.

Later on, the value is used in UI to check whether the snapshot
with memory can be properly restored.

Change-Id: Ib6f93e9ef91f283ed5e7ebaea75b0351bbd0ed85
Bug-Url: https://bugzilla.redhat.com/1356172
Signed-off-by: Marek Libra <mlibra at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmBase.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/SnapshotModel.java
3 files changed, 11 insertions(+), 4 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Marek Libra: Verified
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib6f93e9ef91f283ed5e7ebaea75b0351bbd0ed85
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list