Project

General

Profile

Bug #13000

Networking snippet creating config files with wrong device name for alias and vlan interfaces

Added by Sachin Ghai about 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

I was trying to test the new networking layout and provision a rhel7.2 host with one primary and one provisioning interface. Primary interface is defined on static subnet(192.168.110.x). So I created alias and vlan interfaces on same subnet. Host was provisioned successfully but when I checked the interfaces and found only eth1 and eth0.

Later, I checked the config files and looks like networking snippet is creating config files with incorrect device name like:
ifcfg-:0 (for alias interface)
and ifcfg-.1(for vlan)

Please see the attached screenshot that shows the config files with incorrect DEVICE name. Also ENC output .

alias_vlan_nic.png View alias_vlan_nic.png 40 KB Sachin Ghai, 01/05/2016 08:29 AM
interface_yml.txt interface_yml.txt 1.5 KB Sachin Ghai, 01/05/2016 08:32 AM
Alias vlan nic

Associated revisions

Revision 673a05b3 (diff)
Added by Marek Hulán almost 5 years ago

Fixes #13000 - use inheriting_mac to support virtual interfaces

closes GH-251

History

#1 Updated by Sachin Ghai about 5 years ago

Note: I'm using a month old build.
foreman-1.11.0-0.develop.201512091815git0e9b35e.el7.noarch

#2 Updated by Marek Hulán almost 5 years ago

  • Category changed from Network to Templates
  • Status changed from New to Assigned
  • Assignee set to Marek Hulán

#3 Updated by Marek Hulán almost 5 years ago

  • Bugzilla link set to 1319630

#4 Updated by Marek Hulán almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/251 added

#5 Updated by Marek Hulán almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF