Jira (FACT-1762) valid networking facts in 2.x get ignored in 3.x

3 views
Skip to first unread message

Branan Riley (JIRA)

unread,
Sep 26, 2017, 1:40:02 PM9/26/17
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Facter / Bug FACT-1762
valid networking facts in 2.x get ignored in 3.x
Change By: Branan Riley
Certain hiera entries which rely on calling Facter to fill values in PE 3.8 fail miserably in PE 4.8.1.

We traced it to a behavior in Facter. Specifically, we found that calling the fact key of "ipaddress_eth0_1" used to return a good value in 3.8, but now returns a blank in puppet
-agent  4.8.1. However, I have discovered that calling ipaddress_eth0:1 in 4.8.1 does work. I was not aware of this change until one of my teams and I found out the hard way. 

To test locally, one only needs to do this (as root, on any Linux server with bonding set up):

# facter ipaddress_bond0_1 
(this should return a blank in 4.8.1, yet return the ip address value of bond0:1 in 3.8)

# facter ipaddress_bond0:1
(this should return an ip address that corresponds to bond0:1, and this is the workaround we put into the hiera .yaml file.)

(There may be documentation somewhere that already describes this, but I was unable to find it).
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Branan Riley (JIRA)

unread,
Sep 26, 2017, 1:40:02 PM9/26/17
to puppe...@googlegroups.com
Branan Riley updated an issue
Certain hiera entries which rely on calling Facter to fill values in PE 3.8 fail miserably in PE 4.8.1.

We traced it to a behavior in Facter. Specifically, we found that calling the fact key of "ipaddress_eth0_1" used to return a good value in 3.8, but now returns a blank in  puppet-agent  4.8.1. However, I have discovered that calling ipaddress_eth0:1 in 4.8.1 does work. I was not aware of this change until one of my teams and I found out the hard way. 


To test locally, one only needs to do this (as root, on any Linux server with bonding set up):

# facter ipaddress_bond0_1 
(this should return a blank in 4.8.1, yet return the ip address value of bond0:1 in 3.8)

# facter ipaddress_bond0:1
(this should return an ip address that corresponds to bond0:1, and this is the workaround we put into the hiera .yaml file.)

(There may be documentation somewhere that already describes this, but I was unable to find it).

Branan Riley (JIRA)

unread,
Sep 26, 2017, 1:40:02 PM9/26/17
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Summary: valid networking facts in  3  2 .x get ignored in  4  3 .x

Branan Riley (JIRA)

unread,
Sep 26, 2017, 1:41:02 PM9/26/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
Sep 26, 2017, 1:41:03 PM9/26/17
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Sprint: Platform OS  Grooming  Ready for Eng.

Branan Riley (JIRA)

unread,
Jan 3, 2018, 6:37:04 PM1/3/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Sprint: Platform OS  Ready for Eng.  Grooming/Triage
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Branan Riley (JIRA)

unread,
Mar 21, 2018, 7:25:03 PM3/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: linux networking triaged
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jake Yip (JIRA)

unread,
Apr 13, 2018, 2:50:02 AM4/13/18
to puppe...@googlegroups.com
Jake Yip commented on Bug FACT-1762
 
Re: valid networking facts in 2.x get ignored in 3.x

In addition to alias interfaces, vlan interfaces that were munged in facter 2 are also broken in facter 3

On a Linux box, the interface name is eth0.100

facter 2: ipaddress_eth0_100

facter 3: ipaddress_eth0.100

I'm wondering if this is fixed as a by-product of fixing this bug, or should this be another bug? I can't find a bug report pointing this vlan interfaces specifically.

Geoff Nichols (JIRA)

unread,
May 15, 2018, 5:15:03 PM5/15/18
to puppe...@googlegroups.com
Geoff Nichols updated an issue
 
Change By: Geoff Nichols
Labels: breaking linux networking triaged

Larissa Lane (JIRA)

unread,
May 15, 2018, 5:16:03 PM5/15/18
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
May 15, 2018, 5:16:05 PM5/15/18
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Change By: Branan Riley
Sprint: Platform OS Grooming/Triage

Garrett Guillotte (JIRA)

unread,
May 16, 2018, 1:16:04 PM5/16/18
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 21, 2022, 2:13:02 PM4/21/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-1762
 
Re: valid networking facts in 2.x get ignored in 3.x

Thank you for reporting this issue. While we agree this is likely an improvement, we do not anticipate addressing this any time soon due to other issues demanding precedence. As such, this ticket will be closed as “Won’t Do”. We may revisit this at a later time, and if so, will re-open this ticket.

If you are interested in submitting a patch to implement this issue, please open a pull request and re-open this ticket.

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages