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

Facter does not like next hop flags in ip route output

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • FACT 3.1.6
    • FACT 3.4.0
    • None
    • 1
    • Client 2016-07-13 (HA, 1.5.3), Client 2016-07-27, Client 2016-08-10
    • Bug Fix
    • Facter now constructs IP route information correctly when there are additonal flags in the ip route

    Description

      On Ubuntu Xenial 16.04 when running Facter I'm greeted with:

      2016-04-28 18:42:21.333707 WARN  puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
      Warning: Facter: Could not process routing table entry: Expected a destination followed by key/value pairs, got 'default via 188.166.0.1 dev eth0 onlink'
      

      root@ubuntu-512mb-ams3-01:~# ip -6 r s
      fe80::/64 dev eth0  proto kernel  metric 256  pref medium
      root@ubuntu-512mb-ams3-01:~# ip r s
      default via 188.166.0.1 dev eth0 onlink
      10.18.0.0/16 dev eth0  proto kernel  scope link  src 10.18.0.5
      188.166.0.0/18 dev eth0  proto kernel  scope link  src 188.166.11.80
      

      This same thing seems to work fine on Ubuntu 14.04

      Attachments

        Issue Links

          Activity

            People

              phong Phong Ly
              daenney Daniele Sluijters
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support