Project

General

Profile

Actions

Bug #31826

open

Discovered nodes without default route cannot be processed

Added by Lukas Zapletal almost 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Low
Category:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Discovered nodes without default route do not get "networking->ip" and "networking->ip6" and "networking->primary" facts, therefore detection of the primary interface fails in core, thus discovery is unable to continue.

2021-02-05T16:40:58 [D|app|7ce03c4a] We have following interfaces 'ens192' based on facts
2021-02-05T16:40:58 [D|app|7ce03c4a] Interface ens192 facts: {"bindings"=>[{"address"=>"10.28.236.10", "netmask"=>"255.255.255.0", "network"=>"10.28.236.0"}], "bindings6"=>[{"address"=>"fe80::250:56ff:feac:18b6", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::"}], "dhcp"=>"10.28.236.3", "macaddress"=>"00:50:56:ac:18:b6", "mtu"=>1500, "scope6"=>"link"}
2021-02-05T16:40:58 [D|app|7ce03c4a] Discovery fact parser detected primary interface: 
2021-02-05T16:40:58 [W|app|7ce03c4a] Host discovery failed, facts: {} error (Foreman::Exception): ERF42-9680 [Foreman::Exception]: Unable to find primary NIC with 52:d0:8d:34:12:84 specified via 'discovery_bootif', NIC filter: ["lo", "en*v*", "usb*", "vnet*", "macvtap*", ";vdsmdummy;", "veth*", "docker*", "tap*", "qbr*", "qvb*", "qvo*", "qr-*", "qg-*", "vlinuxbr*", "vovsbr*", "br-int"]

This needs to be fixed so both facter 2 and 3 do work (with and without default route).


Related issues 1 (0 open1 closed)

Related to Discovery - Bug #31943: Facter 4.x does not report uninitialized interfacesResolvedActions
Actions #1

Updated by Lukas Zapletal almost 4 years ago

  • Subject changed from Discovery is broken - unable to detect primary interface to Discovered nodes without default route cannot be processed
  • Description updated (diff)
  • Priority changed from Urgent to High
Actions #2

Updated by Lukas Zapletal over 3 years ago

  • Related to Bug #31943: Facter 4.x does not report uninitialized interfaces added
Actions #3

Updated by Lukas Zapletal over 3 years ago

This should be retested after #31943 is fixed.

Actions #4

Updated by Lukas Zapletal over 3 years ago

  • Priority changed from High to Low

I believe this was resolved with the associated issue.

Actions #5

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Target version deleted (Discovery Plugin 16.0)
Actions

Also available in: Atom PDF