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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to