Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MappedLUN constructor fails #90

Open
schegi opened this issue Feb 21, 2017 · 1 comment
Open

MappedLUN constructor fails #90

schegi opened this issue Feb 21, 2017 · 1 comment

Comments

@schegi
Copy link

schegi commented Feb 21, 2017

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
+ "a NodeACL object")
rtslib.utils.RTSLibError: The parent_nodeacl parameter must be a NodeACL object

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.

@agrover
Copy link
Contributor

agrover commented Feb 21, 2017

I can't reproduce. Can you give me more detailed steps to try? Also, what is the rtslib version? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants