Skip to main content
NetApp Knowledge Base

CONTAP-665777: A specific AWS FSx for NetApp ONTAP API does not update storage_capacity after instance storage capacity shrink

Views:
26
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cloud
Last Updated:

Issue

  • API call to /api/private/cli/system/node/virtual-machine/instance/show-settings returns expected storage_capacityvvalue after FSXn instance creation or expansion

  • After shrinking FSXn instance, storage_capacity value in API response does not decrease

  • Example API response shows storage_capacity remains at previous higher value after instance is reduced

  • Data Infrastructure Insights licensing impacted due to incorrect sizing input from API

Example:
$ curl -X GET "https://10.1.2.3/api/private/cli/system/node/virtual-machine/instance/show-settings?fields=node,consumer,storage_type,storage_capacity,iops,throughput_capacity" \
-u "user@pass" \
-H "Accept: application/json" \
-k
{
"records": [
{ "node": "FsxId1234567890abcdef0-01", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 1024, "iops": 3072, "throughput_capacity": 384 }
,
{ "node": "FsxId1234567890abcdef0-02", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 1024, "iops": 3072, "throughput_capacity": 384 }
],
"num_records": 2
}
$ curl -X GET "https://10.1.2.3/api/private/cli/system/node/virtual-machine/instance/show-settings?fields=node,consumer,storage_type,storage_capacity,iops,throughput_capacity" -u "user@pass" -H "Accept: application/json" -k
{
"records": [
{ "node": "FsxId1234567890abcdef0-01", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 11264, "iops": 33792, "throughput_capacity": 384 }
,
{ "node": "FsxId1234567890abcdef0-02", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 11264, "iops": 33792, "throughput_capacity": 384 }
],
"num_records": 2
}
$ curl -X GET "https://10.1.2.3/api/private/cli/system/node/virtual-machine/instance/show-settings?fields=node,consumer,storage_type,storage_capacity,iops,throughput_capacity" -u "user@pass" -H "Accept: application/json" -k
{
"records": [
{ "node": "FsxId1234567890abcdef0-01", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 11264, "iops": 33792, "throughput_capacity": 384 }
,
{ "node": "FsxId1234567890abcdef0-02", "consumer": "FSx", "storage_type": "SSD", "storage_capacity": 11264, <-this should be 1024 GB not 11,264 GB "iops": 33792, "throughput_capacity": 384 }
],
"num_records": 2
}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.