Issue #18156 has been updated by Hailee Kenney. Status changed from Unreviewed to Needs More Information Assignee set to John Leach
Since you were experiencing this error in 1.6.5, would it be possible for you to test it again in the newest Facter version (1.7)? A lot of changes and fixes went into this version, and it'd be great if we could first make sure that this issue hasn't already been resolved. I’ve put this ticket’s status into “Needs more Information” and assigned it to you. Please either (a) update it with the information I’ve requested and re-assign it to me if you need more help, or (b) change the status to “Closed” if you were able to resolve the issue on your own. Thanks! ---------------------------------------- Bug #18156: ipaddress6 facts return bad IPs when privacy extensions are enabled https://projects.puppetlabs.com/issues/18156#change-90770 * Author: John Leach * Status: Needs More Information * Priority: High * Assignee: John Leach * Category: * Target version: * Keywords: * Branch: * Affected Facter version: 1.6.5 ---------------------------------------- If IPv6 privacy extensions are enabled (which they are on at least Ubuntu Precise and up) then facter returns incorrect IP addresses for the ipaddress6 facts. When privacy extensions are enabled, several random temporary addresses are added to the machine, which change on reboot: <pre> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:24:19:f0:65:4a brd ff:ff:ff:ff:ff:ff inet 10.240.101.74/30 brd 10.240.101.75 scope global eth0 inet6 2a02:1348:14c:1952:b9ed:198b:474a:a773/64 scope global temporary dynamic valid_lft 86120sec preferred_lft 14120sec inet6 2a02:1348:14c:1952:ad7f:1d47:6e2a:4c4d/64 scope global temporary deprecated dynamic valid_lft 86120sec preferred_lft 0sec inet6 2a02:1348:14c:1952:fc3a:66ce:4b75:23af/64 scope global temporary deprecated dynamic valid_lft 86120sec preferred_lft 0sec inet6 2a02:1348:14c:1952:150b:255e:8eca:854b/64 scope global temporary deprecated dynamic valid_lft 86120sec preferred_lft 0sec inet6 2a02:1348:14c:1952:5953:50:e10c:82a5/64 scope global temporary deprecated dynamic valid_lft 86120sec preferred_lft 0sec inet6 2a02:1348:14c:1952:9b7:5fc5:cee5:a5a4/64 scope global temporary deprecated dynamic valid_lft 86120sec preferred_lft 0sec inet6 2a02:1348:14c:1952:e11d:a331:d82c:8b13/64 scope global temporary deprecated dynamic valid_lft 33513sec preferred_lft 0sec inet6 2a02:1348:14c:1952:24:19ff:fef0:654a/64 scope global dynamic valid_lft 86120sec preferred_lft 14120sec inet6 fe80::24:19ff:fef0:654a/64 scope link valid_lft forever preferred_lft forever </pre> facter is returning: <pre> ipaddress6 => 2a02:1348:14c:1952:ad7f:1d47:6e2a:4c4d ipaddress6_eth0 => 2a02:1348:14c:1952:5953:50:e10c:82a5 </pre> When it should really be returning <code>2a02:1348:14c:1952:24:19ff:fef0:654a</code> which is non-temporary address. I caught this because I was using the ipaddress6 fact in a bind address config statement and it broke after a reboot (as the IP facter gave me had gone). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
