welcome-to-rubrik-build icon indicating copy to clipboard operation
welcome-to-rubrik-build copied to clipboard

Timeout for "rubrik_assign_sla"

Open stephaniemurovec opened this issue 2 years ago • 0 comments

Expected Behavior We use Rubrik Modules for Ansible "rubrik_assign_sla" and sometimes, we have a timeout problem (default timeout 30 sec). We tried to increase timeout to 120 seconds. For example, we use "rubrik_assign_sla" :

  • name: Assign VM to a SLA rubrik_assign_sla: object_name: "{{ vm_name }}" sla_name: "{{ sla_name }}" provider: "{{ credentials }}" timeout: 120 We expect that the module waits 120 seconds before failing but the module always fails if it takes more than 30 seconds.

Current Behavior This new timeout doesn't seem to be taken into account. After 30 seconds, if there is no response, we receive this error : "msg": "The Rubrik cluster did not respond to the API request in the allotted amount of time. To fix this issue, increase the timeout value." The SLA is being assigned correctly despite the ansible command failing. How can we really increase default timeout?

Thank you very much for help.

stephaniemurovec avatar Mar 28 '22 08:03 stephaniemurovec