Closed AwesomeNameMan closed 2 years ago
We are looping to get the job results until it completes or a failure is reported. But the loop is also limited by: job_timeout=120
This is a bug as the value is hardcoded.
The solution will be to use the time_out value so that this is configurable
time_out:
description:
- time to wait for Flexgroup creation, modification, or deletion in seconds.
- Error out if task is not completed in defined time.
- if 0, the request is asynchronous.
- default is set to 3 minutes.
default: 180
type: int
version_added: 2.8.0
We will address this issue in the May release.
Thanks for your quick reply. Will look forward to the May release.
Hi Team,
could you address the issue in the May release? Couldn't find something in the release notes. Hope you had the time, the fix would be crucial for us.
Best
Sorry this was fixed in 21.19.0 released early May. We forgot to update this issue.
na_ontap_volume - use time_out value when creating/modifying/deleting volumes with REST rathar than hardcoded value.
Summary
When I create a FlexGroup with space_guarantee: none and want to expand the FlexGroup with sizing_method: add_new_resources (even using wait_for_completion: yes), I run in the following error:
"msg": "Error resizing volume testvolume: job reported error: Timeout error: Process still running, received {'job': {'uuid': '84322a53-ba66-11ec-98ac-d039ea1c5e05', '_links': {'self': {'href': '/api/cluster/jobs/84322a53-ba66-11ec-98ac-d039ea1c5e05'}}}}."
Component Name
na_ontap_volume
Ansible Version
ONTAP Collection Version
ONTAP Version
Playbook
Steps to Reproduce
Expected Results
After creating the initial FlexGroup with 1 constituent and constituent_size: 200GB the next task should expand the FlexGroup with 2 new constituents á 200GB to a FlexGroup size of 600GB.
This works well, when space_guarantee: volume, but not with none.
Actual Results