Bug 1417558

Summary: When editing the storage domain, 'use managed gluster volume' checkbox gets unchecked
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: BLL.GlusterAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs
Target Milestone: ovirt-4.1.5Flags: sabose: ovirt-4.1?
sbonazzo: exception?
sasundar: planning_ack?
sabose: devel_ack+
rule-engine: testing_ack+
Target Release: 4.1.5.2   
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: 2017-08-23 08:03:11 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: 1411323    
Attachments:
Description Flags
screenshot showing 'use managed gluster volume' not checked none

Description SATHEESARAN 2017-01-30 09:29:35 UTC
Description of problem:
-----------------------
While create a new data domain backed with gluster volume, I have chosen to use the gluster volume managed in that cluster by checking the option - 'use managed gluster volume'. After the domain creation, while editing the storage domain, I found that this checkbox is unchecked, which makes me confused whether I have checked it or not.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
oVirt Engine Version: 4.1.0.3-0.0

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

Steps to Reproduce:
-------------------
1. Create a cluster with virt + gluster capability enabled
2. Add 3 nodes and create a replica 3 volume, optimize for virt store
3. Now create a new gluster data domain and select 'use managed gluster volume' which will the list the gluster volumes managed in that cluster
4. Choose a gluster volume from the dropdown list
5. Complete creation of data domain
6. Edit the storage domain by selecting 'manage domain' tab after selecting that storage domain

Actual results:
---------------
'use managed gluster volume' checkbox is unchecked

Expected results:
-----------------
'use managed gluster volume' checkbox should be checked as I have chosen for using the gluster volume managed in the cluster


Additional info:

Comment 1 SATHEESARAN 2017-01-30 09:34:05 UTC
Created attachment 1245805 [details]
screenshot showing 'use managed gluster volume' not checked

Comment 2 Sahina Bose 2017-06-16 12:46:22 UTC
I see that the Manage gluster volume checkbox is selected on edit. 
However the checkbox is editable - which will be fixed. Retargeting as this is a low sev bug

Comment 3 SATHEESARAN 2017-08-21 11:58:07 UTC
Tested with RHV 4.1.5.2

'Use Managed Gluster volume' is not editable