Browse Source

Merge "[Unity]: Failed to enabled ACE for share" into stable/ussuri

changes/56/737756/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
9c254819a8
3 changed files with 10 additions and 10 deletions
  1. +1
    -9
      manila/share/drivers/dell_emc/plugins/unity/client.py
  2. +2
    -1
      manila/share/drivers/dell_emc/plugins/unity/connection.py
  3. +7
    -0
      releasenotes/notes/1841035-dellemc-unity-fix-ace-enable-error-b00281bb306d176b.yaml

+ 1
- 9
manila/share/drivers/dell_emc/plugins/unity/client.py View File

@@ -47,15 +47,7 @@ class UnityClient(object):
:return: UnityCifsShare object
"""
try:
share = 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
return resource.create_cifs_share(share_name)
except storops_ex.UnitySmbShareNameExistedError:
return self.get_share(share_name, 'CIFS')



+ 2
- 1
manila/share/drivers/dell_emc/plugins/unity/connection.py View File

@@ -42,9 +42,10 @@ from manila import utils
7.0.1 - Fix parsing management IPv6 address
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.1 - Bugfix: remove enable ace process when creating cifs share
"""

VERSION = "8.0.0"
VERSION = "8.0.1"

LOG = log.getLogger(__name__)
SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan')


+ 7
- 0
releasenotes/notes/1841035-dellemc-unity-fix-ace-enable-error-b00281bb306d176b.yaml View File

@@ -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…
Cancel
Save