Project

General

Profile

Actions

Bug #36234

open

no lldp facts

Added by Patrick Kuijvenhoven about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Image
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

As of commit 672443f (2015), foreman-discovery-image collects lldp information as a fact.

Somewhere along the way, this functionality got broken, and can be reproduced in at least FDI 3.8.0 and FDI 4.1.0.

I've track down the cause to

enable-lldp@${INTERFACE_NAME}.service
(i.e.
enable-lldp@eno2.service
) not being started:

[root@fdi ~]# systemctl status enable-lldp@eno2.service
● enable-lldp@eno2.service - Configures LLDP for eno2
   Loaded: loaded (/etc/systemd/system/enable-lldp@.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

The approach to start this service is more or less equal to how

enable-promiscuous-mode@eno2.service
is setup. Contrary to the enable-lldp-service, the enable-promiscuous-mode-service DOES start

No data to display

Actions

Also available in: Atom PDF