Bug 1502559

Summary: Prevent a storage domain to be updated to backup SD while it contain disks which are attached to running VMs or running VMs with leases
Product: [oVirt] ovirt-engine Reporter: Shubbham Dubey <sdubey504>
Component: BLL.StorageAssignee: Shubbham Dubey <sdubey504>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, bugs, mlipchuk, sdubey504, tnisan
Target Milestone: ovirt-4.2.1Keywords: FutureFeature
Target Release: ---Flags: amureini: ovirt-4.2?
ratamir: testing_plan_complete-
rule-engine: planning_ack?
amureini: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:57:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1291165    

Description Shubbham Dubey 2017-10-16 08:39:37 UTC
Description of problem:
no VM should be run with plugged disks on backup storage domain and if there is no leases on that Storage Domain.

Additional info:
Gerrit patch is there to solve the issue.

Comment 1 Red Hat Bugzilla Rules Engine 2017-10-16 08:39:45 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Avihai 2018-01-07 12:41:05 UTC
Verified on engine 4.2.1-0.2.el7 .

Checked both scenario's to prevent a storage domain to be updated to backup SD:
1) When SD have running VM's with disks in that SD
2) When SD have VM's with leases on that SD.

Comment 3 Sandro Bonazzola 2018-02-12 11:57:38 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

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