Bug 1319471

Summary: [engine-webadmin] Change indication method for Gluster support to a check box for virt cluster
Product: [oVirt] ovirt-engine Reporter: Elad <ebenahar>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED NOTABUG QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.4CC: acanan, amureini, bugs, ccalhoun, ebenahar, sabose, sasundar, tnisan, ylavi
Target Milestone: ovirt-4.2.0Flags: amureini: ovirt-4.2?
ebenahar: planning_ack?
ebenahar: devel_ack?
ebenahar: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1369210 (view as bug list) Environment:
Last Closed: 2017-05-10 10:55:24 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: 1369210, 1411323    
Attachments:
Description Flags
Screenshot none

Description Elad 2016-03-20 12:33:14 UTC
Description of problem:
For hosts in virt cluster (not a Gluster cluster), the current Gluster support indication is either the installed GlusterFS packages in case they are installed or N/A in case they are not. 
As requested in https://bugzilla.redhat.com/show_bug.cgi?id=1192465#c26 , this should be changed to some kind of a check box. So in case the host has Gluster support (the packages are installed), the check box should be checked and in case the host doesn't have Glsuter support, this check box should be unchecked.


Version-Release number of selected component (if applicable):
rhevm-3.6.4-0.1.el6.noarch


Steps to Reproduce:
1. On a RHEV virt cluster with hosts, check the Gluster support indication under 'Hosts' -> relevant host -> 'General' -> 'Software' -> 'GlusterFS Version'

Comment 1 Yaniv Lavi 2016-03-20 12:43:29 UTC
Please add screenshots.

Comment 2 Elad 2016-03-20 12:48:49 UTC
Created attachment 1138288 [details]
Screenshot

Comment 3 Allon Mureinik 2016-03-20 14:59:34 UTC
What do you mean by "gluster support" in this context?
A. The host (cluster?) can be used to serve Gluster storage (e.g., a hyperconverged scenario) OR
B. The virt host is able to mount GlusterFS and run VMs from virtual disks provisioned there

Comment 4 Elad 2016-03-20 15:03:34 UTC
(In reply to Allon Mureinik from comment #3)
> What do you mean by "gluster support" in this context?
> A. The host (cluster?) can be used to serve Gluster storage (e.g., a
> hyperconverged scenario) OR
> B. The virt host is able to mount GlusterFS and run VMs from virtual disks
> provisioned there

B. The virt host is able to mount GlusterFS and run VMs from virtual disks provisioned there

Comment 5 Allon Mureinik 2016-03-20 15:21:12 UTC
So, just to be clear, the request isn't to make the user able to configure anything, right? Just properly report a boolean indication "this host can/can't use gluster", right?

Comment 6 Aharon Canan 2016-03-20 15:26:00 UTC
right

Comment 7 Yaniv Kaul 2016-03-30 12:22:25 UTC
The meaning of the checkbox is not if the packages are installed or not, but if the host is being used for Gluster or not. In HC, it should be checked (and grayed out in HC - so one cannot uncheck it!).

Comment 8 Yaniv Lavi 2016-04-26 09:19:28 UTC
(In reply to Yaniv Kaul from comment #7)
> The meaning of the checkbox is not if the packages are installed or not, but
> if the host is being used for Gluster or not. In HC, it should be checked
> (and grayed out in HC - so one cannot uncheck it!).

You are mistaken. This is not the edit cluster dialog.
This is the host info and it should show if you can run a gluster sd on this host.

Comment 10 Sahina Bose 2016-08-17 05:27:26 UTC
(In reply to Yaniv Dary from comment #8)
> (In reply to Yaniv Kaul from comment #7)
> > The meaning of the checkbox is not if the packages are installed or not, but
> > if the host is being used for Gluster or not. In HC, it should be checked
> > (and grayed out in HC - so one cannot uncheck it!).
> 
> You are mistaken. This is not the edit cluster dialog.
> This is the host info and it should show if you can run a gluster sd on this
> host.

I don't understand request - you should be able to run gluster SD i.e mount a gluster volume on any virt host as gluster client packages are available as part of dependencies for vdsm.

The Gluster version in General sub-tab indicates if glusterfs-server packages are installed on virt host i.e the host can be used as gluster host to create gluster volume.

The checkbox on cluster - "Enable gluster service" indicates if gluster functionality on hosts are being managed by oVirt or not (gluster peer probe, gluster volume management etc).

What is the request here?

Comment 11 Elad 2016-08-18 06:49:05 UTC
The request is to be able to know if a host in a non Gluster cluster, i.e, a virt cluster, is able to mount with glusterfs for GlusterFS storage domains

Comment 13 Sahina Bose 2017-05-10 10:55:24 UTC
All hosts support mounting Glusterfs storage, as gluster client packages are installed as vdsm dependencies.

Closing this.