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

network: request ip return 500 route is not ready for pod #1405

Closed
zhangzujian opened this issue Mar 28, 2022 · 2 comments
Closed

network: request ip return 500 route is not ready for pod #1405

zhangzujian opened this issue Mar 28, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@zhangzujian
Copy link
Member

zhangzujian commented Mar 28, 2022

Expected Behavior

Actual Behavior

StatefulSet Pod is stuck on ContainerCreating status.

NAME    READY   STATUS              RESTARTS   AGE
sts-0   0/1     ContainerCreating   0          3d14h

Execute kubectl describe pod and get the following event:

networkPlugin cni failed to set up pod "sts-0_ns1" network: request ip return 500 route is not ready for pod ns1/sts-0 provider ovn, please see kube-ovn-controller logs to find errors

kube-ovn-controller logs:

error syncing 'ns1/sts-0': static route "policy=src-ip ip_prefix=10.210.43.25" with different nexthop already exists on logical router ovn-cluster, requeuing

Steps to Reproduce the Problem

Additional Info

  • kube-ovn version:

    v1.8.3
@zhangzujian zhangzujian added the bug Something isn't working label Mar 28, 2022
@zhangzujian
Copy link
Member Author

Resolution:

Execute the following command:

kubectl ko nbctl lr-route-del ovn-cluster 10.210.43.25

And then wait for the pod to be ready.

Notice: replace 10.210.43.25 with the actual Pod IP.

@zhangzujian
Copy link
Member Author

This issue has already been fixed by #1326.

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

No branches or pull requests

1 participant