Problem:
After machine gets discovered and after PUT to /discovered_hosts/:id/refresh_facts lldp facts disappear from discovered host facts. Running manually discover-menu over ssh from inside of fdi booted machine restores lldp information.
Expected outcome:
lldp information should not be excluded when refreshing facts
Foreman and Proxy versions:
1.24.2 Foreman and Proxy plugin versions:
latest released Distribution and version:
CentOS 7 Other relevant data:
On nigtly (booted through UEFI, intel i210 nics - only one connected to switch with copper cable):
Refreshing facts through foreman UI gives me: ERF50-7522 [Foreman::WrappedException]: Failed to refresh facts for mac with error wrong number of arguments (given 0, expected 1) ([ArgumentError]: wrong number of arguments (given 0, expected 1))
Then I tried to log into discovery system through ssh and run lldptool -tni eno1 and lldptool -ti eno1 and they don’t return anything at all. lldptool -i eno1 -S shows all zeros in output. All those commands work as expected with 3.5.7.
Sorry for the late reply.
With FDI 3.5.7 LLDP facts are there on initial discover - refreshing facts somehow loses LLDP facts, but refresh does not cause any error.
With FDI 3.6.2 LLDP facts are not there on initial discover and refreshing facts causes error described above with logs below
Ideally refreshing facts should always work and not make LLDP facts disappear no matter FDI version.
Foreman 2.1.0
Refreshing facts works with 3.6.4. Still LLDP facts don’t work reliably or at all.
With FDI 3.5.7 LLDP facts are there on initial discover - refreshing facts somehow loses LLDP facts.
With FDI 3.6.4 LLDP facts don’t work at all.