Project

General

Profile

Actions

Bug #31826

open

Discovered nodes without default route cannot be processed

Added by Lukas Zapletal over 3 years ago. Updated almost 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

Also available in: Atom PDF