Bug 1532577

Summary: [RFE] allow lease selection in custom preview of a snapshot
Product: [oVirt] ovirt-engine Reporter: Eyal Shenitzky <eshenitz>
Component: BLL.StorageAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Evelina Shames <eshames>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.1CC: amureini, bugs, ebenahar, lveyde
Target Milestone: ovirt-4.2.2Keywords: FutureFeature
Target Release: ---Flags: amureini: ovirt-4.2?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.2.1 Doc Type: If docs needed, set a value
Doc Text:
Until this fix, there was no way to select specific lease to use while previewing a snapshot. After this fix, the user can select whether he wants to preview the snapshot with a lease and to specify the specific lease. The user can perform the custom preview of a snapshot and select the specific lease via REST-API or via the UI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 11:15:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1484863    
Bug Blocks:    

Description Eyal Shenitzky 2018-01-09 11:40:51 UTC
Description of problem:

Currently, there is no treatment for snapshot-lease integration.
But after bug - 1484863 will be fixed, Preview / Undo / Commit operations will fail if the VM or the previewed snapshot has a lease and if the lease operations (create/remove) fails.

The engine should have the ability to allow costume preview which gives the option to choose whether the preview should contain the lease or not.
In this way, the user can preview a snapshot even if there is a failure that caused by the lease operations.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Eyal Shenitzky 2018-01-21 07:42:57 UTC
Implement in the UI and in the REST-API.

Comment 2 Allon Mureinik 2018-02-08 10:45:26 UTC
Not all the patches are merged, returning to POST

Comment 3 Evelina Shames 2018-02-26 14:20:10 UTC
Verified.

Comment 4 Sandro Bonazzola 2018-03-29 11:15:02 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.