Closed ubuntu-server-builder closed 1 year ago
Launchpad user Server Team CI bot(server-team-bot) wrote on 2019-11-04T22:11:41.074719+00:00
This bug is fixed with commit 02f07b66 to cloud-init on branch master. To view that commit see the following URL: https://git.launchpad.net/cloud-init/commit/?id=02f07b66
Launchpad user Chad Smith(chad.smith) wrote on 2019-12-19T22:58:00.834223+00:00
This bug is believed to be fixed in cloud-init in version 19.2-80. 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: #1850308
Launchpad details
Launchpad user Dan Streetman(ddstreet) wrote on 2019-10-29T12:44:43.538276+00:00
cloud-init on azure generates netplan yaml that includes dhcp4 with the dhcp4-overrides of route-metric, i.e.:
dhcp4: true dhcp4-overrides: route-metric: 100
however netplan requires the same route-metric for dhcp4 and dhcp6 as networkd doesn't allow specifying separate metrics for 4 vs 6, so when azure is setup with dual-stack the netplan yaml is not valid for netplan, i.e.:
dhcp4: true dhcp4-overrides: route-metric: 100 dhcp6: true
which causes netplan to exit with error:
Stderr: ERROR: eth0: networkd requires that route-metric has the same value in both dhcp4_overrides and dhcp6_overrides