Bug 1475892 - DR (site to site) - Add the ability to support detach of last master storage domain from data center
Summary: DR (site to site) - Add the ability to support detach of last master storage ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Maor
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-27 14:43 UTC by Maor
Modified: 2019-04-28 08:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:07:52 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+
gklein: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81160 0 master POST core: Change validation for detach last storage domain. 2017-08-30 20:57:01 UTC
oVirt gerrit 81161 0 master POST core: Rename handle detach master domain 2017-08-30 20:56:28 UTC
oVirt gerrit 81162 0 master POST core: Refactor lock storage domain on remove 2017-08-30 20:56:33 UTC
oVirt gerrit 81163 0 master POST core: Refactor handle destroy storage pool 2017-08-29 11:59:51 UTC
oVirt gerrit 81164 0 master POST core: Manage destroy pool and detach master in one method. 2017-08-29 12:00:00 UTC
oVirt gerrit 81165 0 master ABANDONED core: Support detach master storage domain 2017-08-29 13:06:42 UTC
oVirt gerrit 81168 0 master POST core: Refactor detach VDS command to a method 2017-08-29 13:08:45 UTC
oVirt gerrit 81169 0 master POST core: Refactor of removeStoragePoolIsoMap 2017-08-29 13:08:53 UTC
oVirt gerrit 81170 0 master POST core: Move detach process to a different method 2017-08-29 13:09:01 UTC
oVirt gerrit 81171 0 master POST core: Support detach of master domain from DC 2017-08-29 13:20:42 UTC

Description Maor 2017-07-27 14:43:05 UTC
Description of problem:
storage domains can be detached from a data center, but the last master storage domain can not be detached from a data center without removing the Data Center completely.

To support DR site to site with fail back, the engine should have the ability to detach and remove 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:45:01 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:13:37 UTC
Detach last storage domain from a DC, without DC removal, is possible.

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

Comment 3 Sandro Bonazzola 2017-12-20 11:07:52 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.


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