As per below given article.
netapp.ontap.na_ontap_info module – NetApp information gatherer — Ansible Documentation there is below note:
The modules prefixed with na_ontap are built to support the ONTAP storage platform.
https is enabled by default and recommended. To enable http on the cluster you must run the following commands ‘set -privilege advanced;’ ‘system services web modify -http-enabled true;’
Can someone confirm if https is default and recommended then why do we need http to enable ?
... View more
Please advise on below warning message and let me know solution for this as early as possible. Thanks ansible-playbook dfw.yaml [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [Gathre Facts] *********************************************************************************************************************** TASK [Gathering Facts] ******************************************************************************************************************** ok: [localhost] TASK [Collect NetApp Information] ********************************************************************************************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - URL error:URLError(TimeoutError(110, 'Connection timed out'),) [WARNING]: The module only supports ZAPI and is deprecated, and will no longer work with newer versions of ONTAP when ONTAPI is deprecated in CY22-Q4 [WARNING]: netapp.ontap.na_ontap_rest_info should be used instead. [WARNING]: With version 22.0.0 ONTAPI (ZAPI) has been deprecated. The final ONTAP version to support ZAPI is ONTAP 9.12.1. ZAPI calls in these modules will continue to work for ONTAP versions that supports ZAPI. You can update your playbook to use REST by adding use_rest: always to your playbook. More information can be found at: https://github.com/ansible-collections/netapp.ontap fatal: [localhost]: FAILED! => { "changed": false } MSG: Error calling API system-get-ontapi-version: NetApp API failed. Reason - URL error:URLError(TimeoutError(110, 'Connection timed out'),) PLAY RECAP ******************************************************************************************************************************** localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 ==================================================================================
... View more
All the documentation I have found regarding Ansible Tower / AWX and NetApp use schmots1/na_ansible_ee as the docker image for the execution environment. It looks like the netapp.ontap version within that image is not up to date. Is there any documentation from NetApp regarding using or creating an updated version of the execution environment within Ansible Tower / AWX? There is plenty of documentation around standalone ansible execution environments, but I couldn't find documentation specifically around Ansible Tower and NetApp. I'm getting the following error when trying to create FCP LIFs from AWX: "msg": "Error creating interface ANSIBLESAN_ral_n04_0g: calling: network/fc/interfaces: got {'message': 'Field \"location.home_node.name\" cannot be set in this operation', 'code': '262196', 'target': 'location.home_node.name'}." I have tried using the same playbook on a separate server using standalone Ansible, no AWX, and I do not get the error then. According to a NetApp resource in the Discord community, the error is fixed in netapp.ontap version 22.1.0, therefore the need to upgrade the execution environment in AWX. Thanks,
... View more
My customer uses the NaServer and NaElement classes of the NMSDK (5.6) to access the SOAP api. Due to requirements in the environment, they'll need to access the api through an https proxy. Are there examples of how to go about this?
... View more
I need to quickly throw together some NetApp utils in C, and have compiled and run some the sample code in an attempt to get up to speed. Is there a list of all the possible calls you can make using the na_server_invoke() function? Or can one deduce these from the standard commands you'd issue at the NetApp console? If so... what's the formula? I've tried to work this out from the documentation, but there seems no straightforward answer.
... View more