Change in ovirt-engine[master]: core: Deprecate broken snapshots upgrade script

derez at redhat.com derez at redhat.com
Mon Jun 2 06:55:08 UTC 2014


Daniel Erez has submitted this change and it was merged.

Change subject: core: Deprecate broken snapshots upgrade script
......................................................................


core: Deprecate broken snapshots upgrade script

In order to deprecate broken status of snapshots:
* Added an upgrade script for setting disks of broken
  snapshots as illegal.
* SnapshotVmConfigurationHelper:
  Update image status from DB on returned disks
  (for proper indication for disks status).
* TryBackToAllSnapshotsOfVmCommand:
  Added validation for images that are upon to be previewed.

Change-Id: Ia91153b1c3c363bca2d947974e6a67c459dba008
Bug-Url: https://bugzilla.redhat.com/1056935
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImagesHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotVmConfigurationHelper.java
A packaging/dbscripts/upgrade/03_05_0570_deprecate_broken_snapshots.sql
4 files changed, 30 insertions(+), 7 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia91153b1c3c363bca2d947974e6a67c459dba008
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list