#na_ontap_ntfs_dacl is failing with duplicate entry

1 messages · Page 1 of 1 (latest)

old gale
#

2 points:

  1. we have new modules using REST:
    na_ontap_file_security_permissions,
    na_ontap_file_security_permissions_acl

  2. the module is expected to be idempotent, but we noticed that sometimes ONTAP does something different. For instance, with "apply_to": "this_folder,sub_folders,files" ONTAP may create 2 ACLs. Your inputs would have to match what ONTAP created.

warped atlas
old gale
#

na_ontap_ntfs_dacl is failing with duplicate entry

warped atlas
#

ACLs is working perfectly

#

I see inside it's taking about DACLs. Module name is bit confusing mentioning ACLs

old gale
#

With REST, everything is combined together. This is also why we created new modules, as REST took a more global and simplified approach.

warped atlas
#

Thanks Laurent!

#

From what version of ONTAP this works?

#

Got it! 9.10.1 min is what doc says. Thanks Laurent! 🙂

warped atlas
#

Laurent, the REST API doesn't produce the desired results as ZAPI. I don't think na_ontap_file_security_permissions / na_ontap_file_security_permissions_acl be used. I have sent an email to REST API team. I have added you in the email chain.

warped atlas
#

Laurent, I had call with REST API team and they explained me its they way REST API works. I have requested them to put a documentation into doc.netapp.com for the same