← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1850308] Re: cloud-init on azure with dual stack needs to add route-metric for dhcp6 also

 

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.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1850308

Title:
  cloud-init on azure with dual stack needs to add route-metric for
  dhcp6 also

Status in cloud-init:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1850308/+subscriptions


References