Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1408876 - Deactivating a storage domain containing leases of running VMs should be blocked
Deactivating a storage domain containing leases of running VMs should be blocked
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage (Show other bugs)
4.1.0
Unspecified Unspecified
unspecified Severity high (vote)
: ovirt-4.1.0-beta
: 4.1.0.2
Assigned To: Tal Nisan
Lilach Zitnitski
:
Depends On:
Blocks: 1415668
  Show dependency treegraph
 
Reported: 2016-12-27 16:59 EST by Tal Nisan
Modified: 2017-02-21 07:37 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
This release enables Virtual Machines to lease areas on the storage domain. If a Virtual Machine has a lease on a storage domain, it will not be possible to move this storage domain into maintenance mode. If the user attempts to do so, an error message will appear explaining that a virtual machine currently has a lease on this storage.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-01 09:34:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.1+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 69218 master MERGED core: Add methods to obtain VMs and template with leases on domain to DAO 2016-12-29 05:47 EST
oVirt gerrit 69219 master MERGED core: Block deactivation of a storage domain with running VMs with leases 2016-12-29 05:47 EST
oVirt gerrit 69296 ovirt-engine-4.1 MERGED core: Add methods to obtain VMs and template with leases on domain to DAO 2016-12-29 11:30 EST
oVirt gerrit 69297 ovirt-engine-4.1 MERGED core: Block deactivation of a storage domain with running VMs with leases 2016-12-29 11:29 EST
oVirt gerrit 69393 master POST core: not all users set their leases on the same storage domain 2017-01-01 12:04 EST

  None (edit)
Description Tal Nisan 2016-12-27 16:59:17 EST
Description of problem:
Deactivation of a storage domain that contains leases of VMs should be blocked

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Lilach Zitnitski 2017-01-10 03:19:55 EST
--------------------------------------
Tested with the following code:
----------------------------------------
ovirt-engine-4.1.0-0.4.master.20170109222652.git53fd6cb.el7.centos.noarch
vdsm-4.19.1-18.git79e5ea5.el7.centos.x86_64

Tested with the following scenario:

Steps to Reproduce:
1. create new vm with vm lease on one of the storage domains
2. start the vm
3. try to switch to maintenance the storage domain with the vm's lease

Actual results:
can't deactivate the storage domain while it holds a running vm's lease

Expected results:

Moving to VERIFIED!
Comment 3 Emma Heftman 2017-01-19 09:09:51 EST
Hi Tal. This feature sounds like something that needs to be documented as it changes the way the system behaves.
Comment 4 Tal Nisan 2017-01-23 08:37:25 EST
Indeed, and we've discussed it via irc so I'm removing the needinfo, let me know if there's anything more I can help with

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