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

CNI loading failure causing spiderIPpool ip exhaustion #4295

Open
jiayi-1994 opened this issue Nov 18, 2024 · 1 comment
Open

CNI loading failure causing spiderIPpool ip exhaustion #4295

jiayi-1994 opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels

Comments

@jiayi-1994
Copy link

Spiderpool Version

v0.9.7

Main CNI

macvlan

bug description

In the case of multiple NICs, if NIC 1 succeeds in assigning an ip from sp1, and NIC 2 fails to assign an ip (maybe sp2 has run out of ip), it will result in a creation failure and cause sp1 to run out of ip as well.

The multus call to cni ADD fails with a DEL rollback, but the SpiderPool is skipped, resulting in an entire SpiderIpool being exhausted.

lQLPKHRWh_m_4ZHNAY7NA6awQ9UrdVxWqmwHIUbD6K50AA_934_398

What did you expect to happen?

how to fix it Or use subnet instead ?

How to reproduce it (as minimally and precisely as possible)

No response

Additional Context

No response

@ty-dc
Copy link
Collaborator

ty-dc commented Nov 21, 2024

Thanks for your feedback, do you have some spiderpool-controller and agent logs to provide? Also kubectl describe po to show the specific error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants