Support for alias interfaces

Bug #1763672 reported by Adam Huffman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-net-config
New
Undecided
Unassigned

Bug Description

I'm testing TripleO on some temporary nodes, until my real hardware arrives.

There is currently only one NIC available on each node, so I've created alias interfaces.

It looks like os-net-config does not support these, because it makes a simple search for /sys/class/net/<interface name> rather than the parent interface name.

E.g.

 "[2018/04/13 11:16:02 AM] [INFO] Using config file at: /etc/os-net-config/config.json",
                "[2018/04/13 11:16:02 AM] [INFO] Ifcfg net config provider created.",
                "[2018/04/13 11:16:02 AM] [INFO] Not using any mapping file.",
                "[2018/04/13 11:16:03 AM] [INFO] Finding active nics",
                "[2018/04/13 11:16:03 AM] [INFO] lo is not an active nic",
                "[2018/04/13 11:16:03 AM] [INFO] em1 is an embedded active nic",
                "[2018/04/13 11:16:03 AM] [INFO] docker0 is not an active nic",
                "[2018/04/13 11:16:03 AM] [INFO] No DPDK mapping available in path (/var/lib/os-net-config/dpdk_mapping.yaml)",
                "[2018/04/13 11:16:03 AM] [INFO] Active nics are ['em1']",
                "[2018/04/13 11:16:03 AM] [INFO] nic1 mapped to: em1",
                "[2018/04/13 11:16:03 AM] [INFO] adding bridge: br-ctlplane",
                "[2018/04/13 11:16:03 AM] [ERROR] Unable to read mac address: em1:1",

where I have used parameter_defaults in the undercloud deploy command invocation to set the interface name to em1:1

Revision history for this message
Adam Huffman (adam-huffman) wrote :

The version in use is os-net-config-8.4.1-0.20180328025607.08a0f08.el7.centos.noarch

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.