Jira (FACT-2940) puppet facts diff shows inconsistent networking values on macOS

10 views
Skip to first unread message

Vadym Chepkov (Jira)

unread,
Feb 16, 2021, 1:32:04 PM2/16/21
to puppe...@googlegroups.com
Vadym Chepkov created an issue
 
Facter / Bug FACT-2940
puppet facts diff shows inconsistent networking values on macOS
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/02/16 10:31 AM
Priority: Normal Normal
Reporter: Vadym Chepkov

Running `puppet facts diff` command produced the following output:

$ puppet facts diff
{"network_vboxnet0":{"new_value":"192.168.50.0","old_value":"192.168.50.1"},"networking.interfaces.vboxnet0.bindings.0.network":{"new_value":"192.168.50.0","old_value":"192.168.50.1"},"networking.interfaces.vboxnet0.network":{"new_value":"192.168.50.0","old_value":"192.168.50.1"}}

puppet version 6.21.0
macOS 10.15.7

$ facter --show-legacy|grep network
network => 192.168.1.0
network6 => fe80::
network6_awdl0 => fe80::
network6_en0 => fe80::
network6_llw0 => fe80::
network6_lo0 => ::1
network6_utun0 => fe80::
network6_utun1 => fe80::
network_en0 => 192.168.1.0
network_lo0 => 127.0.0.0
network_utun2 => 10.210.6.0
network_vboxnet0 => 192.168.50.1

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

Josh Cooper (Jira)

unread,
Feb 16, 2021, 1:36:03 PM2/16/21
to puppe...@googlegroups.com

Gheorghe Popescu (Jira)

unread,
Feb 17, 2021, 6:22:03 AM2/17/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Feb 17, 2021, 6:22:04 AM2/17/21
to puppe...@googlegroups.com

Dorin Pleava (Jira)

unread,
Feb 23, 2021, 3:08:04 AM2/23/21
to puppe...@googlegroups.com

Dorin Pleava (Jira)

unread,
Mar 1, 2021, 5:35:01 AM3/1/21
to puppe...@googlegroups.com
Dorin Pleava commented on Bug FACT-2940
 
Re: puppet facts diff shows inconsistent networking values on macOS

I managed to reproduce but only when connected to a VPN.

Facter 4 seems to work correctly as it relies on the `ifconfig` output.

Facter 3 uses `route -n get default` to get the primary interface, and then runs `ipconfig getoption utun2 server_identifier` to try to get the dhcp server. For some reason when running ipconfig getoption on interfaces that are used for VPN connection nothing is outputted.

Created https://tickets.puppetlabs.com/browse/FACT-2951 to keep track of the issue.

Reply all
Reply to author
Forward
0 new messages