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

[BUG] IPPool's allocations may not match the actual OverlappingRangeIPReservation data #409

Open
zhonglin6666 opened this issue Feb 21, 2024 · 0 comments

Comments

@zhonglin6666
Copy link

zhonglin6666 commented Feb 21, 2024

Describe the bug
The binary whereabouts create new OverlappingRangeIPReservation, and will update IPPool's allocations.
The pod garbage collect, it will update IPPool's allocations.
If at any point, both processes simultaneously obtain IPPool,

operation data
the origin data get A B C
the binary whereabouts update(create) A B C D
the pod whereabouts update(delete) A C

the binary whereabouts update IPPool which add new OverlappingRangeIPReservation.
the pod update IPPool which delete one OverlappingRangeIPReservation.

At last, The final successful update result will overwrite the previous structure.

Expected behavior
IPPool's allocations should be match the actual OverlappingRangeIPReservation data

To Reproduce

Environment:

  • Whereabouts version : v0.6.3
  • Kubernetes version (use kubectl version): v1.21.5
  • Network-attachment-definition: N/A
  • Whereabouts configuration (on the host): N/A
  • OS (e.g. from /etc/os-release): ubuntu 18.04
  • Kernel (e.g. uname -a): 4.15
  • Others: N/A

Additional info / context
Can the allocations in IPPool be deleted ?

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

No branches or pull requests

1 participant