Bug 1858248

Summary: [Day2] Volume creation with 6 or more nodes in cluster, should allow users to select the hosts for brick creation
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: gluster-ansibleAssignee: Parth Dhanjal <dparth>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.14.9CC: aoconnor, bugs, dfodor, dparth, godas, lsvaty, pkesavap, rhs-bugs
Target Milestone: ovirt-4.4.3-2Keywords: Reopened, Triaged, ZStream
Target Release: 0.14.14Flags: pm-rhel: ovirt-4.4+
aoconnor: blocker+
godas: devel_ack+
sasundar: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.14 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1858247 Environment:
Last Closed: 2021-01-22 12:52:05 UTC Type: ---
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: 1858247, 1902301    

Description SATHEESARAN 2020-07-17 11:11:33 UTC
Description of problem:
-----------------------
When creating the new gluster volume from web console ( cockpit ) as part of day2 operation with 6 nodes or more cluster, there are no flexibility to create 1x3 replicate volume.

The wizard should provide the option to select the hosts, and should allow users to create Nx3 volume type, where N={1,2,3,4} and N < Total number of nodes in the cluster


Version-Release number of selected component (if applicable):
---------------------------------------------------------------
cockpit-ovirt-dashboard-0.14.9


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


Steps to Reproduce:
-------------------
1. Create a 6 node hyperconverged deployment using hosts host{1..6}
2. From web console (cockpit), try creating new volume of type 1x3, using bricks/disks on host host1, host2 and host3

Actual results:
---------------
All the hosts - host{1..6} are used for volume creation, so the volume flavor turns out to be 2x3 replicate

Expected results:
------------------
Allow users to select multiples of 3 nodes, so that creation of 1x3 replicate volume is possible

Comment 2 Prajith 2020-10-01 07:10:11 UTC
undoing the previous changes, as it was a wrong comment on the wrong bug, due to multitab.

Comment 5 SATHEESARAN 2020-11-08 01:35:25 UTC
Tested with cockpit-ovirt-dashboard-0.14.13-2.el8ev.noarch and the volume creation wizard failed to generate inventory file
based on the requirements.

Comment 6 SATHEESARAN 2020-11-20 07:43:48 UTC
The test failed with cockpit-ovirt-dashboard-0.14.13-2.el8ev.noarch and still the issue persists.
When checking with Parth, looks like this is the same error and suspecting that the fix did not made 
in to this build and now finding out the reason for the miss.

Comment 7 SATHEESARAN 2020-11-20 16:09:45 UTC
The fix is available with cockpit-ovirt-dashboard-0.14.14 and the same is verified.
Created a 1x3 replicate volume by selecting three of hosts from the list.

There is one particular bug 1899915 which allows the user to select more than 3 hosts,
though the design allows only to create 1x3 volume.