Jira (FACT-1916) facter fails to parse routing table

12 views
Skip to first unread message

john (JIRA)

unread,
May 2, 2019, 9:18:02 AM5/2/19
to puppe...@googlegroups.com
john created an issue
 
Facter / Bug FACT-1916
facter fails to parse routing table
Issue Type: Bug Bug
Affects Versions: FACT 3.13.1
Assignee: Unassigned
Created: 2019/05/02 6:17 AM
Priority: Normal Normal
Reporter: john

The facter module fails to parse entries from `ip show route` if the line has an even number of words but is not preceded with one of the known route types. The restriction to have an even number of words was added as part of FACT-1282 however its not clear from the bug report or the pull request why routes preceded with a route type should have an even number of words however normal entries don't.

It seems that an assumption was made which assumed all entries emitted by `ip show route` are key value pairs however this is not the case as show by FACT-1394 and my current case which has an entry as follows (notice the option `mtu lock 1450`)

192.168.250.22 via 192.168.1.1 dev enx0050b6a21be3 mtu lock 1450

We are also tracking this issue via https://phabricator.wikimedia.org/T222356

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

john (JIRA)

unread,
May 2, 2019, 10:16:15 AM5/2/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
May 14, 2019, 9:36:03 AM5/14/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Sprint: PR - Triage

Mihai Buzgau (JIRA)

unread,
May 14, 2019, 9:36:03 AM5/14/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Puppet Romania

Mihai Buzgau (JIRA)

unread,
Jun 12, 2019, 5:06:03 AM6/12/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Story Points: 3

Mihai Buzgau (JIRA)

unread,
Jun 12, 2019, 5:06:03 AM6/12/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage 2019-06-25

Gabriel Nagy (JIRA)

unread,
Jun 20, 2019, 10:48:04 AM6/20/19
to puppe...@googlegroups.com
Gabriel Nagy assigned an issue to Gabriel Nagy
Change By: Gabriel Nagy
Assignee: Gabriel Nagy

Mihai Buzgau (JIRA)

unread,
Jun 26, 2019, 9:04:09 AM6/26/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-06-25 , PR - 2019-07-10

Gheorghe Popescu (JIRA)

unread,
Jul 3, 2019, 8:37:03 AM7/3/19
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Fix Version/s: FACT 3.13.z
Fix Version/s: FACT 3.12.z
Fix Version/s: FACT 3.11.z
Fix Version/s: FACT 3.13.3
Fix Version/s: FACT 3.12.5
Fix Version/s: FACT 3.11.9

Jean Bond (JIRA)

unread,
Jul 15, 2019, 4:33:03 PM7/15/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added

Gabriel Nagy (JIRA)

unread,
Jul 18, 2019, 3:47:03 AM7/18/19
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.14.2
Reply all
Reply to author
Forward
0 new messages