Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1615307

Summary: Error disabling sockopt IPV6_V6ONLY
Product: [Community] GlusterFS Reporter: Pavel Znamensky <kompastver>
Component: transportAssignee: Rinku <rkothiya>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1CC: bugs, moagrawa, pasik, srakonde
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-12 14:48:52 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:

Description Pavel Znamensky 2018-08-13 09:47:43 UTC
Description of problem:
We're getting warnings like this:

[2018-08-13 09:38:45.428086] W [socket.c:3352:socket_connect] 0-glustershd: Error disabling sockopt IPV6_V6ONLY: "Operation not supported"

Therefore glusterfs listen on both IPv6 and IPv6
Glusterfs compiled with --with-ipv6-default. And the server has IPv6 address.
Actually glusterfs already use socket with v6only:0:

~ $ sudo ss -ltnep | grep 24007
LISTEN     0      10          :::24007                   :::*                   users:(("glusterd",pid=13103,fd=10)) ino:317954466 sk:f8 v6only:0 <->

~ $ sudo sysctl net.ipv6.bindv6only
net.ipv6.bindv6only = 0


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

Steps to Reproduce:
1. assign IPv6 address for network interface
2. compile glusterfs with --with-ipv6-default option
3. setup glusterfs cluster

Actual results:
Warnings about disabling IPV6_V6ONLY for socket

Expected results:
Disable IPV6_V6ONLY for socket without errors

Comment 1 Amar Tumballi 2019-06-14 10:25:31 UTC
We did few fixes for IPv6 in glusterfs-5.x and glusterfs-6.x releases. Can you confirm if higher version fixed these issues?

Comment 2 Pavel Znamensky 2019-06-18 06:47:48 UTC
Looks like issue still persists in v5.5:
in cli.log and heal.log:

/var/log/glusterfs/cli.log:[2019-06-16 00:29:26.797461] W [socket.c:3367:socket_connect] 0-glusterfs: Error disabling sockopt IPV6_V6ONLY: "Operation not supported"
/var/log/glusterfs/glfsheal-st.log:[2019-06-16 00:31:53.930463] W [socket.c:3367:socket_connect] 0-gfapi: Error disabling sockopt IPV6_V6ONLY: "Operation not supported"

Comment 3 Yaniv Kaul 2019-07-01 06:27:44 UTC
Is anyone looking at this?

Comment 4 Worker Ant 2019-09-07 15:20:05 UTC
REVIEW: https://review.gluster.org/23383 (transport: fix error not supported for ipv6) posted (#1) for review on master by Rinku Kothiya

Comment 5 Worker Ant 2020-03-12 14:48:52 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/1068, and will be tracked there from now on. Visit GitHub issues URL for further details

Comment 6 Red Hat Bugzilla 2023-09-14 04:33:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days