Bug 1331772

Summary: glusterd: fix max pmap alloc to GF_PORT_MAX
Product: [Community] GlusterFS Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: glusterdAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.11CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1331253 Environment:
Last Closed: 2016-06-28 12:16:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1331253, 1332557    
Bug Blocks:    

Description Prasanna Kumar Kalever 2016-04-29 13:21:23 UTC
+++ This bug was initially created as a clone of Bug #1331253 +++

Description of problem:
Currently max port alloc is 65534, which is due to minor bug in the code.
  

Version-Release number of selected component (if applicable):
mainline

Expected results:
it should be GF_PORT_MAX which is 65535

--- Additional comment from Vijay Bellur on 2016-04-28 02:21:21 EDT ---

REVIEW: http://review.gluster.org/14096 (glusterd: fix max pmap alloc to GF_PORT_MAX) posted (#1) for review on master by Prasanna Kumar Kalever (pkalever)

--- Additional comment from Vijay Bellur on 2016-04-28 02:28:45 EDT ---

REVIEW: http://review.gluster.org/14096 (glusterd: fix max pmap alloc to GF_PORT_MAX) posted (#2) for review on master by Prasanna Kumar Kalever (pkalever)

--- Additional comment from Vijay Bellur on 2016-04-28 05:11:01 EDT ---

REVIEW: http://review.gluster.org/14096 (glusterd: fix max pmap alloc to GF_PORT_MAX) posted (#3) for review on master by Prasanna Kumar Kalever (pkalever)

--- Additional comment from Vijay Bellur on 2016-04-29 01:29:14 EDT ---

COMMIT: http://review.gluster.org/14096 committed in master by Atin Mukherjee (amukherj) 
------
commit 72f048ae1ab893e81abff377a46570b5a12b7561
Author: Prasanna Kumar Kalever <prasanna.kalever>
Date:   Thu Apr 28 11:42:28 2016 +0530

    glusterd: fix max pmap alloc to GF_PORT_MAX
    
    This patch also mops the port max i.e 65535 hard coding
    
    Change-Id: Ia93656d75ceb4c6c4849f9e0ad1b260d5952d4c6
    BUG: 1331253
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever>
    Reviewed-on: http://review.gluster.org/14096
    Tested-by: Prasanna Kumar Kalever <pkalever>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 1 Vijay Bellur 2016-04-30 08:33:56 UTC
REVIEW: http://review.gluster.org/14127 (glusterd: fix max pmap alloc to GF_PORT_MAX) posted (#1) for review on release-3.7 by Prasanna Kumar Kalever (pkalever)

Comment 2 Vijay Bellur 2016-05-01 07:45:02 UTC
COMMIT: http://review.gluster.org/14127 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit 1737a475156124ead29fbae140df92e2f6e7a49e
Author: Prasanna Kumar Kalever <prasanna.kalever>
Date:   Sat Apr 30 14:02:01 2016 +0530

    glusterd: fix max pmap alloc to GF_PORT_MAX
    
    This patch also mops the port max i.e 65535 hard coding
    
    Backport of:
    > Change-Id: Ia93656d75ceb4c6c4849f9e0ad1b260d5952d4c6
    > BUG: 1331253
    > Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever>
    > Reviewed-on: http://review.gluster.org/14096
    > Tested-by: Prasanna Kumar Kalever <pkalever>
    > Smoke: Gluster Build System <jenkins.com>
    > Reviewed-by: Atin Mukherjee <amukherj>
    > CentOS-regression: Gluster Build System <jenkins.com>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    
    Change-Id: Idf07dd5d08957aed9287e7df2f3fc6f0f32039c1
    BUG: 1331772
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever>
    Reviewed-on: http://review.gluster.org/14127
    Tested-by: Prasanna Kumar Kalever <pkalever>
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 3 Kaushal 2016-06-28 12:16:09 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.12, please open a new bug report.

glusterfs-3.7.12 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-devel/2016-June/049918.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user