Browse Source

Merge "Fix incompatiblity issue in VNX manila driver"

Jenkins 3 years ago
parent
commit
69cbda4d00

+ 1
- 1
manila/share/drivers/emc/plugins/vnx/helper.py View File

@@ -1259,7 +1259,7 @@ class NASCommandHelper(object):
1259 1259
         share_path = '/' + share_name
1260 1260
         create_nfs_share_cmd = [
1261 1261
             'env', 'NAS_DB=/nas', '/nas/bin/server_export', mover_name,
1262
-            '-option', 'rw=-*.*.*.*,root=-*.*.*.*,access=-*.*.*.*',
1262
+            '-option', 'rw=-0.0.0.0,root=-0.0.0.0,access=-0.0.0.0',
1263 1263
             share_path,
1264 1264
         ]
1265 1265
 

+ 1
- 1
manila/tests/share/drivers/emc/plugins/vnx/test_emc_vnx.py View File

@@ -184,7 +184,7 @@ disks     = d7
184 184
 
185 185
     @staticmethod
186 186
     def create_nfs_export(vdm_name, path):
187
-        default_access = "rw=-*.*.*.*,root=-*.*.*.*,access=-*.*.*.*"
187
+        default_access = "rw=-0.0.0.0,root=-0.0.0.0,access=-0.0.0.0"
188 188
         return [
189 189
             'env', 'NAS_DB=/nas', '/nas/bin/server_export', vdm_name,
190 190
             '-option', default_access,

Loading…
Cancel
Save