REST-API not returning data for a volume
Applies to
ONTAP 9
Issue
The REST-API is not returning data for a volume.
When upgrading from ONTAP 9.3 to 9.5, occasionally the volume UUID table is not updated. Then later, when an upgrade from ONTAP 9.5 to 9.7 occurs, the volumes are not displayed.
Example:
Curl command output for a query of 'volume_02':
% curl -X GET -u <user>:<password> -k
"https://cluster1.demo.netapp.com/api/storage/quota/reports?type=qtree&svm.name=vs0&volume.name=volume_02&show_default_records=true&max_records=1024"
{
"records": [
],
"num_records": 0,
"_links": {
"self": {
"href":
"/api/storage/quota/reports?max_records=1024svm.name=vs0type=tree"
}
}