Thanks for the bug Gauthier.

 This issue is due to older 4.4 FIPS kernel not exposing a master
attribute in /sys/class/net/<devname> for SRIOV advanced networking
devices. Cloud-init is able to ignore this device file on Xenial's newer
4.15.0-1114-azure kernel on Azure, but I'm afraid we won't be able to
either manipulate the 4.4 certified FIPS kernel to expose this 'master'
sysfs device file


on FIPS kernel 4.4.0-1017-fips  Xenial no "master" sysfs attribute
allowing cloud-init to determine SRIOV device.

ubuntu@pro-xenial-up-fips:/sys/class/net/enP1p0s2$ ls
addr_assign_type  dormant            name_assign_type  speed
address           duplex             netdev_group      statistics
addr_len          flags              operstate         subsystem
broadcast         gro_flush_timeout  phys_port_id      tx_queue_len
carrier           ifalias            phys_port_name    type
carrier_changes   ifindex            phys_switch_id    uevent
device            iflink             power
dev_id            link_mode          proto_down
dev_port          mtu                queues


on ubuntu@pro-xenial-up-fips:~$ uname -r
4.15.0-1114-azure 

# note the "master" file indicating that this is a network device which has a 
master, therefore ignored by cloud-init
ubuntu@pro-xenial-up-fips:~$ ls /sys/class/net/enP11928s1
addr_assign_type    dev_port           mtu               speed
address             dormant            name_assign_type  statistics
addr_len            duplex             netdev_group      subsystem
broadcast           flags              operstate         tx_queue_len
carrier             gro_flush_timeout  phys_port_id      type
carrier_changes     ifalias            phys_port_name    uevent
carrier_down_count  ifindex            phys_switch_id    upper_eth0
carrier_up_count    iflink             power
device              link_mode          proto_down
dev_id              master             queues


** Changed in: cloud-init (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927124

Title:
  Azure/Xenial Pro FIPS: RuntimeError: duplicate mac found!

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to