Bug 1899915 - [day2] create volumes allows to select more than 3 hosts
Summary: [day2] create volumes allows to select more than 3 hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHHI-V 1.8.z Batch Update 3
Assignee: Parth Dhanjal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1899917
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-20 11:20 UTC by SATHEESARAN
Modified: 2021-02-08 06:55 UTC (History)
3 users (show)

Fixed In Version: cockpit-ovirt-0.14.17
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1899917 (view as bug list)
Environment:
Last Closed: 2021-02-08 06:55:13 UTC
Embargoed:


Attachments (Terms of Use)
screenshot showing volume create allowing selection of more than 3 hosts (64.90 KB, image/png)
2020-11-20 12:32 UTC, SATHEESARAN
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.