I am automating SSL renewal procedure. I have managed to install the certificate, but after installation I would like to enable it (usually done in CLI in the security ssl cmddir by parsing the -server-enabled true argument) to take over from the certificate currently enabled. These are the endpoints present in the /api/docs: GET /security/certificates POST /security/certificates GET /security/certificates/{uuid} DELETE /security/certificates/{uuid} Can someone help navigating me further to accomplish this? I have without success tried in two different ways to update by trying the PATCH method, although not present in documentation, as well as looking through the docs of svm endpoints.
... View more
Hello, I'm posting this on behalf of customer for NetBackup what we do in nutshell is 1.we establish replication relationship between source and target volume 2.call ontap.SnpamirrorTransfer() to enable replication ,we wait util we see transfer state is successful 3.call ontap.snapshot() on target volume and save attributes of snapshot residing on target volume what we have observed is if storage efficiency is enabled for target volume - after replication is successful , storage efficiency runs and updates uuid of already existing snapshot on target volume - Hence we have invalid uuid of snapshot as we have already picked up snapshot attributes mentioned at steps 3 - Due to this invalid uuid we fail to perform different operations like export/deport/delete operation for snapshot residing on target volume How can we retrieve valid attributes of snapshot if storage efficiency is enabled on target volume using python SDK we already have case #2010285475 opened ,respective support has asked to post query in this forum and get solution for this
... View more
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