Bug 1615307 - Error disabling sockopt IPV6_V6ONLY
Summary: Error disabling sockopt IPV6_V6ONLY
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: transport
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Rinku
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-13 09:47 UTC by Pavel Znamensky
Modified: 2023-09-14 04:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 14:48:52 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 23383 0 None Abandoned transport: fix error not supported for ipv6 2019-12-06 19:30:31 UTC

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


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