Bug 1690850 - [cockpit] Brick size is incorrect after user modifies the volume from arbiter to pure replica.
Summary: [cockpit] Brick size is incorrect after user modifies the volume from arbiter...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHHI-V 1.8
Assignee: Parth Dhanjal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1690880
Blocks: RHHI-V-1.8-Engineering-Backlog-BZs
TreeView+ depends on / blocked
 
Reported: 2019-03-20 10:51 UTC by Mugdha Soni
Modified: 2020-08-04 14:51 UTC (History)
2 users (show)

Fixed In Version: cockpit-ovirt-0.14.3-1.el8ev
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1690880 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:50:55 UTC
Embargoed:


Attachments (Terms of Use)
Arbiter screenshot (91.56 KB, image/png)
2019-03-20 10:51 UTC, Mugdha Soni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:51:21 UTC

Description Mugdha Soni 2019-03-20 10:51:28 UTC
Created attachment 1546004 [details]
Arbiter screenshot

Description of problem:
------------------------
If the user has the arbiter-replicate volume and later modifies it to pure replicate then the LV size in the third host picks up the default size and not the previous modified size by the user .


Version-Release number of selected component :
-----------------------------------------------
glusterfs-server-3.12.2-47.el7rhgs
gluster-ansible-repositories-1.0-1.el7rhgs.noarch
gluster-ansible-maintenance-1.0.1-1.el7rhgs.noarch
gluster-ansible-features-1.0.4-5.el7rhgs.noarch
gluster-ansible-cluster-1.0-1.el7rhgs.noarch
gluster-ansible-roles-1.0.4-4.el7rhgs.noarch
gluster-ansible-infra-1.0.3-3.el7rhgs.noarch

rhvh-4.3.0.5-0.20190313


How reproducible:
-------------------
Every time


Steps to Reproduce:
--------------------
1.Log in to cockpit UI and fill in all the required parameters till volume tab. 
2.Change the LV size in bricks tab .
3.Then press the back button and and uncheck the arbiter checkbox for the volume 
  and then check the LV size for that brick on third host .

Actual results:
------------------
The LV size of the modified volume is  reflected as the default value and not a modified value by the user .


Expected results:
-------------------
The LV size of the modified volume should be the changed size from the user an d not the default size.


Additional info:
-------------------
If the user set vmstore volume as the arbiter-replicate and the change the LV size from 500GB (default) to 7126GB and then goes back and modifies the type from arbiter-replicate to pure replicate , the LV size in the third host for vmstore will be taken as the default value i.e 500GB and not the modified size.

Comment 2 SATHEESARAN 2020-03-30 14:09:20 UTC
Tested with cockpit-ovirt-dashboard-0.14.3
1. Started HC deployment with 3 nodes
2. Populate storage network and public network FQDN
3. On volumes tab, go with the default list of gluster volumes.
4. Select 'arbiter' for 'data' volume
5. Go to bricks tab, check for the size of the 'data' volume's brick on the third host.
This will be 20GB, as the volume is of type 'arbiter'
6. Go to previous tab - 'Volumes' tab and deselect 'arbiter', so volume type is replicate
7. Now proceed to 'volumes' tab and check for the size of 'data' volume's brick on third host
This size is same as the size of other bricks

Comment 5 errata-xmlrpc 2020-08-04 14:50:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHHI for Virtualization 1.8 bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2020:3314


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