-
Issue - RestAPI
We are Getting an error while creating volume thru Terraform Script as its sating the below error rror on GET storage/volumes: REST reported error restclient.RestError{Code:"4", Message:"entry doesn't exist", │ Target:"uuid"}, statusCode: 404
-
Powershell rest API get-ncvol not returning all volumes
I have a script that I'm trying to convert from using ZAPI over to Rest. Most things seem to work so far with the exception of when I use get-ncvol and it only returns a subset of the volumes. I'm not able to find the pattern here as to how it picks/chooses. at first I thought it was a hard limit on how many volumes would…
-
using rest api to get spare disks info
looking for an aquivlenet to ZAPI "aggr-spare-get-iter" or the CLI call "aggr show-spare-disks" Helpfull would also be a rest api replacement for "disk partition show"
-
Upload a docx file to Netapp using NetApp ONTAP REST API
Hello, I am using ONTAP 9.11 and trying to upload a docx file to a netapp volume using the following REST API via postman: POST api/storage/volumes/volumeid/files. Content Type is multipart/form-data and the body is form-data with a key of file. The value is the actual file. I am receiving an error when attempting this:…
-
AIQM annotation report
Hi Guys, Is there a way to generate a volume report with the annotation from AIQM? I do not see an option on GUI. Can anyone help with the steps to get it using REST API?
-
return_unmatched_nested_array_objects error in Query after upgrading to PSTK 9.14
I recently update our NetApp PSTK from 9.8 to 9.14.1.2401, and since the queries in my scripts are failing (see output below from 9.8 and 9.14). OnTap version is 9.12.1P10. Get-NcNetDeviceDiscovery is the only command I use the query with, so I don't know if it's all commands or just that one. Does anyone know why I'm…
-
ONTAP REST API issues, issue with these two cmdlets: Get-NcSystemImage & Get-NcNetInterface
Hi, I am observing the following two issues when running some Powershell cmdlets against 9.12.1P8. This is with version 9.13.1.2306 of the Powershell toolkit, but I believe the issue is with the REST API of ONTAP 9.12.1P8 and not with the Powershell toolkit. This is because when I run the same cmdlets against an ONTAP…
-
Inode (files) value on aggregate level?
How do I get these two values trough the new REST API? files-total: Total user-visible file (inode) count, i.e., maximum number of user-visible files (inodes) that this referenced file system can currently hold. If the referenced file system is restricted or offline, a value of 0 is returned files-used: Number of…
-
REST API "User is not authorized."
Hi, I try to connect via HTTP as part of this Ansible task: - name: Get LUNs netapp.ontap.na_ontap_rest_info: hostname: '{{ ontap_host }}' cert_filepath: '{{ ontap_crt }}' key_filepath: '{{ ontap_key }}' gather_subset: - 'storage/luns' fields: - 'comment' https: True validate_certs: False register: lun_info but receive:…
-
Coffee breaks with REST - Episode #6: 5 magical features that make ONTAP storage automation simple!
The previous blog post in this series looked at how private CLI passthrough can be leveraged in NetApp® ONTAP® REST. This post looks at 5 magical features that make your storage infrastructure automation so simple. Magic 1: API call logs from System Manager ONTAP System Manager displays the series of REST API calls made in…