ansible-collections / ansible.network

Ansible Network Collection for network and IP utilities that are not specific to any platform or OS.
GNU General Public License v3.0
18 stars 18 forks source link

Socket is closed error #36

Closed ashish-k-panigrahy closed 10 months ago

ashish-k-panigrahy commented 10 months ago

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

use case/example:


- 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

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

Originally posted by @ashish-k-panigrahy in https://github.com/ansible-collections/ansible.netcommon/issues/202#issuecomment-1812426396

ashwini-mhatre commented 10 months ago

@ashish-k-panigrahy Could you please open the issue https://github.com/ansible-collections/cisco.nxos here?