Bug 1560455 - VM lease will be removed in case VM is edited while the storage domain which hold the lease is in maintenance
Summary: VM lease will be removed in case VM is edited while the storage domain which ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.2.3
: 4.2.3.2
Assignee: Eyal Shenitzky
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-26 08:25 UTC by Eyal Shenitzky
Modified: 2018-05-10 06:29 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.2.3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-10 06:29:36 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+
ylavi: exception+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89548 0 master MERGED webadmin: lease removed when VM edited via UI 2018-04-10 13:16:07 UTC
oVirt gerrit 90080 0 ovirt-engine-4.2 MERGED webadmin: lease removed when VM edited via UI 2018-04-15 12:29:14 UTC

Description Eyal Shenitzky 2018-03-26 08:25:40 UTC
Description of problem:

When having a VM with a lease on storage domain in maintenance mode.
When editing the VM, it appers to be without a lease ('No VM Lease' is shown in the  Target Storage Domain for VM Lease drop-down box)

It could cause a side effect in case the user will press 'OK' -> the VM lease will be removed.


Version-Release number of selected component (if applicable):
4.3.0_master - from commit 431feb88ac66840b6ce62237f9219f4e89af1c4b

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with a lease on storage domain A
2. Deactivate storage domain A
3. Edit the VM from step 1 and navigate to the 'Highly Availablity' tab -> 'No VM Lease' presented
4. Press 'ok'

Actual results:
The VM lease removed

Expected results:
The VM lease should be presented and grayed out or with an indication that the storage domain is in maintenance mode

Additional info:

Comment 1 Evelina Shames 2018-04-24 13:16:46 UTC
Verified.
Engine: 4.2.3.2-0.1

Comment 2 Sandro Bonazzola 2018-05-10 06:29:36 UTC
This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.3 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.


Note You need to log in before you can comment on or make changes to this bug.