Bug 1408877 - Detaching a storage domain containing leases of VMs or templates should be blocked
Summary: Detaching a storage domain containing leases of VMs or templates should be bl...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.1.0-beta
: 4.1.0.2
Assignee: Tal Nisan
QA Contact: Lilach Zitnitski
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-27 22:01 UTC by Tal Nisan
Modified: 2017-12-27 22:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:55:02 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1529394 0 high CLOSED [DR] - detaching of a storage domain with existing VM leases for VMs in down status fails which affect the failback flow 2021-02-22 00:41:40 UTC
oVirt gerrit 69218 0 master MERGED core: Add methods to obtain VMs and template with leases on domain to DAO 2016-12-29 10:47:25 UTC
oVirt gerrit 69296 0 ovirt-engine-4.1 MERGED core: Add methods to obtain VMs and template with leases on domain to DAO 2016-12-29 16:30:00 UTC
oVirt gerrit 69319 0 master MERGED core: Block detach of a storage domain contains VMs/templates leases 2017-01-04 10:40:47 UTC
oVirt gerrit 69560 0 ovirt-engine-4.1 MERGED core: Block detach of a storage domain contains VMs/templates leases 2017-01-04 12:17:02 UTC

Internal Links: 1529394

Description Tal Nisan 2016-12-27 22:01:28 UTC
Description of problem:
Detaching of a storage domain that contains leases of VMs or templates 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 08:12:04 UTC
--------------------------------------
Tested with the following code:
----------------------------------------
ovirt-engine-4.1.0-0.4.master.20170109222652.git53fd6cb.el7.centos.noarch

Tested with the following scenario:

Steps to Reproduce:
1. create new vm and create new vm lease on one of the storage domains
2. switch this storage domain to maintenance 
3. detach the storage domain with the lease

Actual results:
detach fails with warning about existing leases (of vms and templates) on this storage domain 

Expected results:

Moving to VERIFIED!


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