Bug 1403839

Summary: [RFE] Add ability to remove a single LUN from a data domain
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: BLL.StorageAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Lilach Zitnitski <lzitnits>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, laravot, melewis, mkalinin, ratamir, tnisan, ylavi
Target Milestone: ovirt-4.1.1Keywords: FutureFeature
Target Release: 4.1.1.3Flags: rule-engine: ovirt-4.1+
ratamir: testing_plan_complete+
ylavi: planning_ack+
tnisan: devel_ack+
ratamir: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, the ability to remove LUNs from a block data domain has been added. This means that LUNs can be removed from a block data domain provided that there is enough free space on the other domain devices to contain the data stored on the LUNs being removed.
Story Points: ---
Clone Of:
: 1454287 (view as bug list) Environment:
Last Closed: 2017-04-21 09:53:47 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: 1374545, 1403836    
Bug Blocks: 633978, 1429746, 1454287    

Description Tal Nisan 2016-12-12 13:09:55 UTC
Description of problem:
Add the ability to remove LUN(s) from an existing storage domain

Comment 1 Liron Aravot 2016-12-28 07:27:53 UTC
Allon/Tal, this feature was completely merged but its currently disabled until the issue described in 1403836 will be solved.
How do we want to mark it in bugzilla?

Comment 2 Liron Aravot 2016-12-29 09:54:31 UTC
After talk with ydary, marking as BLOCKED till the lvmetad issue this bug depends on will be solved either by us (disabling lvmetad) or in lvm.

Comment 3 Tal Nisan 2017-01-12 13:23:40 UTC
Liron, please fill out a doc text.
As for the other question, I've asked the QE guys to verify this feature with manually disabling lvmetad so they are not blocked on this bug for now

Comment 4 Lilach Zitnitski 2017-03-09 09:00:43 UTC
--------------------------------------
Tested with the following code:
----------------------------------------
rhevm-4.1.1.3-0.1.el7.noarch
vdsm-4.19.7-1.el7ev.x86_64

Tested with the following scenario:

Steps to Reproduce:
1. move the storage domain to maintenance 
2. using REST API reduce the lun using it's lun id
3. activate the storage domain

Actual results:
storage domain is reduced and the total space is updated

Expected results:

Moving to VERIFIED!