#CVO Ansible Job is failing with error : FAILED - RETRYING: [localhost]: Ensure the Volume Exists

1 messages · Page 1 of 1 (latest)

shrewd pawn
#

Ansible job for Cloud Volumes ONTAP fails with :

TASK [file_config : Ensure the Volume Exists] **********************************
FAILED - RETRYING: [localhost]: Ensure the Volume Exists (5 retries left).
FAILED - RETRYING: [localhost]: Ensure the Volume Exists (4 retries left).
FAILED - RETRYING: [localhost]: Ensure the Volume Exists (3 retries left).
FAILED - RETRYING: [localhost]: Ensure the Volume Exists (2 retries left).
FAILED - RETRYING: [localhost]: Ensure the Volume Exists (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.netapp.NetAppError: https://occm-us-west-2-drplat.incredibles-sandbox.boomi.com/occm/api/aws/ha/volumes/VsaWorkingEnvironment-eF8pxnAF/svm_PlatformdrplatUswest2/PlatformdrplatUswest2 400: {"message":"{\n "error": {\n "message": "failed to set field \"rorule\" to \"-\"",\n "code": "2"\n }\n}","causeMessage":"SimplicatorBadRequestException: {\n "error": {\n "message": "failed to set field \"rorule\" to \"-\"",\n "code": "2"\n }\n}"}
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": false, "module_stderr": "Traceback (most recent call last):\n File "/home/jenkins/.ansible/tmp/ansible-tmp-1738132160.7221687-26644-9342359894681/AnsiballZ_netapp_volume.py", line 107, in <module>\n _ansiballz_main()\n File "/home/jenkins/.ansible/tmp/ansible-tmp-1738132160.7221687-26644-9342359894681/AnsiballZ_netapp_volume.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/jenkins/.ansible/tmp/ansible-tmp-1738132160.7221687-26644-9342359894681/AnsiballZ_netapp_volume.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible.modules.netapp_volume', init_globals=dict(_module_fqn='ansible.modules.netapp_volume', _modlib_path=modlib_path),\n File "/usr/local/lib/python3.9/runpy.py", line 210, in run_module\n return _run_module_code(cod

#

Hi Team , I have attached the ansible job the customer is running and also the errors seen in BlueXP while the job is running. Let me know if you need any further details.

peak narwhal
#

from the errors, and from looking at the script, it looks like you're trying to add an export-policy rule (with the two CIDR blocks) but don't specify if those have ro or rw access (i.e. the rorule and rwrule fields). You probably need to supply that as well. Then again I am just guessing since I couldn't find documentation for export_policy_cidrs anywhere...

shrewd pawn
#

I am not sure either because the job itself doesn't have rorule and rwrule parameters

#

@karmic flame @gilded forge Please do check if you have time