Bug 1475893

Summary: DR (site to site) - Add the ability to support force remove of last master storage domain from data center
Product: [oVirt] ovirt-engine Reporter: Maor <mlipchuk>
Component: Backend.CoreAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, apinnick, bugs, ylavi
Target Milestone: ovirt-4.2.0Keywords: Improvement, SubTask
Target Release: ---Flags: rule-engine: ovirt-4.2+
gklein: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The Engine now allows forcibly removing the last master storage domain from the Data Center. The Data Center's status changes to "Uninitialized."
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 10:44:40 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: 1548852    

Description Maor 2017-07-27 14:43:11 UTC
Description of problem:

Engine supports the functionality of force remove storage domains, but there is a validation which blocks the remove of the last master storage domain.
The last master storage domain can only be removed by force removing the Data Center.

To support DR site to site with fail back, the engine should have the ability to destroy the last storage domain without removing the Data Center and that way keep the permissions and other properties of the data center unattached.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2017-07-27 14:44:48 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 Elad 2017-09-06 11:02:30 UTC
Last storage domain destroy is now possible without data center removal.

Used:
ovirt-engine-4.2.0-0.0.master.20170904111624.git842d79b.el7.centos.noarch

Comment 3 Red Hat Bugzilla Rules Engine 2017-11-21 09:13:12 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 4 Sandro Bonazzola 2017-12-20 10:44:40 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.