cifs without security service error not helpful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
kiran pawar |
Bug Description
Description
===========
I'm running in DHSS=True mode with the NetApp driver.
To create a share with protocol CIFS it is mandatory to add a security service to the share network beforehand. If this is forgotten the share ends up in error, but the user message produced is not helping my users to help themselves.
Steps to reproduce
==================
* create a share with protocol CIFS (select a share network that does not have a security service assigned)
Expected result
===============
A) A user message tells me: ERROR - "create: share network security service association is mandatory for protocol CIFS" or something like that
or:
B) Validation happens early and the create command directly reports an invalid request
Actual result
=============
* share ends up in error state
* user message is produced ERROR - "create: An unknown error occurred."
As a cloud administrator it is even not easy to figure out what went wrong, because the error you get in the logs is "NetApp API failed. Reason - 13001:Failed to get CIFS server. Reason: CIFS server doesn't exist." out of create_cifs_share in manila/
Environment
===========
1. Manila on Train Release (with some unrelated changes in a custom fork (https:/
2. NetApp Ontap 9.7p7 backend
3. DHSS=true (neutron bind)
Logs & Configs
==============
http://
Best regards,
Maurice
tags: | added: netapp |
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
assignee: | nobody → kiran pawar (kiranpawar89) |
milestone: | none → xena-2 |
Additional comments http:// eavesdrop. openstack. org/meetings/ manila/ 2020/manila. 2020-11- 12-15.01. log.html