Jira (FACT-2871) Regression: interfaces without an ipaddress assigned are not anymore reported

1 view
Skip to first unread message

Peter Meier (Jira)

unread,
Nov 20, 2020, 5:15:03 PM11/20/20
to puppe...@googlegroups.com
Peter Meier created an issue
 
Facter / Bug FACT-2871
Regression: interfaces without an ipaddress assigned are not anymore reported
Issue Type: Bug Bug
Assignee: Unassigned
Components: Facter 4
Created: 2020/11/20 2:14 PM
Priority: Normal Normal
Reporter: Peter Meier

In puppet-agent 7.0.0 interfaces without an ipaddress are not anymore reported in $facts['interfaces'] and also in no other fact.

 

Facter should report all interfaces somewhere.

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

Peter Meier (Jira)

unread,
Nov 20, 2020, 5:21:02 PM11/20/20
to puppe...@googlegroups.com
Peter Meier commented on Bug FACT-2871
 
Re: Regression: interfaces without an ipaddress assigned are not anymore reported

irb$ File.readlines('/proc/net/dev').reject{|l| l=~/\|/ }.map{|l| l.split(':',2).first.strip }.sort.join(',')
=> "br0,br1,eno1,enp3s0f1,lo,virbr0,virbr0-nic,vnet0,vnet1,vnet10,vnet11,vnet12,vnet13,vnet14,vnet15,vnet17,vnet2,vnet3,vnet4,vnet5,vnet6,vnet7,vnet8,vnet9"

vs.

 # puppet facts show interfaces
{
  "interfaces": "br1,lo,virbr0"
}

 

Peter Meier (Jira)

unread,
Nov 20, 2020, 6:31:03 PM11/20/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Nov 23, 2020, 3:03:03 AM11/23/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11
Sub-team: ghost
Team: Night's Watch

Oana Tanasoiu (Jira)

unread,
Nov 23, 2020, 12:43:03 PM11/23/20
to puppe...@googlegroups.com

Oana Tanasoiu (Jira)

unread,
Nov 24, 2020, 9:22:02 AM11/24/20
to puppe...@googlegroups.com
Oana Tanasoiu assigned an issue to Unassigned

Bogdan Irimie (Jira)

unread,
Nov 25, 2020, 9:04:06 AM11/25/20
to puppe...@googlegroups.com

Andrei Filipovici (Jira)

unread,
Nov 27, 2020, 12:52:03 PM11/27/20
to puppe...@googlegroups.com
Andrei Filipovici commented on Bug FACT-2871
 
Re: Regression: interfaces without an ipaddress assigned are not anymore reported

Peter Meier, we think the problem is that to get the interfaces' info, we're using the command 'ip -o address'.
This doesn't give us details about the inactive interfaces. To solve this, we'll use the 'ip a' command.

Bogdan Irimie (Jira)

unread,
Dec 2, 2020, 2:40:04 AM12/2/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Dec 2, 2020, 2:45:04 AM12/2/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ready for triage ghost- 2 .12

Josh Cooper (Jira)

unread,
Dec 2, 2020, 1:00:05 PM12/2/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 2, 2020, 1:02:04 PM12/2/20
to puppe...@googlegroups.com

Kenyon Ralph (Jira)

unread,
Dec 8, 2020, 3:45:03 AM12/8/20
to puppe...@googlegroups.com
Kenyon Ralph commented on Bug FACT-2871
 
Re: Regression: interfaces without an ipaddress assigned are not anymore reported

Andrei Filipovici don't forget about the -json option like ip -json addr show to get nice JSON for easy and parsing.

Bogdan Irimie (Jira)

unread,
Dec 8, 2020, 3:52:03 AM12/8/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages