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

Fix containerID read during IPAM migration #824

Merged
merged 1 commit into from Jan 3, 2020

Conversation

sreis
Copy link
Contributor

@sreis sreis commented Dec 26, 2019

Description

Bug fix.

Fixes https://github.com/projectcalico/cni-plugin/issues/821

The host-local IPAM plugin writes the interface name in the file where the container IP is stored. The calico-ipam plugin needs to parse the file during a migration or else it'll try and always fail to create a handle.

Todos

  • Tests

Couldn't find any tests for this code path, if any of the reviewers can point me to an example I'd be happy to contribute one as well.

  • [ ] Documentation
  • Release note

Release Note

Fix a bug when checking the containerID during an IPAM upgrade from host-local to calico-ipam

Signed-off-by: Simão Reis <smnrsti@gmail.com>
@claassistantio
Copy link

claassistantio commented Dec 26, 2019

CLA assistant check
All committers have signed the CLA.

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