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

Advanced Network Configuration Results In No "ipaddress" Facts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: FACT 2.4.3
    • Fix Version/s: None
    • Component/s: PE
    • Labels:
      None
    • Environment:

      CentOS 7
      PE 3.8.0

    • Template:

      Description

      My CentOS 7 server is a PE client. The server is a KVM host, which yields some complex network configuration. On this host neither the "ipaddress" nor the "ipaddress_<interface>" facts are getting populated.

      Output of "ip addr":

      $ ip addr
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
      2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000
      link/ether d0:50:99:12:e1:79 brd ff:ff:ff:ff:ff:ff
      3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
      link/ether d0:50:99:12:e1:79 brd ff:ff:ff:ff:ff:ff
      inet 192.168.139.1/24 brd 192.168.139.255 scope global br0
      valid_lft forever preferred_lft forever
      inet6 fe80::d250:99ff:fe12:e179/64 scope link
      valid_lft forever preferred_lft forever
      4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
      link/ether 52:54:00:be:ef:49 brd ff:ff:ff:ff:ff:ff
      inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
      valid_lft forever preferred_lft forever
      5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500
      link/ether 52:54:00:be:ef:49 brd ff:ff:ff:ff:ff:ff
      20: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:6e:da:0b brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fe6e:da0b/64 scope link
      valid_lft forever preferred_lft forever
      21: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:e9:c8:16 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fee9:c816/64 scope link
      valid_lft forever preferred_lft forever
      22: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:66:e2:67 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fe66:e267/64 scope link
      valid_lft forever preferred_lft forever
      23: vnet4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:b4:19:5d brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:feb4:195d/64 scope link
      valid_lft forever preferred_lft forever
      24: vnet6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:cc:8b:b1 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fecc:8bb1/64 scope link
      valid_lft forever preferred_lft forever
      25: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:21:74:ed brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fe21:74ed/64 scope link
      valid_lft forever preferred_lft forever
      26: vnet5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:04:d2:84 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fe04:d284/64 scope link
      valid_lft forever preferred_lft forever
      29: vnet7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500
      link/ether fe:54:00:08:ac:f8 brd ff:ff:ff:ff:ff:ff
      inet6 fe80::fc54:ff:fe08:acf8/64 scope link
      valid_lft forever preferred_lft forever

      Output of "facter -p":

      architecture => x86_64
      augeasversion => 1.3.0
      bios_release_date => 07/11/2014
      bios_vendor => American Megatrends Inc.
      bios_version => P2.30
      blockdevice_sda_model => 3200
      blockdevice_sda_size => 203928109056
      blockdevice_sda_vendor => Maxtor
      blockdevice_sdb_model => 3200BEV External
      blockdevice_sdb_size => 320072933376
      blockdevice_sdb_vendor => WD
      blockdevice_sdc_model => WDC WD30EFRX-68E
      blockdevice_sdc_size => 3000592982016
      blockdevice_sdc_vendor => ATA
      blockdevice_sdd_model => WDC WD30EFRX-68E
      blockdevice_sdd_size => 3000592982016
      blockdevice_sdd_vendor => ATA
      blockdevice_sde_model => WDC WD30EFRX-68E
      blockdevice_sde_size => 3000592982016
      blockdevice_sde_vendor => ATA
      blockdevice_sdf_model => WDC WD30EFRX-68E
      blockdevice_sdf_size => 3000592982016
      blockdevice_sdf_vendor => ATA
      blockdevice_sdg_model => WDC WD40EFRX-68W
      blockdevice_sdg_size => 4000787030016
      blockdevice_sdg_vendor => ATA
      blockdevice_sdh_model => WDC WD40EFRX-68W
      blockdevice_sdh_size => 4000787030016
      blockdevice_sdh_vendor => ATA
      blockdevice_sr0_model => DVD-ROM GDRH20N
      blockdevice_sr0_size => 1073741312
      blockdevice_sr0_vendor => HL-DT-ST
      blockdevices => sda,sdb,sdc,sdd,sde,sdf,sdg,sdh,sr0
      boardmanufacturer => ASRock
      boardproductname => Z87 Pro4
      boardserialnumber => M80-42015300426
      custom_auth_conf => false
      default_gateway => 192.168.139.254
      default_gateway_interface => br0
      domain => local
      facterversion => 2.4.3
      filesystems => ext2,ext3,ext4,xfs
      fqdn => tallest.local
      gid => root
      hardwareisa => x86_64
      hardwaremodel => x86_64
      hostname => tallest
      id => root
      interfaces =>
      is_pe => true
      is_virtual => false
      kernel => Linux
      kernelmajversion => 3.10
      kernelrelease => 3.10.0-229.1.2.el7.x86_64
      kernelversion => 3.10.0
      manufacturer => To Be Filled By O.E.M.
      memoryfree => 11.40 GB
      memoryfree_mb => 11670.06
      memorysize => 31.16 GB
      memorysize_mb => 31903.00
      operatingsystem => CentOS
      operatingsystemmajrelease => 7
      operatingsystemrelease => 7.1.1503
      os => {"name"=>"CentOS", "family"=>"RedHat", "release"=>{"major"=>"7", "minor"=>"1", "full"=>"7.1.1503"}}
      osfamily => RedHat
      partitions => {"sda1"=>

      {"uuid"=>"3aa49fdc-edc4-4ea0-84ba-f025faeb5574", "size"=>"398295040", "mount"=>"/mnt/grey", "label"=>"grey", "filesystem"=>"ext4"}

      , "sdb1"=>

      {"uuid"=>"1e9089d5-163d-48e5-88a2-7286d5bc8954", "size"=>"625140400", "mount"=>"/mnt/pink", "label"=>"pink", "filesystem"=>"ext4"}

      , "sdc1"=>

      {"size"=>"2048"}, "sdc2"=>{"size"=>"1048576", "label"=>"tallest.local:0", "filesystem"=>"linux_raid_member"}, "sdc3"=>{"size"=>"5859479552", "label"=>"tallest.local:1", "filesystem"=>"linux_raid_member"}, "sdd1"=>{"size"=>"2048"}

      , "sdd2"=>

      {"size"=>"1048576", "label"=>"tallest.local:0", "filesystem"=>"linux_raid_member"}

      , "sdd3"=>

      {"size"=>"5859479552", "label"=>"tallest.local:1", "filesystem"=>"linux_raid_member"}

      , "sde1"=>

      {"size"=>"2048"}, "sde2"=>{"size"=>"1048576", "label"=>"tallest.local:0", "filesystem"=>"linux_raid_member"}, "sde3"=>{"size"=>"5859479552", "label"=>"tallest.local:1", "filesystem"=>"linux_raid_member"}, "sdf1"=>{"size"=>"2048"}

      , "sdf2"=>

      {"size"=>"1048576", "label"=>"tallest.local:0", "filesystem"=>"linux_raid_member"}

      , "sdf3"=>

      {"size"=>"5859479552", "label"=>"tallest.local:1", "filesystem"=>"linux_raid_member"}

      , "sdg1"=>

      {"uuid"=>"c29a7c8e-a222-4514-a235-3cf83cc18eb2", "size"=>"7814033408", "mount"=>"/4t1", "label"=>"4t1", "filesystem"=>"xfs"}

      , "sdh1"=>{"uuid"=>"8b3d8933-b3ba-45a3-bb35-24f4b07098a4", "size"=>"7814033408", "mount"=>"/4t2", "label"=>"4t2", "filesystem"=>"xfs"}}
      path => /sbin:/bin:/usr/sbin:/usr/bin
      pe_build => 3.8.0
      pe_concat_basedir => /var/opt/lib/pe-puppet/pe_concat
      pe_major_version => 3
      pe_minor_version => 8
      pe_patch_version => 0
      pe_version => 3.8.0
      physicalprocessorcount => 1
      platform_symlink_writable => true
      platform_tag => el-7-x86_64
      processor0 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor1 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor2 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor3 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor4 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor5 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor6 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processor7 => Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz
      processorcount => 8
      processors =>

      {"models"=>["Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz", "Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz"], "count"=>8, "physicalcount"=>1}

      productname => To Be Filled By O.E.M.
      ps => ps -ef
      puppet_vardir => /var/opt/lib/pe-puppet
      puppetversion => 3.8.0 (Puppet Enterprise 3.8.0)
      root_home => /root
      rubyplatform => x86_64-linux
      rubysitedir => /opt/puppet/lib/ruby/site_ruby/1.9.1
      rubyversion => 1.9.3
      selinux => true
      selinux_config_mode => enforcing
      selinux_config_policy => targeted
      selinux_current_mode => enforcing
      selinux_enforced => true
      selinux_policyversion => 28
      serialnumber => To Be Filled By O.E.M.
      sshecdsakey => AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ9efPjf7iP2ey6PyiYZq96UBrGOB0YjVjvS0oXNpvK+zkmG/faidfY0prcAxqS0+LBJNJSX/QCmVmyNTPuzOY8=
      sshed25519key => AAAAC3NzaC1lZDI1NTE5AAAAIOXT+PjTCZfyg6oEb7TG8cllJJIz94yvndT2E51Y+6Tu
      sshfp_ecdsa => SSHFP 3 1 9d74178efc948e66d099e4ce327e031014dd9caf
      SSHFP 3 2 4e232851c94324f1c49df44b546b497e93c5240a97d64ce896577afc33777ce1
      sshfp_ed25519 => SSHFP 4 1 3165bd3acf4e08745f3c15fb77f5028fc5aeef5a
      SSHFP 4 2 5743c0e98f5db5547ffdb73b007784f385b9053de64d56bae3916eaa6036bf2e
      sshfp_rsa => SSHFP 1 1 8dc8e0a310eaea2610c7f194acb173f2c957ffca
      SSHFP 1 2 7cb297ee7f37675f300a74504b8e9477bd5a61f37c468d7f8938e6f556491513
      sshrsakey => AAAAB3NzaC1yc2EAAAADAQABAAABAQC5eeWKrRXiSqP+UMbCI2J5sL6ngVbTlz70S4GApe80PFM8QbJtIQoG4VdRe58C1Xfj/8pjMPcc9XzPT/dR/QjO4/EKEkEabUXKhFguKy+XzJQEXEtoLDc6+na+zSB8mP4H8kMTjoMbawOAKKc6YtUV75OCVdPL7VVUDUP93OkwrWZXNosUSlp4/lmItOI0PuX76WxzCjJ8n24lUTYb6X4JvnSDG/Mq1Myo+up1feVBhfsAMjGGazUVly5bM5gaSAb6IAQWRelHHNkSBLjdPxDzIg/0n2VFBc7EFT5GTELnB2Zn5fVaVimA/RBbRGa5f3zhlmbs1N5HcfSSVnEtighF
      staging_http_get => curl
      swapfree => 3.58 GB
      swapfree_mb => 3667.33
      swapsize => 4.00 GB
      swapsize_mb => 4096.00
      system_uptime =>

      {"seconds"=>4667552, "hours"=>1296, "days"=>54, "uptime"=>"54 days"}

      timezone => CDT
      type => Desktop
      uniqueid => a8c0017a
      uptime => 54 days
      uptime_days => 54
      uptime_hours => 1296
      uptime_seconds => 4667552
      uuid => 03000200-0400-0500-0006-000700080009
      virtual => physical

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jbnance Jason Nance
              QA Contact:
              Eric Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support