Open
Description
SUMMARY
When using vmware_guest_info, we ran into situations where the module does not return results for hours or days.
We have a scheduled job, that uses the module to receive VM Informations every night, where it sometimes "get stuck".
As there is no timeout, we don't know if it's a network issue or a programmatic error.
ISSUE TYPE
- Bug Report
COMPONENT NAME
vmware_guest_info
ANSIBLE VERSION
- Ansible 2.9.16
- Ansible Tower 3.7.2 on RedHat 7.9
CONFIGURATION
- name: Get current VC-Tags
community.vmware.vmware_guest_info:
name: "{{ inventory_hostname }}"
datacenter: ""
tags: yes
hostname: '{{ vcenter_host }}'
username: '{{ lookup("env", "VMWARE_USER") }}'
password: '{{ lookup("env", "VMWARE_PASSWORD") }}'
validate_certs: '{{ vc_cert_validation }}'
delegate_to: some_server
register: vc_tags_old
throttle: 29
EXPECTED RESULTS
Their should be a timeout with a meaningful error message, stating if the error is related to network issues or e.g. an unterminating loop inside the module.
ACTUAL RESULTS
The module does not return anything unless manually stopped.