← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1968329] [NEW] cloudinit fails with duplicate mac address on tunnel interfaces

 

Public bug reported:

Cloudinit fails with duplicate mac address while trying to read mac addresses for tunnel interfaces.
Tunnel interfaces copying mac from main interface, so it will definitely have duplicate macs. 


There are different types of tunnels in linux kernel, based on https://github.com/torvalds/linux/blob/9e9fb7655ed585da8f468e29221f0ba194a5f613/include/uapi/linux/if_arp.h#L67 they have types '768', '769', '776', '777'.

Should cloudinit skip those interfaces?

I have a patch for https://github.com/canonical/cloud-
init/blob/main/cloudinit/net/__init__.py. If it will help.

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Patch added: "net_init.patch"
   https://bugs.launchpad.net/bugs/1968329/+attachment/5578244/+files/net_init.patch

-- 
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/1968329

Title:
  cloudinit fails with duplicate mac address on tunnel interfaces

Status in cloud-init:
  New

Bug description:
  Cloudinit fails with duplicate mac address while trying to read mac addresses for tunnel interfaces.
  Tunnel interfaces copying mac from main interface, so it will definitely have duplicate macs. 

  
  There are different types of tunnels in linux kernel, based on https://github.com/torvalds/linux/blob/9e9fb7655ed585da8f468e29221f0ba194a5f613/include/uapi/linux/if_arp.h#L67 they have types '768', '769', '776', '777'.

  Should cloudinit skip those interfaces?

  I have a patch for https://github.com/canonical/cloud-
  init/blob/main/cloudinit/net/__init__.py. If it will help.

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



Follow ups