Project

General

Profile

Bug #24873

interfaces with uppercase characters in their name are not saved

Added by Herwig Bogaert 3 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
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 }
...

Associated revisions

Revision 1e48b110 (diff)
Added by Herwig Bogaert 2 months ago

Fixes #24744,#24873 - facter 3.x initial support

History

#1 Updated by Herwig Bogaert 3 months 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

#2 Updated by The Foreman Bot 3 months ago

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

#3 Updated by Herwig Bogaert 2 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Marek Hulán 2 months ago

  • Fixed in Releases 1.20.0 added

Also available in: Atom PDF