Bug 1337384 - Brick processes not getting ports once glusterd comes up.
Summary: Brick processes not getting ports once glusterd comes up.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.1.3
Assignee: Atin Mukherjee
QA Contact: Byreddy
URL:
Whiteboard:
Depends On:
Blocks: 1311817
TreeView+ depends on / blocked
 
Reported: 2016-05-19 04:15 UTC by Byreddy
Modified: 2016-09-17 16:46 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.7.9-7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-23 05:23:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Description Byreddy 2016-05-19 04:15:07 UTC
Description of problem:
=======================
If volume options are modified when one of the peer node glusted is down, brick processes part of glusterd offline node are not getting the TCP ports once glusterd comes up.



Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.9-4.4 ( private build - glusterfs-3.7.9-4.4.gitb1ce6bc.el7rhgs.x86_64 )

How reproducible:
=================
Always


Steps to Reproduce:
===================
1.Create a sample volume using two node cluster bricks
2.Stop glusterd on one node (node1)
3.Modify any one of the volume options on node-2.
4.Start glusted on node1 and check the volume status.

Actual results:
================
bricks processes not getting ports once glusterd comes up


Expected results:
=================
bricks processes should get the ports once glusterd comes up



Additional info:
will prove the logs.

Comment 5 Atin Mukherjee 2016-05-19 04:49:29 UTC
We should not be filing bugs with private builds. If you hit the same issue on an official build please mention that otherwise you'd need to close it.

Comment 6 Byreddy 2016-05-19 04:58:11 UTC
(In reply to Atin Mukherjee from comment #5)
> We should not be filing bugs with private builds. If you hit the same issue
> on an official build please mention that otherwise you'd need to close it.

closing based on above comment as NOTABUG.

Comment 7 SATHEESARAN 2016-05-19 08:12:43 UTC
Clearing the flags so as this bug is not listed for bug triage

Comment 8 Byreddy 2016-05-23 15:02:35 UTC
I am reopening this bug because issue found in the provide build is present in the official build "glusterfs-3.7.9-6" as well and setting the required flags back and this is regression b/w the builds "3.7.9-5" and "3.7.9-6"

With official build i am seeing little diff in the issue. that is, only bricks part of node where glusterd was down and came up after modifying the volume options on other peer node are not getting the TCP ports. 


i will provide the required  logs ( console and brick log failures ), these is no errors in glusterd log.

Comment 10 Byreddy 2016-05-23 15:06:19 UTC
(In reply to Byreddy from comment #8)
> I am reopening this bug because issue found in the private build is present
> in the official build "glusterfs-3.7.9-6" as well and setting the required
> flags back and this is regression b/w the builds "3.7.9-5" and "3.7.9-6"
> 
> With official build i am seeing little diff in the issue. that is, only
> bricks part of node where glusterd was down and came up after modifying the
> volume options on other peer node are not getting the TCP ports. 
> 
> 
> i will provide the required  logs ( console and brick log failures ), these
> is no errors in glusterd log.

Comment 13 Atin Mukherjee 2016-05-24 06:04:50 UTC
RCA:

Since the downstream backport BZ 1335357 was not a straight forward one (refer to https://code.engineering.redhat.com/gerrit/74663 for more details on why), the patch changed the signature of glusterd_volinfo_copy_brick_portinfo () which lead to zeroing out brickinfo->port while importing a volume.

Comment 14 Atin Mukherjee 2016-05-24 07:12:37 UTC
https://code.engineering.redhat.com/gerrit/74996 is posted for review.

Comment 16 Atin Mukherjee 2016-05-25 12:31:27 UTC
https://code.engineering.redhat.com/gerrit/74996 is merged now.

Comment 19 Byreddy 2016-06-01 04:36:36 UTC
Verified this bug using the build "glusterfs-3.7.9-7".

Fix is working good, Moving to verified state.

Comment 21 errata-xmlrpc 2016-06-23 05:23:47 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, 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/RHBA-2016:1240


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