Why does Red Hat Enterprise Linux 7 anaconda not create physical parent network interface file if it was installed with trunked child interface ?

Solution Verified - Updated -

Issue

  • Let's say if the interface available in the system is named as eno3 and we are creating a vlan interface with id 303 on top of that on anaconda command line, the interface config file /etc/sysconfig/network-scripts/ifcfg-eno3.303 gets created but not the file /etc/sysconfig/network-scripts/ifcfg-eno3.
  • This doesn't stop the installation, but when tried installing Red Hat Enterprise Virtualization on such hardware, that fails with error as follows.
IOError: [Errno 2] No such file or directory: '/etc/sysconfig/network-scripts/ifcfg-eno3'
  • And simply, following thing resolves that problem.
# touch /etc/sysconfig/network-scripts/ifcfg-eno3
  • Anaconda should create both the files i.e. ifcfg-eno3 as well as ifcfg-eno3.303 even if installation doesn't fail, because having this file created makes RHEV installation error free at least for this config.

Environment

  • Red Hat Enterprise Linux 7.x
  • Red Hat Enterprise Virtualization

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content