[LU-14477] lnet doesn't work with no IPV6 support in the kernel Created: 27/Feb/21  Updated: 07/Jan/24  Resolved: 11/Mar/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Neil Brown
Resolution: Fixed Votes: 0
Labels: IPv6

Issue Links:
Related
is related to LU-10391 LNET: Support IPv6 Reopened
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

the problem seem to be introduced with LU-10391



 Comments   
Comment by Alex Zhuravlev [ 27/Feb/21 ]

neilb can you please comment?

Comment by Gerrit Updater [ 01/Mar/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/41791
Subject: LU-14477 lnet: handle possiblity of IPv6 being unavailable.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 952e8a1c115cd1e55a3fcae05b96a24704e47899

Comment by Neil Brown [ 01/Mar/21 ]

When creating a socket to listen for new connections, the new code always creates and IPv6 socket, and requests that IPv4 connections be handled on that socket.

Unfortuantely, this doesn't work if IPv6 support isn't available -  -EAFNOSUPPORT is returned when creating the socket.  So I'll have to detect that and try.

 

Please test https://review.whamcloud.com/41791 and report if that fixes the problem.

 

Comment by Gerrit Updater [ 10/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41791/
Subject: LU-14477 lnet: handle possiblity of IPv6 being unavailable.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 30de2a33feae81d64cfdc7ddb76951e1fc1be916

Comment by Peter Jones [ 11/Mar/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:10:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.