-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregate label "cloud_stores" is not collected via ZAPI #2081
Labels
Comments
Thanks for raising @mamoep. Zapibin/harvest zapi -p ontap-tudor show data --api aggr-object-store-get-iter | dasel -r xml -w json {
"root": {
"attributes-list": {
"object-store-information": [
{
"aggregate": "fabricpool_source_aggr",
"aggregate-uuid": "6222cd35-9d3e-44ef-baee-512269717bcd",
"bin-uuid": "99cc0d8f-abf8-11ed-9b08-00a0b886429a",
"force-tiering-on-metrocluster": "false",
"is-mirror-degraded": "false",
"migrate-threshold": "10",
"mirror-type": "mirror",
"object-store-availability": "available",
"object-store-name": "StorageGRIDfabricpool11dot6",
"object-store-uuid": "0f1b182e-ad7d-11ed-9b08-00a0b886429a",
"provider-type": "sgws",
"tiering-fullness-threshold": "50",
"used-space": "219733016576"
},
{
"aggregate": "fabricpool_source_aggr",
"aggregate-uuid": "6222cd35-9d3e-44ef-baee-512269717bcd",
"bin-uuid": "99cc0d8f-abf8-11ed-9b08-00a0b886429a",
"force-tiering-on-metrocluster": "false",
"migrate-threshold": "10",
"mirror-type": "primary",
"object-store-availability": "available",
"object-store-name": "StorageGRIDfabricpool11dot7",
"object-store-uuid": "45fd5640-b885-11ed-b592-00a0b886429a",
"provider-type": "sgws",
"tiering-fullness-threshold": "50",
"used-space": "219733016576"
}
]
},
"num-records": "2"
}
} RESTbin/harvest rest -p ontap-tudor show data --api storage/aggregates --fields "name,cloud_storage,node" | jq . {
"records": [
{
"cloud_storage": {
"attach_eligible": true
},
"name": "small_aggr",
"node": {
"name": "SingleNode97IP64dot110-01",
"uuid": "6bdc229a-db47-11ea-b296-00505697ccb9"
},
"uuid": "24f4f652-0700-491d-9fcb-10cc1d44be37"
},
{
"cloud_storage": {
"attach_eligible": true
},
"name": "SM_target_no_source_SE",
"node": {
"name": "SingleNode97IP64dot110-01",
"uuid": "6bdc229a-db47-11ea-b296-00505697ccb9"
},
"uuid": "52bc8f76-f93a-4d79-82f0-e0a47a9837bd"
},
{
"cloud_storage": {
"attach_eligible": false,
"migrate_threshold": 10,
"stores": [
{
"cloud_store": {
"name": "StorageGRIDfabricpool11dot6",
"uuid": "0f1b182e-ad7d-11ed-9b08-00a0b886429a"
},
"used": 219733016576
},
{
"cloud_store": {
"name": "StorageGRIDfabricpool11dot7",
"uuid": "45fd5640-b885-11ed-b592-00a0b886429a"
},
"used": 219733016576
}
],
"tiering_fullness_threshold": 50
},
"name": "fabricpool_source_aggr",
"node": {
"name": "SingleNode97IP64dot110-01",
"uuid": "6bdc229a-db47-11ea-b296-00505697ccb9"
},
"uuid": "6222cd35-9d3e-44ef-baee-512269717bcd"
},
{
"cloud_storage": {
"attach_eligible": true
},
"name": "SM_source_no_SE",
"node": {
"name": "SingleNode97IP64dot110-01",
"uuid": "6bdc229a-db47-11ea-b296-00505697ccb9"
},
"uuid": "e9d91147-6039-4457-9e7d-11324c21a4ab"
}
],
"num_records": 4
} |
I think it should be labeled bug instead of feature. |
verified in 23.08 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A note for the community
Problem
Aggregate label "cloud_stores" is not collected via ZAPI, so the StorageGrid FabricPool dashboard cannot be used correctly.
"aggr-object-store-get-iter" is available in ZAPI, so I think collection of the necessary information should be possible.
Poller
ZAPI
Version
harvest version 23.05.0-1 (commit 6f74c7a) (build date 2023-05-03T08:08:46-0400) linux/amd64
OS and platform
RHEL8
ONTAP or StorageGRID version
NetApp Release 9.10.1P8: Tue Sep 13 14:10:13 UTC 2022
The text was updated successfully, but these errors were encountered: