Hi All! My plan to add CIFS share acl for one specific share. I am using python / rest api / ontap library. Could you share the code snippets? Here is my code snippet: share = CifsShare() share.name = x["volname"] share.svm = {"name": "svm_name", "uuid": "test_uid"} share.path = "/" + x["volname"] share.acls = [ {"permission": "full_con trol", "type": "windows", "user_or_group": "test_group"} ] share.patch(hydrate=True) BR: Pal
... View more
Hi All! I am creating a bulk number of volumes with python / Rest api. The problem is how to create a volume where a thin provisioning is enabled by default? I am using python / rest api / ontap library. Could you share the code snippets? Here is my code snippet: volume = Volume() volume.name = x["volname"] volume.aggregates = [{"name": self.data["aggr"]}] volume.size = x["size"] volume.svm = {"name": self.data["svm"]} pather = "/" + x["volname"] volume.nas = {"security_style": "ntfs", "path": pather} volume.efficiency = {"compression": "both"} BR: Pal
... 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
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