Open mwardbopp opened 1 year ago
Hi, internal ID to track this item is: INFRAANO-976, thanks!
any update on this bug?
Can you tell us what version of TMOS are you using when this issue is being presented?
Hi,
To troubleshoot the connection issue, could you do a tcpdump with decryption so that we can determine whether it's the BIG-IP or the Ansible client that's reseting the connection. If you need help, you can open a ticket at https://my.f5.com/.
I've tried a number of playbooks ucs_fetch, bigip_qkview both imperative and declarative and I get errors. If I revert to 15.1.8 they work fine.
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: urllib.error.URLError:
fatal: [f5 -> localhost]: FAILED! => changed=false
module_stderr: |-
Traceback (most recent call last):
File "/usr/local/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/local/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/local/lib/python3.8/http/client.py", line 1418, in connect
super().connect()
File "/usr/local/lib/python3.8/http/client.py", line 922, in connect
self.sock = self._create_connection(
File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
socket.timeout: timed out
module_stdout: '' msg: |- MODULE FAILURE See stdout/stderr for the exact error rc: 1
name: Only create new UCS, no download hosts: f5 gather_facts: false connection: local
vars: provider: password: "{{ ansible_ssh_pass }}" server: "{{ private_ip }}" user: "{{ ansible_user }}" validate_certs: "no" timeout: 1600 tasks:
[centos@ansible networking-workshop]$ cat ucs_fetch_simple.yml
name: Only create new UCS, no download hosts: f5 gather_facts: false connection: local
vars: provider: password: "{{ ansible_ssh_pass }}" server: "{{ private_ip }}" user: "{{ ansible_user }}" validate_certs: "no" timeout: 1600 tasks:
secure dest: /tmp/localhost.localdomain.qkview provider: "{{ provider }}" delegate_to: localhost [centos@ansible networking-workshop]$ cat ucs_fetch.yml
name: Fetch BIG-IP UCS hosts: f5 connection: local gather_facts: False vars: provider: password: "{{ ansible_ssh_pass }}" server: "{{ private_ip }}" user: "{{ ansible_user }}" validate_certs: False
tasks:
name: get current time on localhost command: date "+%H%M%S-%m%d%y" register: date delegate_to: localhost run_once: True
name: set filename var set_fact: ucs: "{{ 'test' + '-' + date.stdout + '-backup.ucs' }}"
name: Download a new UCS bigip_ucs_fetch: src: "{{ ucs }}" dest: "{{ '/tmp/ucs/' + ucs }}" provider: "{{ provider }}" delegate_to: localhost