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

Socket is closed error #782

Open
ashish-k-panigrahy opened this issue Nov 27, 2023 · 0 comments
Open

Socket is closed error #782

ashish-k-panigrahy opened this issue Nov 27, 2023 · 0 comments
Assignees

Comments

@ashish-k-panigrahy
Copy link

SUMMARY

I have been seeing this issue with nxos_config module. I don't know what the cause is and how to solve it.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION
ansible [core 2.14.0]
OS / ENVIRONMENT

CISCO NXOS 9.3(12)

STEPS TO REPRODUCE

I am unable to reproduce the issue as this is transient and occurs unexpectedly.

- name: Delete IP block 
  nxos_config:
    lines: "no ip prefix-list PLIST-XX1"
    save_when: always
  register: ip_delete_result
  until: ip_delete_result is succeeded
  retries: 3
EXPECTED RESULTS

Expected it to apply the configurations.

ACTUAL RESULTS

Error:
fatal: [clf01-r03]: FAILED! => {"attempts": 3, "changed": false, "msg": "Socket is closed"}

@NilashishC NilashishC self-assigned this Nov 29, 2023
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

2 participants