Werk #18265 · Aug 5, 25
Netapp Ontap Fans: handle different node netapp versions
The Netapp ONTAP special agent crashed with
netapp_ontap.error.NetAppRestError: Caused by HTTPError('400 Client Error: Bad Request for url: https://.../api/storage/shelves?fields=id%2Cfans.id%2Cfans.state%2Cfans.installed'): The value "fans.installed" is invalid for field "fields" (<field,...>)
This occurred because the fans.installed field was not available in some versions of ONTAP.
The code now checks the ONTAP version and adjusts the fields requested accordingly.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p10All Editions
- 2.3.0p36CommunityProUltimateUltimate + MT