[GH-ISSUE #179] No available address for listener with network type: TCP, filter list #109

Open
opened 2026-10-26 09:45:18 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @pwxwmm on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/179


[2025-03-14T22:18:34.450205338+08:00 monitor_collect:416868 Listener.cc:87 ERROR] No available address for listener with network type: TCP, filter list:
[2025-03-14T22:18:34.450235037+08:00 monitor_collect:416868 ServiceGroup.cc:26 ERROR] error: RPC::ListenFailed(2011)
[2025-03-14T22:18:34.450243611+08:00 monitor_collect:416868 Server.cc:27 ERROR] Setup group (MonitorCollector) failed: RPC::ListenFailed(2011)
[2025-03-14T22:18:34.450250294+08:00 monitor_collect:416868 Server.cc:31 ERROR] Server::setup failed: RPC::ListenFailed(2011)
[2025-03-14T22:18:34.450259443+08:00 monitor_collect:416868 OnePhaseApplication.h:101 FATAL] Setup server failed: RPC::ListenFailed

#这里需要调整对应的配置文件

#这个是源代码

case Address::TCP:
  return nic.starts_with("en") || nic.starts_with("eth");
case Address::IPoIB:
  return nic.starts_with("ib");
case Address::RDMA:
  return nic.starts_with("en") || nic.starts_with("eth");

配置
[server.base.groups.listener]
filter_list = ["bond0", "bond1"]  # 或者 "ens4f0np0"
listen_port = 10000


或者修改重新编译:
vim /home/3fs/src/common/net/Listener.cc
static bool checkNicType(std::string_view nic, Address::Type type) {
  switch (type) {
    case Address::TCP:
      return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond");
    case Address::IPoIB:
      return nic.starts_with("ib");
    case Address::RDMA:
      return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond");
    case Address::LOCAL:
      return nic.starts_with("lo");
    default:
      return false;
  }
}


这里配置了bond依然异常,是getNetworkInterfaces()和checkNicType()不支持bond*设备吗?

Originally created by @pwxwmm on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/179 ```c++ [2025-03-14T22:18:34.450205338+08:00 monitor_collect:416868 Listener.cc:87 ERROR] No available address for listener with network type: TCP, filter list: [2025-03-14T22:18:34.450235037+08:00 monitor_collect:416868 ServiceGroup.cc:26 ERROR] error: RPC::ListenFailed(2011) [2025-03-14T22:18:34.450243611+08:00 monitor_collect:416868 Server.cc:27 ERROR] Setup group (MonitorCollector) failed: RPC::ListenFailed(2011) [2025-03-14T22:18:34.450250294+08:00 monitor_collect:416868 Server.cc:31 ERROR] Server::setup failed: RPC::ListenFailed(2011) [2025-03-14T22:18:34.450259443+08:00 monitor_collect:416868 OnePhaseApplication.h:101 FATAL] Setup server failed: RPC::ListenFailed #这里需要调整对应的配置文件 #这个是源代码 case Address::TCP: return nic.starts_with("en") || nic.starts_with("eth"); case Address::IPoIB: return nic.starts_with("ib"); case Address::RDMA: return nic.starts_with("en") || nic.starts_with("eth"); 配置 [server.base.groups.listener] filter_list = ["bond0", "bond1"] # 或者 "ens4f0np0" listen_port = 10000 或者修改重新编译: vim /home/3fs/src/common/net/Listener.cc static bool checkNicType(std::string_view nic, Address::Type type) { switch (type) { case Address::TCP: return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond"); case Address::IPoIB: return nic.starts_with("ib"); case Address::RDMA: return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond"); case Address::LOCAL: return nic.starts_with("lo"); default: return false; } } 这里配置了bond依然异常,是getNetworkInterfaces()和checkNicType()不支持bond*设备吗? ```
Author
Owner

@qiuxinyidian commented on GitHub (Apr 10, 2025):

mark

<!-- gh-comment-id:2794199323 --> @qiuxinyidian commented on GitHub (Apr 10, 2025): mark
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#109
No description provided.