NetApp SMI-S Provider to ONTAP commands fail with "insufficient privileges" error
Applies to
- NetApp SMI-S Provider 5.2.3 and later versions.
- ONTAP 9
Issue
- API calls from NetApp SMI-S provider against an SVM in ONTAP, are failing.
- Errors like bellow can be found in
cimserver.trc
log:
16-Apr-2019 05:13:16.365: CMPIProvider [6060:CMPI_BrokerEnc.cpp:1424]: wbemontapi: Calling na_server_invoke_elem on filer: <cluster_IP>, API: <snapmirror-get-destination-iter><max-records>1000</max-records></snapmirror-get-destination-iter>
16-Apr-2019 05:13:16.458: CMPIProvider [6060:CMPI_BrokerEnc.cpp:1424]: wbemontapi:ONTAP Invoke: na_server_invoke_elem completed
16-Apr-2019 05:13:16.458: CMPIProvider [6060:CMPI_BrokerEnc.cpp:1424]: wbemontapi:ONTAP Invoke: na_server_invoke_elem failed on filer: 10.18.200.58, API:<results reason="Insufficient privileges: user <ONTAP_SMI-S_username> does not have read access tothis resource" errno="13003" status="failed"/>
For the above error, snapmirror-get-destination-iter API is failing.