-
Notifications
You must be signed in to change notification settings - Fork 908
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
ENI and Network-Manager renderers create wrong IPv6 routes #4518
Comments
@karibou , thanks for the bug report. I can confirm the problem in versions of cloud-init supporting network-manager. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hello,
With the data given in config.yaml above we get :
The It looks like embedding IPv6 gateway in the |
@karibou , thanks. I'll try to get a fix up soon. |
Bah, sorry @TheRealFalcon, I had just started working on this when you grabbed this.
Nice evaluation @karibou, that looks to be the issue. I have a wip branch to get this fixed, will try to get this fixed soon. Aside: |
Just a heads up that I'm going to leave this assigned to me, but I did have another issue come up that takes priority, so if somebody else wants to grab it in the meantime, feel free to comment here. Otherwise, I'll pick it up when I can. |
Hello, |
@karibou , this one hasn't fallen off my radar. I just haven't had the time to get back to it. I'm hoping to get back to it this week. |
Because network v2 route defintions can have mixed v4 and v6 routes, we need to determine the IP family per route rather than per subnet. Similar, ensure dns-search is rendered correctly. Fixes canonicalGH-4518
Because network v2 route defintions can have mixed v4 and v6 routes, we need to determine the IP family per route rather than per subnet. Similar, ensure dns-search is rendered correctly. Fixes canonicalGH-4518
Bug report
When defining IPv6 route in the v2 network config yaml, the IPv6 route is wrongly defined. The Network-Manager renderer adds it to the [ipv4] section.
Steps to reproduce the problem
Using the following network-config :
when creating a Network-Manager configuration using :
The [ipv4] section has :
As seen the IPv6 route gets added to the IPv4 section
Environment details
cloud-init logs
No logs are necessary, the behavior can be reproduced at will using the cloud-init command
The text was updated successfully, but these errors were encountered: