#Getting Unverified HTTPS error when using na_ontap_nfs module

1 messages · Page 1 of 1 (latest)

sinful wraith
#

I am getting the following error message when I'm trying to enable NFS on a vserver. Seems like it wants certificate validation, but in all of my other playbooks I am using "validate_certs: false" and this is the only one that is having an issue. See the attached file for the playbook and full error output.

fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/export/home/username/venv/ansible-latest/lib64/python3.9/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host 'cluster01'.
Adding certificate verification is strongly advised

barren shore
#

This look like a bug, The meesage at the top is a warning the real error at the bottom of the message

File "/tmp/ansible_netapp.ontap.na_ontap_nfs_payload_grc1w7b4/ansible_netapp.ontap.na_ontap_nfs_payload.zip/ansible_collections/netapp/ontap/plugins/modules/na_ontap_nfs.py", line 558, in get_nfs_service_rest\n
TypeError: argument of type 'NoneType' is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

i'll make a story for fix this