Bug 1698435

Summary: glusterfs-libs: usage of inet_addr() may impact IPv6
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Milind Changire <mchangir>
Component: coreAssignee: Rinku <rkothiya>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.5CC: amukherj, nchilaka, rhs-bugs, rkothiya, sasundar, sheggodu, storage-qa-internal, vdas
Target Milestone: ---   
Target Release: RHGS 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0-8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1721385 (view as bug list) Environment:
Last Closed: 2019-10-30 12:20:50 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:    
Bug Blocks: 1696809, 1721385    

Description Milind Changire 2019-04-10 11:17:15 UTC
Description of problem:
RRPMDiff has a raised a warning:
usr/lib64/libglusterfs.so.0.0.1 on x86_64 uses function inet_addr, which may impact IPv6 support

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Rinku 2019-06-17 05:57:41 UTC
REVIEW:  https://review.gluster.org/#/c/glusterfs/+/22866/  (core: replace inet_addr with inet_pton) posted (#1) for review on master by Rinku Kothiya

Comment 6 Atin Mukherjee 2019-06-24 15:21:41 UTC
We saw this error popping up in eventing component which is used in RHHI. So recommend fixing it.

Comment 13 SATHEESARAN 2019-10-14 09:28:59 UTC
Tested with glusterfs-6.0-15.el7rhgs

1. RHGS nodes are set with pure IPV6
2. Glusterd configured to support inet v6
3. Gluster peer probe done with IPv6
4. Gluster volume is created with the same IPV6
5. Gluster volume is fuse mounted with special mount option and then
I/O done.
6. Geo-rep session also initiated and completed to another gluster IPv6 cluster

No errors seen.

Comment 15 errata-xmlrpc 2019-10-30 12:20:50 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/RHEA-2019:3249