netapp kerberos-realm-create api changed

Bug #1901189 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Felipe Rodrigues

Bug Description

Hi,

I encountered a bug in the netapp dataontap driver.

The NetApp "Reference Manual for ONTAP 9.7" states:

"In Data ONTAP 8.2.x and prior versions, Kerberos realms were owned by Cserver and were accessible
only from Admin Vserver LIFs using the input 'config-name'. The 'vserver' input was not required.
Starting from Data ONTAP 8.3.0, Kerberos realms are owned by data Vservers and are accessible from
both Admin and data Vserver LIFs. The 'config-name' input can no longer be used as a key. The 'realm'
input must be used instead. The 'vserver' input is required."

Which leads to the following error in later versions if I try to create a kerberos CIFS share:
'NetAppException
Failed to create Kerberos realm. Vserver API missing vserver parameter.' raised in manila/share/drivers/netapp/dataontap/client/client_cmode.py in create_kerberos_realm

This needs to be adjusted for ONTAP >= 8.3, please.

I.e.
- needs to be called like vserver_client.create_kerberos_realm(security_service)
- config-name parameter removed
- for backwards compatability keep old version for older apis?
- other unforeseeable issues ..?

BR,
Maurice

Tags: netapp
tags: added: netapp
Douglas Viroel (dviroel)
Changed in manila:
assignee: nobody → Felipe Rodrigues (felipefutty)
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Low
importance: Low → Medium
milestone: none → wallaby-1
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
milestone: wallaby-1 → wallaby-2
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Changed in manila:
status: New → In Progress
Vida Haririan (vhariria)
Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 12.0.0.0rc1

This issue was fixed in the openstack/manila 12.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.