Bug 1899915

Summary: [day2] create volumes allows to select more than 3 hosts
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Parth Dhanjal <dparth>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhhiv-1.8CC: dparth, godas, rhs-bugs
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: RHHI-V 1.8.z Batch Update 3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.17 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1899917 (view as bug list) Environment:
Last Closed: 2021-02-08 06:55:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1899917    
Bug Blocks:    
Attachments:
Description Flags
screenshot showing volume create allowing selection of more than 3 hosts none

Description SATHEESARAN 2020-11-20 11:20:09 UTC
Description of problem:
------------------------
Create volume wizard in the web console ( cockpit ) creates only 1x3 volume, but allows the user to select more than 3 hosts, which misleads the user that this wizard can be used to create Nx3 replicated volume.

So expectation here is that user should be provided with list of hosts in the cluster, but only allowed to select any 3 among the list of hosts in the cluster

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHVH 4.4.3 
cockpit-ovirt-dashboard-0.14.13-2

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

Steps to Reproduce:
--------------------
1. Create a 6 node RHHI-V deployment
2. Click on 'Manager Gluster' from cockpit
3. Select 6 hosts and proceed to create volume

Actual results:
---------------
cockpit crashes when moving on to 'Deploy' tab

Expected results:
-----------------
cockpit 'hosts' tab of create volume should allow selection of only 3 hosts, as creation of 1x3 is the only volume type combination supported.


Additional info:

Comment 1 SATHEESARAN 2020-11-20 11:27:26 UTC
Expectation here is 2 things:

1. Allow users to select only 3 hosts out of number of hosts listed for volume creation
2. Update the information banner below the hosts:

Current note:
Check the hosts on which the volume should be expanded. Select the hosts in a multiple of 3.

Expected note:
Check only 3 hosts on which the bricks for volume will be created.

Comment 2 SATHEESARAN 2020-11-20 12:32:02 UTC
Created attachment 1731261 [details]
screenshot showing volume create allowing selection of more than 3 hosts

screenshot showing volume create allowing selection of more than 3 hosts and incorrect note banner

Comment 4 SATHEESARAN 2020-12-16 14:07:42 UTC
The dependent ovirt cockpit-ovirt bug is verified.

Tested with cockpit-ovirt-dashboard-0.14.17 and verified that
the day2 operation of creating new gluster volume allows the user to choose
only 3 hosts even though there are more than 3 hosts in the cluster.

Comment 5 SATHEESARAN 2021-01-11 07:15:41 UTC
Closing this bug as the fix is shipped with latest RHHI-V 1.8.2

Comment 6 SATHEESARAN 2021-02-03 00:48:46 UTC
(In reply to SATHEESARAN from comment #5)
> Closing this bug as the fix is shipped with latest RHHI-V 1.8.2

Apologies, this is the mistake to move this bug to CLOSED.
The fix is shipped only with upstream.