-
Notifications
You must be signed in to change notification settings - Fork 818
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
gateway4 and gateway6 have been deprecated in netplan #4031
Comments
Launchpad user James Falcon(falcojr) wrote on 2022-10-12T21:46:21.010523+00:00 Yeah, this is something I have noticed alread. I created a ticket internally to get it fixed "soon", but you're right in that there's nothing in Launchpad yet. To your questions, this is my current thinking, but could change if needed: For v1, the config won't change. We'll render the appropriate routes instead. For v2 not Ubuntu, we'll deprecate but still support it while probably throwing a warning for the old version. It's a little trickier for Ubuntu since we passthrough netplan config. On Ubuntu, I don't see us supporting the deprecated keys any longer than Netplan does. As far as timeline, we should have a fix ready by 23.1. |
Launchpad user Alberto Contreras(aciba) wrote on 2022-11-18T09:09:07.365214+00:00 Fix committed here: #1794 |
Launchpad user shixuantong(sxt1001) wrote on 2022-12-10T06:47:41.581030+00:00 The problem seems to have been resolved enough to close it. There are a lot of open bugs. |
Launchpad user James Falcon(falcojr) wrote on 2022-12-12T13:29:28.837024+00:00 This has not yet been released upstream, so it will stay the current status until 23.1 is released. |
Launchpad user shixuantong(sxt1001) wrote on 2022-12-15T09:29:50.799987+00:00 ok. Thanks. I get it. |
Launchpad user Alberto Contreras(aciba) wrote on 2023-02-22T16:52:24.099276+00:00 This bug is believed to be fixed in cloud-init in version 23.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. |
This bug was originally filed in Launchpad as LP: #1992512
Launchpad details
Launchpad user Andrew Kutz(akutz) wrote on 2022-10-11T20:24:46.345984+00:00
Per the netplan reference documentation (https://netplan.io/reference), the scalar fields "gateway4" and "gateway6" have been deprecated:
However, I checked, and nothing in the Cloud-Init bug tracker or GitHub repository indicates there are plans for Cloud-Init to address this change:
Additionally:
cloud-init/cloudinit/net/network_state.py
Lines 40 to 41 in cd2cca3
cloud-init/cloudinit/net/netplan.py
Lines 117 to 120 in cd2cca3
cloud-init/tests/unittests/test_net.py
Lines 478 to 494 in cd2cca3
I am curious to find out:
Thanks!
The text was updated successfully, but these errors were encountered: