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

Research why napalm_get_nxos_ssh.yml was intermittently failing #205

Open
ktbyers opened this issue Apr 15, 2024 · 0 comments
Open

Research why napalm_get_nxos_ssh.yml was intermittently failing #205

ktbyers opened this issue Apr 15, 2024 · 0 comments

Comments

@ktbyers
Copy link
Collaborator

ktbyers commented Apr 15, 2024

---
- 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

TASK [Retrieve get_facts, get_interfaces] ****************************************************************************************
fatal: [nxos1]: FAILED! => {"changed": false, "msg": "[interfaces] cannot retrieve device data: \nPattern not detected: 'nxos1\\#' in output.\n\nThings you might try to fix this:\n1. Explicitly set your pattern using the expect_string argument.\n2. Increase the read_timeout to a larger value.\n\nYou can also look at the Netmiko session_log or debug log for more information.\n\n"}

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