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(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Liron Ar <laravot(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server