Page MenuHomeVyOS Platform

LLDP error in gather_subset in vyos.vyos.vyos_facts
Blocked, NormalPublicBUG

Description

LLDP error in gather_subset in vyos.vyos.vyos_facts
VyOS version:

vyos@vyos:~$ show ver
Version:          VyOS 1.4.0
Release train:    sagitta
Release flavor:   generic

Built by:         Sentrium S.L.
Built on:         Tue 04 Jun 2024 09:23 UTC
Build UUID:       5e6ae0c4-4d17-4b69-9247-b4ba44a3e3c2
Build commit ID:  35dd8ae6522c78-dirty

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    924ad2e8-1a3b-4559-a314-fbe1a0814b2d

Copyright:        VyOS maintainers and contributors

Ansible playbook:

---
- name: Vyos_set_config
  hosts: vyos
  gather_facts: false
  tasks:
    - name: Collect facts
      vyos.vyos.vyos_facts:
        gather_subset: all

...

Output:

netadmin@debian12:~/testansible$ ansible-playbook playbook_vyos.yml
[WARNING]: Collection vyos.vyos does not support Ansible version 2.14.16

PLAY [Vyos_set_config] ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************

TASK [Collect facts] ******************************************************************************************************************************************************************************************************************************************************************************************************************************************************
[WARNING]: Collection ansible.netcommon does not support Ansible version 2.14.16
[WARNING]: Collection ansible.utils does not support Ansible version 2.14.16
fatal: [192.168.139.133]: FAILED! => {"changed": false, "msg": "show lldp neighbors detail\r\n\r\n  Invalid command: show lldp neighbors [detail]\r\n\r\nvyos@vyos:~$ "}

PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
192.168.139.133            : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

There is no command <show lldp neighbors detail> in VyOS 1.4.0
There is only:

vyos@vyos:~$ show lldp neighbors
Possible completions:
  <Enter>               Execute the current command
  interface             Show LLDP for specified interface

Details

Version
VyOS 1.4.0
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk triaged this task as Normal priority.

Confirmed this is happening with current mainline and 1.4, but not 1.2,1.3 or 1.5.

gaige changed the task status from Open to Blocked.Wed, Nov 20, 10:26 AM

Per slack, this is being investigated for re-introduction into 1.4.1. Putting this on pause for now.

Implemented for the next 1.4.1
@a.apostoliuk recheck please and close if works as expected