Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase read_timeout on nxos_ssh get_interfaces send_command() call #2159

Open
ktbyers opened this issue Jan 7, 2025 · 2 comments
Open

Comments

@ktbyers
Copy link
Contributor

ktbyers commented Jan 7, 2025

Sometimes this does not complete in the allocated 10 seconds (will be even worse with a large number of interfaces).

Should probably increase to 30 or 60 seconds.

@ktbyers
Copy link
Contributor Author

ktbyers commented Jan 7, 2025

For some reason, could not reproduce in straight Python, only in napalm-ansible?

@ktbyers
Copy link
Contributor Author

ktbyers commented Jan 7, 2025

This playbook sometimes fails:

---
- name: napalm nxos_ssh
  hosts: nxos1
  gather_facts: False
  tasks:
    - name: Retrieve get_facts, get_interfaces
      napalm.napalm.get_facts:
        filter: facts,interfaces
        dev_os: nxos_ssh

    - ansible.builtin.debug:
        var: napalm_facts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant