Open schegi opened 7 years ago
I wanted to create a mapped lun. I got a LUN object (lun) and an NodeACL object (acl). First i tried this:
'MappedLUN(acl, lun.lun, lun)' and it fails with
Traceback (most recent call last): File "", line 2, in File "/usr/lib/python2.7/site-packages/rtslib/target.py", line 1028, in init
with a 'type(acl)' i could verify that it is of type: <class 'rtslib_fb.target.NodeACL'>
But do it the other way with: acl.mapped_lun(lun.lun, lun) it worked.
I can't reproduce. Can you give me more detailed steps to try? Also, what is the rtslib version? Thanks.
I wanted to create a mapped lun. I got a LUN object (lun) and an NodeACL object (acl). First i tried this:
'MappedLUN(acl, lun.lun, lun)' and it fails with
Traceback (most recent call last): File "", line 2, in
File "/usr/lib/python2.7/site-packages/rtslib/target.py", line 1028, in init
with a 'type(acl)' i could verify that it is of type: <class 'rtslib_fb.target.NodeACL'>
But do it the other way with: acl.mapped_lun(lun.lun, lun) it worked.