Home > error 2201 > error 2201 celerra

Error 2201 Celerra

delete a NFS share in VNX 46/208846/2 authorpeter_wang Tue, 4 Aug https://community.emc.com/thread/96749?start=0&tstart=0 2015 01:07:34 +0000 (21:07 -0400) committerpeter_wang Tue, 4 Aug 2015 06:16:49 +0000 (02:16 -0400) Currently,ifusertrytodeleteseveralNFSshareonsameVDM, vnxbackendwouldreport:unabletoacquirelock(s) Thisfixistoprovidearetrylogicwhenmeetthisbackenderror Change-Id:I0dafbda265daf19de3d71ee91fc51fb62313e5ec Closes-Bug:1480856 manila/share/drivers/emc/plugins/vnx/constants.py patch | blob | history manila/share/drivers/emc/plugins/vnx/helper.py https://review.openstack.org/gitweb?p=openstack%2Fmanila.git;a=commitdiff;h=05394983db18af612995c63b1d30d05e977c3283 patch | blob | history manila/tests/share/drivers/emc/plugins/vnx/test_emc_vnx.py patch | blob | history diff --git a/manila/share/drivers/emc/plugins/vnx/constants.py b/manila/share/drivers/emc/plugins/vnx/constants.py index 305f7d7..5044f2c 100644 (file) --- a/manila/share/drivers/emc/plugins/vnx/constants.py +++ b/manila/share/drivers/emc/plugins/vnx/constants.py @@ -33,3 +33,5 @@XML_NAMESPACE='http://www.emc.com/schemas/celerra/xml_api' CIFS_ACL_FULLCONTROL='fullcontrol' CIFS_ACL_READ='read' + +SSH_DEFAULT_RETRY_PATTERN=r'Error2201:.*:unabletoacquirelock\(s\)' diff --git a/manila/share/drivers/emc/plugins/vnx/helper.py b/manila/share/drivers/emc/plugins/vnx/helper.py index 23fbbca..235a0fe 100644 (file) --- a/manila/share/drivers/emc/plugins/vnx/helper.py +++ b/manila/share/drivers/emc/plugins/vnx/helper.py @@ -16,6 +16,7 @@importcookielib importrandom importre +importeventlet fromeventletimportgreenthread fromlxmlimportbuilder fromlxmlimportetreeasET @@ -1272,14 +1273,14 @@classNASCommandHelper(object): defdelete_nfs_share(self,path,mover_name): result=(constants.STATUS_OK,'') -create_nfs_share_cmd=[ +delete_nfs_share_cmd=[ 'env','NAS_DB=/nas','/nas/bin/server_export',mover_name, '-unexport', '-perm', path, ] -out,err=self._execute_cmd(create_nfs_share_cmd) +out,err=self._execute_cmd(delete_nfs_share_cmd) ifre.search(r'%s\s*:\s*done'%mover_name,out): returnresult else: @@ -1521,8 +1522,17 @@classNASCommandHelper(object): else: returnconstant

tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download http://fossies.org/linux/manila/manila/share/drivers/emc/plugins/vnx/constants.py the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. For more information about "constants.py" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.0.1_vs_2.0.0. 1 # Copyright error 2201 (c) 2014 EMC Corporation. 2 # All Rights Reserved. 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 # not use this file except in compliance with the License. You may obtain 6 # a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 error 2201 celerra 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 # License for the specific language governing permissions and limitations 14 # under the License. 15 16 STATUS_OK = 'ok' 17 STATUS_INFO = 'info' 18 STATUS_DEBUG = 'debug' 19 STATUS_WARNING = 'warning' 20 STATUS_ERROR = 'error' 21 STATUS_NOT_FOUND = 'not_found' 22 23 MSG_GENERAL_ERROR = '13690601492' 24 MSG_INVALID_VDM_ID = '14227341325' 25 MSG_INVALID_MOVER_ID = '14227341323' 26 27 MSG_FILESYSTEM_NOT_FOUND = "18522112101" 28 MSG_FILESYSTEM_EXIST = '13691191325' 29 30 MSG_VDM_EXIST = '13421840550' 31 32 MSG_SNAP_EXIST = '13690535947' 33 34 MSG_INTERFACE_NAME_EXIST = '13421840550' 35 MSG_INTERFACE_EXIST = '13691781136' 36 MSG_INTERFACE_INVALID_VLAN_ID = '13421850371' 37 MSG_INTERFACE_NON_EXISTENT = '13691781134' 38 39 MSG_JOIN_DOMAIN = '13157007726' 40 MSG_UNJOIN_DOMAIN = '13157007723' 41 42 IP_ALLOCATIONS = 2 43 44 CONTENT_TYPE_URLENCODE = {'Content-Type&

 

Related content

error 2201

Error p Management Converged Platforms Data Protection Infrastructure Management Platform Solutions Security Storage Dell Products for Work Network Servers Education Partners Programs p p Management Converged Platforms Data Protection Infrastructure Management Platform Solutions Security Storage Dell Products for Work relatedl Network Servers Education Partners Programs Highlighted Communities Support raquo Connect raquo Developers raquo Partners raquo Downloads raquo EMC Community Dell Community A AppSync Application Xtender Atmos Avamar C Captiva Celerra Centera CLARiiON Cloud Tiering Appliance Connectrix D Data Domain Data Protection Advisor Disk Library DiskXtender Documentum E ECS eRoom G Greenplum H Host Systems I InfoArchive Isilon ISIS a href