Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1319

ipaddress retruns now 127.0.0.2 since facter 2.4.5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: FACT 2.4.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      Hello,

      The new facter is bringing a regression on my VPS (Ubuntu 12.04)
      Instead of setting ipaddress to the external IP, it set it to 127.0.0.2.

      +Here are the ipaddress related facts with v2.4.5+:
      ipaddress => 127.0.0.2
      ipaddress_lo => 127.0.0.1
      ipaddress_venet0 => 127.0.0.2
      ipaddress_venet0_0 => ww.xxx.yy.zzz <= this is the real IP address that was returned with facter 2.4.4
       
      +here is the content of /proc/net/route file+:
      Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
      venet0	0025BB25	00000000	0001	0	0	0	00FFFFFF	0	0	0                                                                             
      venet0	00000000	00000000	0001	0	0	0	00000000	0	0	0         
       
      +The output of ifconfig+:
      lo        Link encap:Local Loopback  
                inet addr:127.0.0.1  Mask:255.0.0.0
                UP LOOPBACK RUNNING  MTU:65536  Metric:1
                RX packets:638107 errors:0 dropped:0 overruns:0 frame:0
                TX packets:638107 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0 
                RX bytes:82856635 (82.8 MB)  TX bytes:82856635 (82.8 MB)
       
      venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
                UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
                RX packets:12664381 errors:0 dropped:0 overruns:0 frame:0
                TX packets:14917964 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0 
                RX bytes:6388359965 (6.3 GB)  TX bytes:13581885278 (13.5 GB)
       
      venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                inet addr:ww.xxx.yy.zzz  P-t-P:ww.xxx.yy.zzz  Bcast:ww.xxx.yy.255  Mask:255.255.255.0
                UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
      

      the output of route:

      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      ww.xxx.yy.0     *               255.255.255.0   U     0      0        0 venet0
      default         *               0.0.0.0         U     0      0        0 venet0
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  doc75 Guillaume VIRLET
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support