Hard-coded interface names (ethX) is using in fuel-main code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Albert Syriy |
Bug Description
The hard-coded interface names are using in fuel-main code (like eth0, eth1, ... etc).
Actually interface name could be a different from ethX and different naming schema could be used.
CentOS 7.0 using the new naming network interface schema.
==== Start quotation ====
Traditionally, network interfaces in Linux are enumerated as eth[0123…], but these names do not necessarily correspond to actual labels on the chassis. Modern server platforms with multiple network adapters can encounter non-deterministic and counter-intuitive naming of these interfaces. This affects both network adapters embedded on the motherboard (Lan-on-
By default, systemd will name interfaces using the following policy to apply the supported naming schemes:
Scheme 1: Names incorporating Firmware or BIOS provided index numbers for on-board devices (example: eno1), are applied if that information from the firmware or BIOS is applicable and available, else falling back to scheme 2.
Scheme 2: Names incorporating Firmware or BIOS provided PCI Express hotplug slot index numbers (example: ens1) are applied if that information from the firmware or BIOS is applicable and available, else falling back to scheme 3.
Scheme 3: Names incorporating physical location of the connector of the hardware (example: enp2s0), are applied if applicable, else falling directly back to scheme 5 in all other cases.
Scheme 4: Names incorporating interface's MAC address (example: enx78e7d1ea46da), is not used by default, but is available if the user chooses.
Scheme 5: The traditional unpredictable kernel naming scheme, is used if all other methods fail (example: eth0).
======= End quotation =============
The hard-coding name schema should be changed in fuel-main taking into account the information above.
The file with hard-coded network interfaces names in fuel-main is attached.
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: area-linux |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/223939
Review: https:/