Dear all, I trying to user the powershell module "NetApp.ONTAP" to create Qtree on an AFFC800, I believe this module calling API but I am not sure. Anyway, the things, I am able to create a qtree using the command below : PS > new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750" However I need to specify the group (from active directoy) and if I do it fails with the error below PS > new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m" ## New-NcQtree : Cannot bind parameter 'Group'. Cannot convert the "acl_m" value of type "System.String" to type "DataONTAP.C.Types.Qtree.Group". At line:1 char:137 + ... t -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m" I look up the web and I did not manage to find a solution to pass the group with the right type etc... The AD group association with Qtree works well when creating using the CLI or the web interface. Many thanks in advance for your help. Nicolas
... View more
Hello Community, Do we have a way to patch volume with a tag or annotation. Ideally i'm looking for something like this to work. I"m looking to see anything other than "comment" field. >>> with HostConnection(host,username=username,password=password, verify=False): ... volume = Volume(uuid=volume_uuid) ... volume.tags = ["high-priority", "backup"] ... volume.patch() ... volume.get() ... print(volume.to_dict()) $ /usr/bin/pip3 show netapp-ontap Name: netapp-ontap Version: 9.12.1.0 Kalyan
... View more
Hello community we are getting 'Loop detected in next()' errors when invoking 'vserver services name-service ldap check' via Private CLI curl -k -X GET "https://XXXXX:443/api/private/cli/vserver/services/name-service/ldap/check?return_timeout=120&return_records=true&vserver=XXXXX&privilege_level=diagnostic" -u admin Enter host password for user 'admin': { "records": [ ], "num_records": 0, "error": { "message": "Loop detected in next() for table ldap_check. Next on \"XXXXX\" returned \"XXXXX\".", "code": "262146" } } Same command in CLI works fine Cluster is running 9.10.1P12 Is this a known issue and fixed in later releases? Any thoughts on how we might be able to overcome this issue? thank you
... View more
Dear NetApp Team, I hope this message finds you well. I am reaching out to inquire whether there are any plans to introduce additional fields in NetApp's REST API for storage and network resources. Specifically, I am interested in knowing if the following enhancements are on the roadmap: RAID status for the GET /api/storage/aggregates endpoint. Position for the GET /api/storage/disks endpoint. Share-state for the GET /api/storage/luns endpoint. Operational duplex for the GET /api/network/ethernet/ports endpoint. Oplocks for the GET /api/storage/qtrees endpoint. These fields would greatly enhance automation and monitoring capabilities, and I would appreciate any insights you can provide on the potential timeline for these additions or if they are currently under consideration. Thank you for your assistance, and I look forward to your response.
... View more
I am currently migrating our old code accessing netapp using ontap and replacing it by using REST. I tried to write a file to netapp using POSTMAN by calling the following URL (http method POST): https://ms-netapp.m-s.ch/api/storage/volumes/{volumeid}/files/{path} My content type is multipart-formdata and I have two elements in it first element: Json with the following content. { "target": "Test", "is_empty": "", "name": "Test.pdf", "path": "TestPH", "type": "file" } second element: my actual file this leads to an http-400 error without further information about the cause. The funny thing about it is, that if I remove the second element, it creates a file that contains the submitted json. I tried to implement the api using the following information: https://docs.netapp.com/us-en/ontap-restapi-9121/ontap/swagger-ui/index.html#/storage/file_info_create
... View more