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 subnet has an unexpected policy route #2138

Closed
changluyi opened this issue Dec 7, 2022 · 0 comments · Fixed by #2177
Closed

underlay subnet has an unexpected policy route #2138

changluyi opened this issue Dec 7, 2022 · 0 comments · Fixed by #2177
Assignees
Labels
bug Something isn't working

Comments

@changluyi
Copy link
Collaborator

changluyi commented Dec 7, 2022

Expected Behavior

no policy route below on ovn-cluster
29000 ip4.src == $ovn.default.kube.ovn.control.plane_ip4 reroute 100.64.0.2
29000 ip4.src == $ovn.default.kube.ovn.worker_ip4 reroute 100.64.0.3

Actual Behavior

it has the policy route

Steps to Reproduce the Problem

  1. build a kind test env
    make kind-init-dual && make kind-install-underlay-logical-gateway-dual
  2. restart kube-ovn-controller
  3. it generates an unexpected policy route below
    kubectl-ko nbctl lr-policy-list ovn-cluster
    29000 ip4.src == $ovn.default.kube.ovn.control.plane_ip4 reroute 100.64.0.2
    29000 ip4.src == $ovn.default.kube.ovn.worker_ip4 reroute 100.64.0.3

Additional Info

  • Kubernetes version:

    Output of kubectl version:

master branch kind env

  • kube-ovn version:

master branch

  • operation-system/kernel version:

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

    (paste your output here)
    
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
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants