[Unity]: Failed to enabled ACE for share
It is no need to enable ACE when creating CIFS share, so remove this process. Change-Id: Id9d248857c9a02eca486185d41b1fc22520d0919 Closes-bug: #1841035
This commit is contained in:
parent
3b36160199
commit
47b90fa8fb
|
@ -47,15 +47,7 @@ class UnityClient(object):
|
||||||
:return: UnityCifsShare object
|
:return: UnityCifsShare object
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
share = resource.create_cifs_share(share_name)
|
return resource.create_cifs_share(share_name)
|
||||||
try:
|
|
||||||
# bug on unity: the enable ace API has bug for snap
|
|
||||||
# based share. Log the internal error if it happens.
|
|
||||||
share.enable_ace()
|
|
||||||
except storops_ex.UnityException:
|
|
||||||
msg = ('Failed to enabled ACE for share: {}.')
|
|
||||||
LOG.exception(msg.format(share_name))
|
|
||||||
return share
|
|
||||||
except storops_ex.UnitySmbShareNameExistedError:
|
except storops_ex.UnitySmbShareNameExistedError:
|
||||||
return self.get_share(share_name, 'CIFS')
|
return self.get_share(share_name, 'CIFS')
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,10 @@ from manila import utils
|
||||||
7.0.2 - Bugfix: failed to delete CIFS share if wrong access was set
|
7.0.2 - Bugfix: failed to delete CIFS share if wrong access was set
|
||||||
8.0.0 - Supports manage/unmanage share server/share/snapshot
|
8.0.0 - Supports manage/unmanage share server/share/snapshot
|
||||||
9.0.0 - Implements default filter function
|
9.0.0 - Implements default filter function
|
||||||
|
9.0.1 - Bugfix: remove enable ace process when creating cifs share
|
||||||
"""
|
"""
|
||||||
|
|
||||||
VERSION = "9.0.0"
|
VERSION = "9.0.1"
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan')
|
SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan')
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Dell EMC Unity Driver: Fixes `bug 1841035
|
||||||
|
<https://bugs.launchpad.net/manila/+bug/1841035>`__ to avoid lots of error
|
||||||
|
messages displayed in logs.
|
||||||
|
|
Loading…
Reference in New Issue