sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #02094
[Bug 1820929] [NEW] netplan should consider adding more udev attribute for exact matching of failover 3-netdev interfaces
You have been subscribed to a public bug by Guilherme G. Piccoli (gpiccoli):
[Impact]
* At present, virtual machines utilizing net_failover network interface
configurations are incorrectly configured due to the reliance on the MAC
address to identify specific network interfaces. When net_failover is
utilized, multiple interfaces will bear the same MAC address (the
net_failover master itself, as well as the interfaces subordinate to
it), rendering the MAC address ineffective for unique identification of
the interface. This results in incorrect naming of network interfaces
from the "set-name" directive in the netplan configuration.
* The solution here is to use the interface name instead of the MAC
address when the interface is a net_failover master device. Logic is
added on initramfs-tools to check the device type and virtio flags to
apply this change only to net_failover master devices.
[Test Case]
* The change can be tested by configuring a virtual machine with a
virtio_net network device with the "failover=on" option to the "-device"
option to qemu, e.g.,
-device virtio-net-
pci,netdev=hostnet0,id=net0,bus=pci.0,addr=0x3,mac=00:00:17:00:18:04,failover=on
* This will set the virtio device "standby" feature bit (bit 62,
counting from 0). This requires a version of qemu with support for this
feature.
* When so configured, the netplan configuration generated by initramfs
will not contain a "macaddress:" match directive for the network
interface in question.
[Regression Potential]
* Erroneous identification of a network interface as a net_failover
master device could lead to omission of a macaddress directive, causing
interfaces to be incorrectly named.
** Affects: netplan
Importance: Undecided
Status: Triaged
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: Triaged
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: Incomplete
** Affects: initramfs-tools (Ubuntu Bionic)
Importance: Medium
Assignee: Jay Vosburgh (jvosburgh)
Status: In Progress
** Affects: netplan.io (Ubuntu Bionic)
Importance: Undecided
Status: New
** Affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Tags: sts
--
netplan should consider adding more udev attribute for exact matching of failover 3-netdev interfaces
https://bugs.launchpad.net/bugs/1820929
You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report.