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

Facter crashes on Windows when a network interface does not have a DHCP server assigned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.0.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 8.1
      Hyper-V Installed
      Virtual Internal Switch Enabled
      Puppet 4.2.0
      Facter 3.0.1

    • Template:
    • Story Points:
      2
    • Sprint:
      Client 2015-07-08, Client 2015-07-22

      Description

      Ethernet adapter vEthernet (intSwitch):
       
         Connection-specific DNS Suffix  . :
         Link-local IPv6 Address . . . . . : fe80::a9d5:2502:635c:344b%48
         Autoconfiguration IPv4 Address. . : 169.254.52.75
         Subnet Mask . . . . . . . . . . . : 255.255.0.0
         Default Gateway . . . . . . . . . :
       
      Ethernet adapter vEthernet (Gigabit Thunderbolt):
       
         Media State . . . . . . . . . . . : Media disconnected
         Connection-specific DNS Suffix  . :
       
      Ethernet adapter Bluetooth Network Connection 2:
       
         Media State . . . . . . . . . . . : Media disconnected
         Connection-specific DNS Suffix  . :
       
      Ethernet adapter Ethernet0:
       
         Connection-specific DNS Suffix  . :
         Link-local IPv6 Address . . . . . : fe80::80df:a15:673c:1ee%18
         Autoconfiguration IPv4 Address. . : 169.254.1.238
         Subnet Mask . . . . . . . . . . . : 255.255.0.0
         Default Gateway . . . . . . . . . :
       
      Tunnel adapter isatap.{B8D5A0F5-1AEA-48F3-8845-1560F5440434}:
       
         Media State . . . . . . . . . . . : Media disconnected
         Connection-specific DNS Suffix  . :
       
      Tunnel adapter Local Area Connection* 5:
       
         Media State . . . . . . . . . . . : Media disconnected
         Connection-specific DNS Suffix  . :
       
      Tunnel adapter isatap.{EFBC5C27-1828-4939-A6D2-0E8E40E6E312}:
       
         Media State . . . . . . . . . . . : Media disconnected
         Connection-specific DNS Suffix  . :
      

      Running facter --debug

      2015-07-01 11:53:59.507174 DEBUG puppetlabs.facter - resolving networking facts.
      2015-07-01 11:53:59.507174 DEBUG puppetlabs.facter - initializing Winsock
      2015-07-01 11:53:59.507174 FATAL puppetlabs.facter - unhandled exception: address to string translation failed (0x2726)
      

      So far reproduced on Windows 8.1 by setting up an internal virtual switch using Hyper-V, and on both Windows 8.1 and Windows 10 by creating a dummy Microsoft KM-TEST Loopback Adapter.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              john.duarte John Duarte
              Reporter:
              travis Travis Fields
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support