system host-lldp-agent-list does not report any lldp agents

Bug #1935680 reported by Andre Kantek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Andre Kantek

Bug Description

Brief Description
-----------------
system host-lldp-agent-list controller-0 does not report any lldp agents

Severity
--------
Minor: System/Feature is usable with minor issue

Steps to Reproduce
------------------
Systems with SRIOV VF interfaces that generate link devices on the kernel and the lldpd json report put those interfaces prior to the registered host-ports will suffer with the problem

Expected Behavior
------------------
All valid agents/interfaces on the node should be shown

Actual Behavior
----------------
Empty list is shown on the command

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Any, depend on node configuration

Branch/Pull Time/Commit
-----------------------
Starling-X master

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------
Regression Testing

Workaround
----------
n/a

Andre Kantek (akantek)
Changed in starlingx:
assignee: nobody → Andre Kantek (akantek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/800219

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.6.0 stx.networking
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/800219
Committed: https://opendev.org/starlingx/config/commit/63615beaec526466a6ab3caa7772fe6b0bbaf499
Submitter: "Zuul (22348)"
Branch: master

commit 63615beaec526466a6ab3caa7772fe6b0bbaf499
Author: Andre Fernando Zanella Kantek <email address hidden>
Date: Fri Jul 9 08:23:28 2021 -0400

    System host-lldp-agent-list does not report any lldp agents

    In systems with SRIOV interfaces the kernel might have more link
    devices than the ones registered as host-ports. This is caused
    by the SRIOV-VF interfaces configuration. The lldp daemon does list
    them on its report, and the conductor should ignore those and process
    only the ones with a host-port.

    The correction is on the conductor's processing loop that was
    returning on the first non-match, preventing the analysis of all
    array elements.

    Closes-Bug: 1935680

    Signed-off-by: Andre Fernando Zanella Kantek <email address hidden>
    Change-Id: I436f74785b80ba544131b22dfaecc0cdfc1cabc7

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.