Bug 1421993

Summary: List the gluster volumes only in started state, when associating it with the Gluster data domain
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: BLL.GlusterAssignee: Kaustav Majumder <kmajumde>
Status: CLOSED WONTFIX QA Contact: SATHEESARAN <sasundar>
Severity: low Docs Contact:
Priority: low    
Version: 4.1.0.4CC: bugs, godas, sabose
Target Milestone: ---Flags: rule-engine: planning_ack+
sasundar: devel_ack?
sasundar: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-25 11:13:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277939    

Description SATHEESARAN 2017-02-14 09:52:42 UTC
Description of problem:
-----------------------
While creating gluster data domain, when checking the option 'use managed gluster volume', lists the set of all gluster volumes in the cluster, irrespective of the state of the volume (i.e) started or stopped.

It would make sense only to list the set of all volumes that are in started state

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

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create a hyperconverged cluster ( both virt and gluster service enabled )
2. Manage the gluster replica 3, sharded volume in that cluster. Leave it in created state and never start the volume. ( volume is in created state and its DOWN )
3. Create a Gluster data domain by selecting 'Use Managed Gluster Volume'
4. Select the volume mount as listed

Actual results:
---------------
The volume which is down ( just created and not started ) is being listed when associating gluster data domain to gluster volume.

Expected results:
-----------------
Only the volumes which are in the started stated should be listed when associating the gluster data domain to gluster volume

Comment 2 Sandro Bonazzola 2019-01-28 09:34:27 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 3 Gobinda Das 2020-08-25 11:13:25 UTC
The SD creation will fail if any attached volume is down and the severity is low. So closing this.