Bug 1459886

Summary: Additional volume creation,shows up the volume entry with default volume type as arbiter
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Devyani Kota <dkota>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.10.7-0.0.18CC: bugs, knarra, lveyde, rbarry, sabose
Target Milestone: ovirt-4.1.5Flags: sasundar: ovirt-4.1?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: 0.10.7-0.0.22   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.10.7-0.0.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-23 08:04:25 UTC Type: Bug
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: 1411323, 1485863    
Attachments:
Description Flags
New volume creation has arbiter checkbox checked
none
Deleting all volumes, then creating volume also has arbiter checkbox enabled
none
Adding new volume to the existing volume list screenshot
none
Adding new volumes after deleting all the existing ones none

Description SATHEESARAN 2017-06-08 12:59:16 UTC
Description of problem:
-----------------------
The 'volumes' tab of 'Hosted Engine with Gluster' deployment wizard, shows up the three volumes by default - engine, vmstore, data

Consider the following two scenarios:
1. When existing volume entries are deleted and newly entries are made
2. When additional volume entries are created.

In the above two cases, the volume entries are listed with volume type as 'arbiter' (i.e) arbiter checkbox is checked.

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

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

Steps to Reproduce:
-------------------
1. Start 'Hosted Engine with Gluster' deployment
2. On 'Volumes' tab, add one more volume entry

(or)
1. Start 'Hosted Engine with Gluster' deployment
2. On 'Volumes' tab, delete all the existing volume entry, add one more volume entry

Actual results:
---------------
New volume entry shows up, with arbiter checkbox checked

Expected results:
-----------------
New volume entry should not have the arbiter checkbox checked

Comment 1 SATHEESARAN 2017-06-08 13:00:34 UTC
Created attachment 1286146 [details]
New volume creation has arbiter checkbox checked

The screenshot shows that the new volume creation entry has the arbiter checkbox checked

Comment 2 SATHEESARAN 2017-06-08 13:02:08 UTC
Created attachment 1286147 [details]
Deleting all volumes, then creating volume also has arbiter checkbox enabled

This is another scenario, where deleting all the existing volume entries and creating the new volume entry again has the arbiter checkbox enabled

Comment 3 RamaKasturi 2017-08-16 13:33:36 UTC
Verified and works fine with build cockpit-ovirt-dashboard-0.10.7-0.0.23.el7ev.noarch.

Tested the scenario where all the volumes are deleted and tried creating a new volume and arbiter check box is not checked by default. Attaching screenshot for the same.

Tested the scenario where addition of new volume is done to the existing volume and arbiter check box is not checked by default. Attaching screenshot for the same.

Comment 4 RamaKasturi 2017-08-16 13:34:24 UTC
Created attachment 1314124 [details]
Adding new volume to the existing volume list screenshot

Comment 5 RamaKasturi 2017-08-16 13:35:25 UTC
Created attachment 1314125 [details]
Adding new volumes after deleting all the existing ones