Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

underlay route replace should use the correct ip of interface #2333

Closed
hongzhen-ma opened this issue Feb 13, 2023 · 3 comments · Fixed by #2340
Closed

underlay route replace should use the correct ip of interface #2333

hongzhen-ma opened this issue Feb 13, 2023 · 3 comments · Fixed by #2340
Assignees
Labels
bug Something isn't working

Comments

@hongzhen-ma
Copy link
Collaborator

hongzhen-ma commented Feb 13, 2023

Expected Behavior

pinger pod 可以正常访问其他节点的pinger pod

Actual Behavior

pinger pod 无法正常访问其他节点的pinger pod

Steps to Reproduce the Problem

  1. 创建集群,3 master 1worker节点,overlay 网络
  2. 集群创建成功后,添加underlay 配置,underlay 网卡使用管理网卡 eth0,eth0 网卡上配置有2个IP地址
  3. 关机master节点,重启。出现某个节点上的pinger pod 访问别的节点上pod 不通。实际测试 异常节点上访问别的节点的 ovn0 网卡地址也不通

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    (paste your output here)
    
  • kube-ovn version:

v1.9.1


- operation-system/kernel version:

**Output of `awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release`:**
**Output of `uname -r`:**

(paste your output here)


<!-- Any other additional information -->
@hongzhen-ma
Copy link
Collaborator Author

hongzhen-ma commented Feb 13, 2023

网卡地址信息
image

异常节点pod报错信息
image

underlay provider-networks 信息
image

异常节点路由信息对比
master3为访问异常节点,master2 为访问正常节点
image

chassis 记录geneve ip 为 192.168.108 网段地址

@oilbeater oilbeater added bug Something isn't working underlay labels Feb 14, 2023
@zhangzujian zhangzujian self-assigned this Feb 14, 2023
@zhangzujian
Copy link
Member

未能复现bug。OVS 转移 IP 时,只跳过 LinkLocal 的路由,普通 link 路由的 src 字段不会被修改。

@zhangzujian
Copy link
Member

若 src IP 与 ovs encap ip 不一致,会导致跨节点隧道通信异常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants