Skip to content

"eos_snmp_server" gets stuck with no errors #533

@ivanchakarov

Description

@ivanchakarov
SUMMARY

The "eos_snmp_server" collection is not working at all - when I run a task (the parameters doesn't matter) it always get stuck with no error messages and never completes.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

arista.eos.eos_snmp_server

ANSIBLE VERSION
ansible [core 2.15.8]
  config file = /home/ichakarov/arista-switches/ansible.cfg
  configured module search path = ['/home/ichakarov/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/ichakarov/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True
COLLECTION VERSION
# /home/ichakarov/.ansible/collections/ansible_collections
Collection Version
---------- -------
arista.eos 9.0.0  
CONFIGURATION
CONFIG_FILE() = /home/ichakarov/arista-switches/ansible.cfg
OS / ENVIRONMENT

Arista vEOS-lab
Software image version: 4.31.1F

STEPS TO REPRODUCE

Run a play including the collection "eos_snmp_server" - the provided parameters don't matter. This is most probably the easiest scenario - gather the device's SNMP config:

- name: SNMP test
  arista.eos.eos_snmp_server:
    config:
    state: gathered
EXPECTED RESULTS

The main expected result is the task completion.

ACTUAL RESULTS

Unfortunately, in never finishes and gets stuck at "redirecting (type: connection) ansible.builtin.network_cli to ansible.netcommon.network_cli"

I observe the same behavior if I provide configuration parameters as well (state: merged, for example).

TASK [snmp : SNMP test] ***********************************************************************************************************************************************************************************************
task path: /home/ichakarov/arista-switches/roles/snmp/tasks/main.yaml:1
redirecting (type: connection) ansible.builtin.network_cli to ansible.netcommon.network_cli   

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs_infoThis issue requires further information. Please answer any outstanding questions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions