-
Notifications
You must be signed in to change notification settings - Fork 784
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
Pods creating failed because of "cannot convert: no valid IP addresses" in master branch #381
Comments
Did you find the solution? I got the same issue and I think the updates recently caused that. |
Can you post your CNI config? |
Podman has this issue too: |
Ok, I think this because loopback has never returned an actual result, always an empty one. Which is kinda wrong, I suppose. Here's code in loopback.go:
When there's no PrevResult loopback will return an empty current.Result{}. If the loopback config specified CNI Version 0.2.0, PrintResult will convert the empty current result to a 0.2.0 result. The conversion code for that has:
which of course will be triggered because loopback never returns IP addresses. The original problem was that loopback did not conform to the CNI specification by ensuring that it's result was the same version as the incoming configuration. That was fixed by #374 and now it returns the result in the right version. In any case we have two options:
|
Description:
WR:
The text was updated successfully, but these errors were encountered: