Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: FACT 3.8.0
-
Fix Version/s: FACT 3.11.4
-
Component/s: None
-
Template:customfield_10700 143680
-
Epic Link:
-
Team:Platform OS
-
Sprint:Platform OS Kanban
-
Release Notes:Bug Fix
-
Release Notes Summary:Facter correctly validates the ip command's output for the ipv6 family. If the ip command's output is invalid (e.g. if it contains ipv4 info.), then Facter ignores it.
Description
ipv6 is disabled but facter is still showing ipv6 facts with ipv4 address
facter debug:
2016-07-22 14:23:28.082752 DEBUG leatherman.execution:88 - executing command: /sbin/ip -6 route show
|
2016-07-22 14:23:28.083535 DEBUG | - default via 10.13.21.1 dev eth0
|
2016-07-22 14:23:28.083599 DEBUG | - 10.13.20.0/24 dev eth0 proto kernel scope link src 10.13.21.85
|
running /sbin/ip -6 route show locally still show ipv4 address in the route table
# /sbin/ip -6 route show
|
default via 10.11.17.1 dev eth0
|
10.11.17.0/24 dev eth0 proto kernel scope link src 10.11.17.78
|