Jira (FACT-2946) VLAN interfaces not properly discovered

19 views
Skip to first unread message

Ryan Bethke (Jira)

unread,
Feb 23, 2021, 12:32:02 PM2/23/21
to puppe...@googlegroups.com
Ryan Bethke created an issue
 
Facter / Bug FACT-2946
VLAN interfaces not properly discovered
Issue Type: Bug Bug
Assignee: Unassigned
Components: Facter 4
Created: 2021/02/23 9:31 AM
Priority: Normal Normal
Reporter: Ryan Bethke

In FreeBSD, it's standard practice to specify VLAN interfaces with a period separating the interface and VLAN.  (e.g.  igb1.5 specifies the igb1 network interface VLAN 5).

However, Facter 4 is not picking these up as interfaces, and is instead assigning these attributes to the lo0 interface.

In lib/facter/resolvers/networking.rb

interfaces_data = Hash[*response.split(/^([A-Za-z0-9_]+): /)[1..-1]]

 
adding a literal period "\." to the regex allows these interfaces to be properly identified.

interfaces_data = Hash[*response.split(/^([A-Za-z0-9_\.]+): /)[1..-1]]

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Mar 2, 2021, 6:53:56 PM3/2/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2021-03-17 Triaged tickets

Mihai Buzgau (Jira)

unread,
Mar 2, 2021, 6:53:56 PM3/2/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Facter / Bug FACT-2946
VLAN interfaces not properly discovered
Change By: Mihai Buzgau
Sprint: NW - 2021-03-17

Mihai Buzgau (Jira)

unread,
Mar 2, 2021, 6:53:56 PM3/2/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Night's Watch

Mihai Buzgau (Jira)

unread,
Mar 2, 2021, 6:53:56 PM3/2/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Labels: community

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 7:50:03 AM3/17/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Story Points: 2

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 7:51:04 AM3/17/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: Triaged tickets NW - 2021-03-31

Luchian Nemes (Jira)

unread,
Mar 30, 2021, 11:02:02 AM3/30/21
to puppe...@googlegroups.com
Luchian Nemes assigned an issue to Luchian Nemes
Change By: Luchian Nemes
Assignee: Luchian Nemes

Josh Cooper (Jira)

unread,
Mar 30, 2021, 12:03:04 PM3/30/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: FACT 4.0.53

Mihai Buzgau (Jira)

unread,
Mar 31, 2021, 5:31:03 AM3/31/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2021-03-31 , NW - 2021-04-14

Luchian Nemes (Jira)

unread,
Apr 7, 2021, 4:43:03 AM4/7/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Release Notes: Bug Fix
Release Notes Summary: VLAN interfaces with dot in their name (on operating systems such as FreeBSD) were not being correctly displayed by Facter 4 in the networking fact. This fix allows the default networking resolver to recognize interfaces with dot in their name.
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Claire Cadman (Jira)

unread,
Apr 13, 2021, 9:32:03 AM4/13/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: community doc_reviewed
Reply all
Reply to author
Forward
0 new messages