Open bocarng opened 11 months ago
Hi @bocarng ,
Thank you for raising this question, I get same msg when run your script. Device reboots after upgrading and doesn't send any result back to Ansible until Ansible timeout and raises lost connection error, could you help me check if your device upgrades to the desired image? I will report it to the development team to check if they can do any improvement about this part.
Thanks, Maxx
I have a timeout problem when I tried to upgrade my fortigate device. I increased the value to 1200 seconds but I still have the timeout.
fortinet.fortios:2.3.4
Playbook with fw_filename : ../Images/FGT_1800F-v6.M-build2093-FORTINET.out
hosts: all connection: httpapi vars: vdom: "root" ansible_httpapi_use_ssl: "yes" ansible_httpapi_validate_certs: "no" ansible_httpapi_port: 443 ansible_become: no ansible_become_method: disable access_token: "{{ lookup('vars', 'tokeninfo.meta.results.access_token') }}" fw_filename: "../Images/{{ netbox_desc }}.out"
Error 👍 line 200, in rpc\nansible.module_utils.connection.ConnectionError: command timeout triggered, timeout value is 1200 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
Did you have any idea how to fix this?