Bug 1502559 - 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
Summary: Prevent a storage domain to be updated to backup SD while it contain disks wh...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: Shubbham Dubey
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks: 1291165
TreeView+ depends on / blocked
 
Reported: 2017-10-16 08:39 UTC by Shubbham Dubey
Modified: 2018-02-12 11:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-12 11:57:38 UTC
oVirt Team: Storage
Embargoed:
amureini: ovirt-4.2?
ratamir: testing_plan_complete-
rule-engine: planning_ack?
amureini: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81290 0 master MERGED backend: added validation for backup storage domain 2017-12-20 08:11:34 UTC
oVirt gerrit 85607 0 master MERGED core: Validate running VMs with leases for backup SD 2017-12-20 16:25:06 UTC

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.


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