OpenStack Cinder Driver Fails to Initialize with NetApp ONTAP: “NetApp API failed. Reason-404: NotFound” and Related Errors
Applies to
- OpenStack (Red Hat OpenStack Services on OpenShift (RHOSO)18 / 2023.1 Antelope)
- NetApp ONTAP 9.x (e.g., 9.16.1P6)
- NetApp All Flash FAS (AFF) / C-Series
- Cinder NetApp ONTAP Driver (Fibre Channel or iSCSI)
- Integration using SVM Management LIF
Issue
When configuring the OpenStack Cinder NetApp ONTAP driver, initialization fails and Cinder cannot connect to the ONTAP backend. The following errors are observed in cinder-volume logs:
ERROR cinder.volume.manager [...] Failed to initialize driver.: cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason-404: NotFound ... WARNING cinder.volume.drivers.netapp.dataontap.client.client_cmode_rest [...] The configured user account does not have sufficient privileges to use all needed APIs. The following extra specs will fail or be ignored: ['netapp_raid_type', 'netapp_disk_type']. ... ERROR cinder.volume.manager [...] cinder.exception.NotFound: Counter avg_processor_busy not found ... ERROR cinder.volume.manager [...] Driver initialize_connection failed (error: 'wwpns'). (HTTP 500)
