Bug 1786478 - default option is disappeared in volume info after volume reset
Summary: default option is disappeared in volume info after volume reset
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On: 1781710
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-25 16:48 UTC by Sanju
Modified: 2020-01-09 12:42 UTC (History)
8 users (show)

Fixed In Version:
Clone Of: 1781710
Environment:
Last Closed: 2020-01-01 14:15:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23921 0 None Merged glusterd: deafult options after volume reset 2020-01-01 14:15:32 UTC

Description Sanju 2019-12-25 16:48:17 UTC
Description of problem:
=======================
On a default volume there is a volume option 'transport.address-family: inet' which vanishes on resetting a volume and because of this change in volume options ,brick mux feature breaks


Version-Release number of selected component (if applicable):
============================================================
Have been seeing this from a long time
Current testing build - glusterfs-server-6.0-24.el7rhgs.x86_64

How reproducible:
=================
Everytime

Steps to Reproduce:
1.Enable brickmux and create 2-3 volumes , start the volume , all will have same PID and volume option transport.address-family: inet
2.Reset a volume, this volume option is no longer present
3.Start - Stop the volume which was reset 

Actual results:
===============
The volume which was reset and start-stopped , comes up with a different PID


Expected results:
=================
If on a new volume option transport.address-family: inet is present it should not disappear after volume reset


Additional info:
=================
[root@rhs-gp-srv1 glusterd]# gluster v info
 
Volume Name: disperse-vol
Type: Distributed-Disperse
Volume ID: e4741d05-6bb0-4389-8e24-1d556cc01ae8
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x (4 + 2) = 12
Transport-type: tcp
Bricks:
Brick1: 10.70.36.8:/gluster/brick1/ec1
Brick2: 10.70.36.5:/gluster/brick1/ec1
Brick3: 10.70.36.6:/gluster/brick1/ec1
Brick4: 10.70.36.9:/gluster/brick1/ec1
Brick5: 10.70.36.17:/gluster/brick1/ec1
Brick6: 10.70.36.15:/gluster/brick1/ec1
Brick7: 10.70.36.8:/gluster/brick2/ec2
Brick8: 10.70.36.5:/gluster/brick2/ec2
Brick9: 10.70.36.6:/gluster/brick2/ec2
Brick10: 10.70.36.9:/gluster/brick2/ec2
Brick11: 10.70.36.17:/gluster/brick2/ec2
Brick12: 10.70.36.15:/gluster/brick2/ec2
Options Reconfigured:
storage.fips-mode-rchecksum: on
nfs.disable: on
cluster.brick-multiplex: enable
 
Volume Name: ec-vol
Type: Disperse
Volume ID: a6c976c6-a705-4782-8684-c2e60b805b78
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x (4 + 2) = 6
Transport-type: tcp
Bricks:
Brick1: 10.70.36.8:/gluster/brick3/ec1
Brick2: 10.70.36.5:/gluster/brick3/ec1
Brick3: 10.70.36.6:/gluster/brick3/ec1
Brick4: 10.70.36.9:/gluster/brick3/ec1
Brick5: 10.70.36.17:/gluster/brick3/ec1
Brick6: 10.70.36.15:/gluster/brick3/ec1
Options Reconfigured:
transport.address-family: inet
storage.fips-mode-rchecksum: on
nfs.disable: on
cluster.brick-multiplex: enable
 
Volume Name: ec-vol1
Type: Disperse
Volume ID: 6c7f409c-6fca-4d08-8aac-da7fb06d6ec4
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x (4 + 2) = 6
Transport-type: tcp
Bricks:
Brick1: 10.70.36.8:/gluster/brick4/ec1
Brick2: 10.70.36.5:/gluster/brick4/ec1
Brick3: 10.70.36.6:/gluster/brick4/ec1
Brick4: 10.70.36.9:/gluster/brick4/ec1
Brick5: 10.70.36.17:/gluster/brick4/ec1
Brick6: 10.70.36.15:/gluster/brick4/ec1
Options Reconfigured:
transport.address-family: inet
storage.fips-mode-rchecksum: on
nfs.disable: on
cluster.brick-multiplex: enable


Volume disperse-vol has been reset


[root@rhs-gp-srv1 glusterd]# gluster v get disperse-vol all|grep 'transport'
transport.keepalive                     1                                       
transport.listen-backlog                1024                                    
[root@rhs-gp-srv1 glusterd]# 

[root@rhs-gp-srv1 glusterd]# gluster v get ec-vol1 all |grep transport
transport.keepalive                     1                                       
transport.listen-backlog                1024                                    
transport.address-family                inet

--- Additional comment from Upasana on 2019-12-10 18:44:07 IST ---

As this is easily reproducible, not uploading sos-reports.
Please let me know if any more information or data is required

--- Additional comment from Sanju on 2019-12-11 16:42:13 IST ---

Here, the brick-mux feature failing because of the option change. When different options are set for volumes, the volumes will not be compatible with each other and we will have different PID's for bricks.

The actual issue here is: the option <transport.address-family> should not get disappear after volume reset. I will look into it.

Comment 1 Worker Ant 2019-12-25 16:53:39 UTC
REVIEW: https://review.gluster.org/23921 (glusterd: deafult options after volume reset) posted (#1) for review on master by Sanju Rakonde

Comment 2 Worker Ant 2020-01-01 14:15:33 UTC
REVIEW: https://review.gluster.org/23921 (glusterd: deafult options after volume reset) merged (#4) on master by MOHIT AGRAWAL


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