← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1905983] Re: Secondary network interface left unconfigured after reboot of Core 18

 

This fix is now in candidate channel of core/snapd, and is being phased
out to stable now.

We still do not have a way to regression test this, so if someone can
provide us an example way to reproduce the problem (or just some kind of
cloud-init config that would be broken by not having this fix) that
would be awesome.

** Changed in: snapd
       Status: In Progress => Fix Committed

** Changed in: snapd
       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/1905983

Title:
  Secondary network interface left unconfigured after reboot of Core 18

Status in cloud-init:
  Incomplete
Status in snapd:
  Fix Released

Bug description:
  We're implementing extra networking support in Multipass, and relying
  on cloud-init to configure them.

  On Ubuntu Core 18 images the extra interface's configuration gets
  purged after rebooting a couple times.

  On first boot:

  $ cat /etc/netplan/50-cloud-init.yaml 
  # This file is generated from information provided by the datasource.  Changes
  # to it will not persist across an instance reboot.  To disable cloud-init's
  # network configuration capabilities, write a file
  # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  # network: {config: disabled}
  network:
      ethernets:
          default:
              dhcp4: true
              match:
                  macaddress: 52:54:00:f3:9f:51
          extra0:
              dhcp4: true
              dhcp4-overrides:
                  route-metric: 200
              match:
                  macaddress: 52:54:00:1a:4f:f9
              optional: true
      version: 2

  But after (an automatic, due to refresh) reboot or two:

  $ cat /etc/netplan/50-cloud-init.yaml 
  # This file is generated from information provided by the datasource.  Changes
  # to it will not persist across an instance reboot.  To disable cloud-init's
  # network configuration capabilities, write a file
  # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  # network: {config: disabled}
  network:
      ethernets:
          eth0:
              dhcp4: true
              match:
                  macaddress: 52:54:00:f3:9f:51
              set-name: eth0
      version: 2

  Attached is the result of `collect-logs`.

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


References