You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Incorrect response from nfs_share create() call
Description: When we have two filesystems with same name on different NAS, and then we try to create NFS on both the filesystems with same name, nfs_share.py create() function returns wrong/different nfs share object.
Steps to reproduce the issue:
create filesystem 'abc' on nasserver 'lglad071'
create filesystem 'abc' on nasserver 'lglad069'
create NFS 'test_nfs' from filesystem 'abc' which is on nasserver 'lglad071'
create NFS 'test_nfs' from filesystem 'abc' which is on nasserver 'lglad069' using below code snippet:
from storops.unity.resource import nfs_share
from storops import UnitySystem
# Create connection object
>>> conn = UnitySystem('xx.xx.xx.xx', 'username', 'password', verify=False)
# Get NAS object
>>> nas_obj = conn.get_nas_server(name="lglad069")
# Get Filesystem object
>>> fs = conn.get_filesystem(name="abc", nas_server=nas_obj)
# Create NFS Share
>>> nfs = nfs_share.UnityNfsShare.create(conn._cli, "test_nfs", fs)
# Validate created NFS Share
>>> nfs.filesystem.nas_server.name # should return 'lglad069'
'lglad071'
nfs_share.create() call returns wrong/different nfs_share obj whose name is same as we gave in create(name=''test_nfs) parameter
The text was updated successfully, but these errors were encountered:
Issue: Incorrect response from nfs_share create() call
Description: When we have two filesystems with same name on different NAS, and then we try to create NFS on both the filesystems with same name, nfs_share.py create() function returns wrong/different nfs share object.
Steps to reproduce the issue:
nfs_share.create() call returns wrong/different nfs_share obj whose name is same as we gave in create(name=''test_nfs) parameter
The text was updated successfully, but these errors were encountered: