Project

General

Profile

Actions

Bug #24873

closed

interfaces with uppercase characters in their name are not saved

Added by Herwig Bogaert almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

when using facter version >= 3.0, interfaces with uppercase characters are not saved. Root cause is a change in behavior between facter v2 and v3.

facter:

facterversion => 3.6.10
...
macaddress_Ethernet0 => 00:50:56:9b:4f:24
mtu_Ethernet0 => 1500
...
networking => {
  interfaces => {
    Ethernet0 => {
      mac => "00:50:56:9b:4f:25",
      mtu => 1500
    },
    eth0 => {
      mac => "00:50:56:9b:4f:24",
      mtu => 1500,
    },
...

foreman log (note the empty hash for ethernet0 facts):

...
2018-09-10T16:55:13 [D|app|ed4d9] We have following interfaces 'ethernet0, eth0' based on facts
2018-09-10T16:55:13 [D|app|ed4d9] Interface ethernet0 facts: {}
2018-09-10T16:55:13 [D|app|ed4d9] Interface eth0 facts: {"macaddress"=>"00:50:56:9b:4f:24", "mtu"=>1500 }
...
Actions #1

Updated by Herwig Bogaert almost 6 years ago

  • Subject changed from interfaces with uppercase characters in their name is not saved to interfaces with uppercase characters in their name are not saved
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6021 added
Actions #3

Updated by Herwig Bogaert almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Marek Hulán almost 6 years ago

  • Fixed in Releases 1.20.0 added
Actions

Also available in: Atom PDF