You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases we can see inventory failed and on IKAT of PC it shows ansible-httpget as disconnected after exactly 30 sec.
We have tried to change timeout value in ansible settings, but it failed again with exact same timeout 30 secs.
Describe the request
Add functionality in modules to override default timeout value for API calls.
Current behaviour
There is module vms.py:
https://github.com/nutanix/nutanix.ansible/blob/main/plugins/module_utils/prism/vms.py
It has hardcode value for time in API calls:
def list( self, data=None, endpoint=None, use_base_url=False, raise_error=True, no_response=False, timeout=30, max_length=500,
In some cases we can see inventory failed and on IKAT of PC it shows ansible-httpget as disconnected after exactly 30 sec.
We have tried to change timeout value in ansible settings, but it failed again with exact same timeout 30 secs.
Expected behaviour
Modules should or take ansible-httpget timeout value
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/uri_module.html
Or we should allow to change it in any other manner.
The text was updated successfully, but these errors were encountered: