Jira (FACT-2963) Facter 4 outputs networking facts differently on AIX

21 views
Skip to first unread message

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 8:53:03 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes created an issue
 
Facter / Bug FACT-2963
Facter 4 outputs networking facts differently on AIX
Issue Type: Bug Bug
Affects Versions: FACT 4.0.44
Assignee: Unassigned
Created: 2021/03/12 5:52 AM
Priority: Normal Normal
Reporter: Luchian Nemes
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 8:56:02 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Running *puppet facts diff* on AIX 7.1 and AIX 7.2 gives the following output:

 
{code:java}
{
  "network6_lo0": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.bindings6.0.network": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.network6": {
    "new_value": "::1",
    "old_value": "::"
  }
}
{code}
More info: [https://docs.google.com/document/d/1QlX_mv17fZ4eVZa9zHxvTRVJ5sq88aj3GjUC6lVFiz0/edit#heading=h.gnnvlmulav1v]

 

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 8:57:03 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Running *puppet facts diff* on AIX 7.1 and AIX 7.2 gives the following output:

 
{code: java json }

{
  "network6_lo0": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.bindings6.0.network": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.network6": {
    "new_value": "::1",
    "old_value": "::"
  }
}
{code}
More info: [https://docs.google.com/document/d/1QlX_mv17fZ4eVZa9zHxvTRVJ5sq88aj3GjUC6lVFiz0/edit#heading=h.gnnvlmulav1v]

 

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 8:57:03 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Running *puppet facts diff* on AIX 7.1 and AIX 7.2 gives the following output:

 
{code:json}

{
  "network6_lo0": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.bindings6.0.network": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.network6": {
    "new_value": "::1",
    "old_value": "::"
  }
}
{code}
More info: [https://docs.google.com/document/d/1QlX_mv17fZ4eVZa9zHxvTRVJ5sq88aj3GjUC6lVFiz0/edit#heading=h.gnnvlmulav1v]

 

Sebastian Miclea (Jira)

unread,
Mar 16, 2021, 9:19:02 AM3/16/21
to puppe...@googlegroups.com
Sebastian Miclea commented on Bug FACT-2963
 
Re: Facter 4 outputs networking facts differently on AIX

In the IPv6 short notation `::` represents unspecified and `::1` represents loopback ip.
We've encountered this bug in Facter3 when implementing FACT-2878

Sebastian Miclea (Jira)

unread,
Mar 16, 2021, 9:33:02 AM3/16/21
to puppe...@googlegroups.com

This output is consistent with the other resolvers implemented for MacOs an Linux.
For Solaris we've created FACT-2981 to address the inconsistency.

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 2:13:04 AM3/17/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 1, 2021, 12:41:03 PM4/1/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-2963
 
Re: Facter 4 outputs networking facts differently on AIX

Since AIX users will see this as a difference when running puppet facts diff, can we add this to as a known issue? Claire Cadman

Are there plans to fix Facter 3.x so the difference goes away?

Claire Cadman (Jira)

unread,
Apr 16, 2021, 5:23:02 AM4/16/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
 
Change By: Claire Cadman
Labels: doc_reviewed known-issue-added
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Claire Cadman (Jira)

unread,
Apr 16, 2021, 5:23:02 AM4/16/21
to puppe...@googlegroups.com

Gheorghe Popescu (Jira)

unread,
Apr 16, 2021, 5:38:02 AM4/16/21
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Affects Version/s: FACT 4.0.44

Gheorghe Popescu (Jira)

unread,
Apr 16, 2021, 5:40:02 AM4/16/21
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Facter 3 does not correctly detect IPv6 loopback ip on AIX.


Running *puppet facts diff* on AIX 7.1 and AIX 7.2 gives the following output:
{code:json}
{
  "network6_lo0": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.bindings6.0.network": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.network6": {
    "new_value": "::1",
    "old_value": "::"
  }
}
{code}

More info: [https://docs.google.com/document/d/1QlX_mv17fZ4eVZa9zHxvTRVJ5sq88aj3GjUC6lVFiz0/edit#heading=h.gnnvlmulav1v]

 

Gheorghe Popescu (Jira)

unread,
Apr 16, 2021, 5:41:02 AM4/16/21
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Facter 3 does not correctly detect IPv6 loopback ip on AIX.


Running
This was discovered when running *puppet facts diff* on AIX 7.1 and AIX 7.2 gives the following output:

{code:json}
{
  "network6_lo0": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.bindings6.0.network": {
    "new_value": "::1",
    "old_value": "::"
  },
  "networking.interfaces.lo0.network6": {
    "new_value": "::1",
    "old_value": "::"
  }
}
{code} 
Reply all
Reply to author
Forward
0 new messages