OpenStack: Manila fails to set up share access due to a "NetApp API failed" exception
Applies to
- OpenStack Manila
- DHSS = False
Issue
When Manila is configured to use a SVM scoped user for it's share service backend, the following issue is seen when you attempt to create access for a share (using the manila access-allow
command)
- The manila share.log displays the following API exception:
33344: 2024-06-11 11:36:47.019 1360587 ERROR oslo_messaging.rpc.server [req-12345676] Exception during message handling: manila.share.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 15661:entry doesn't exist
- When tracing the API calls during the timestamp of the issue, you see the following kerberos-config-get-iter API call fail:
00000015.006cad50 06cd461e Wed Jul 03 2024 13:22:27 +00:00 [kern_audit:info:3328] 8503e800003f7318 :: ontap:ontapi :: xx.xx.xx.xx:39724 :: xxxxx:manilauser :: <netapp xmlns=http://www.netapp.com/filer/admin version="1.231" vfiler="xxxxx"><kerberos-config-get><interface-name>xxxxx-mgmt</interface-name><desired-attributes><kerberos-config-info><is-kerberos-enabled/></kerberos-config-info></desired-attributes></kerberos-config-get></netapp> :: Pending:
00000015.006cad52 06cd461e Wed Jul 03 2024 13:22:27 +00:00 [kern_audit:info:3328] 8503e800003f7318 :: ontap:ontapi :: xx.xx.xx.xx:39724 :: xxxxx:manilauser :: kerberos-config-get :: Error: entry doesn't exist