[TestImpact] fuel-qa and dynamical nic naming
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel QA Team | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel QA Team | ||
Newton |
Confirmed
|
Medium
|
Fuel QA Team |
Bug Description
Since fuel-release 8.0, fuel swithced to net.ifnames nic naming schema
which has been implemented via udev rule[0]:
The main problem, that different HW\virt drivers send different row-structure of nic.
In general udev info looks like:
#### Real HW
udevadm info --query=property -p /sys/class/net/eno1
DEVPATH=
ID_BUS=pci
ID_MODEL_
ID_MODEL_ID=0x1521
ID_NET_
ID_NET_
ID_NET_
ID_PCI_
ID_PCI_
ID_VENDOR_
ID_VENDOR_ID=0x8086
INTERFACE=eno1
net.ifnames=1
...
#### OR for virtio
udevadm info --query=property -p /sys/class/net/eth0
DEVPATH=
ID_BUS=pci
ID_MODEL_
ID_MODEL_ID=0x1000
ID_NET_
ID_PCI_
ID_PCI_
ID_VENDOR_
ID_VENDOR_ID=0x1af4
IFINDEX=5
INTERFACE=eth0
net.ifnames=1
So, as you can see, virtio driver did't contain
ID_NET_NAME_ONBOARD or
ID_NET_NAME_SLOT or
ID_NET_NAME_PATH
row, which needed for correct work of 80-net-
All this realize that nic name depend-on nic driver- which system use.
Otherwise, own fuel-qa scripts using hard-coded naming [1]
I propose to add dynamical naming support for fuel-qa (or something other then hardcode)
(We can fetch any needed information from devops driver
like mac for interface, and then find this interface-name on bootstrapped node. ))
(Other soluthion, which will be investigated - possibility to add ID_NET_NAME_MAC like another one name-rule)
[0] https:/
[1] https:/
http://
description: | updated |
tags: | added: fuel-dev-tools fuel-qa tech-debt |
Changed in fuel: | |
status: | New → Triaged |
Changed in fuel: | |
assignee: | nobody → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
milestone: | none → 8.0 |
milestone: | 8.0 → 9.0 |
summary: |
- fuel-qa and dynamical nic naming + [TestImpact] fuel-qa and dynamical nic naming |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
status: | Triaged → Confirmed |
tags: | added: area-qa |
tags: | removed: fuel-qa |
Since we don't use 'virtio' driver for tests (see bug #1433593) and with 'e1000' driver hardcoded interfaces names are always correct, this bug doesn't look as 'High' for me. But since we are going to use fuel-qa for bare-metal testing, we need to implement dynamic NICs naming in 9.0 or next releases.