CONTAP-732482: SVM API require higher bucket minimum size after 9.18.1 upgrade
Issue
- Before 9.18.1, when creating bucket using the SVM-level API, the minimum allowed size for a bucket is 95GiB:
admin@linux:~$ curl -sku vsadmin:<password> -X POST "https://<SVM management IP>/api/protocols/s3/services/2fbf9e2d-5800-11f1-b531-00a098f1e97c/buckets?return_timeout=120" \
-H "Content-Type: application/json" \
-d '{"name": "svm-api-916-min-size-aggr",
"size": 102005473280, # 95 GiB
"aggregates": [{"uuid": "e6911fcb-4178-4dbc-99ce-8769c1103722"}],
"constituents_per_aggregate": 3
}'
{
"job": {
"uuid": "72226070-5806-11f1-b531-00a098f1e97c",
"_links": {
"self": {
"href": "/api/cluster/jobs/72226070-5806-11f1-b531-00a098f1e97c"
}
}
}
- After upgrading to 9.18.1, The SVM-level API the minimum allowed size for a bucket is 100GiB per constituent:
admin@linux:~$ curl -sku vsadmin:<password> -X POST "https://<SVM management IP>/api/protocols/s3/services/2fbf9e2d-5800-11f1-b531-00a098f1e97c/buckets?return_timeout=120" \
-H "Content-Type: application/json" \
-d '{"name": "svm-api-918-min-size-aggr",
"size": 102005473280,
"aggregates": [{"uuid": "e6911fcb-4178-4dbc-99ce-8769c1103722"}],
"constituents_per_aggregate": 3
}'
{
"error": {
"message": "[Job 193] Job failed: Failed to create bucket \"svm-api-918-min-size-aggr\" for SVM \"svms3\". Reason: Size \"100.2GB\" (\"107594383360B\") is too small. Minimum size is \"300GB\" (\"322122547200B\"). ",
"code": "983070"
},
"job": {
"uuid": "80293e7c-5815-11f1-b3c2-00a098f1e97c",
"_links": {
"self": {
"href": "/api/cluster/jobs/80293e7c-5815-11f1-b3c2-00a098f1e97c"
}
}
}
}
