Bug 1899917 - [day2] create volume flow from cockpit allows to select more than 3 hosts
Summary: [day2] create volume flow from cockpit allows to select more than 3 hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: gluster-ansible
Version: 0.14.13
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.4
: 0.14.17
Assignee: Parth Dhanjal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1899915
TreeView+ depends on / blocked
 
Reported: 2020-11-20 11:21 UTC by SATHEESARAN
Modified: 2020-12-21 12:35 UTC (History)
4 users (show)

Fixed In Version: cockpit-ovirt-0.14.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1899915
Environment:
Last Closed: 2020-12-21 12:35:46 UTC
oVirt Team: Gluster
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: planning_ack+
godas: devel_ack+
sasundar: testing_ack+


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


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 112417 0 master MERGED Add validation to select exactly 3 hosts for create Volume 2021-01-06 13:13:05 UTC

Description SATHEESARAN 2020-11-20 11:21:50 UTC
+++ This bug was initially created as a clone of Bug #1899915 +++

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:00 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:31:02 UTC
Created attachment 1731260 [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 3 SATHEESARAN 2020-12-16 14:06:35 UTC
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 4 Sandro Bonazzola 2020-12-21 12:35:46 UTC
This bugzilla is included in oVirt 4.4.4 release, published on December 21st 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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