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

sessions command doesn't work with ib_srpt #78

Open
agrover opened this issue Feb 22, 2017 · 1 comment
Open

sessions command doesn't work with ib_srpt #78

agrover opened this issue Feb 22, 2017 · 1 comment

Comments

@agrover
Copy link
Contributor

agrover commented Feb 22, 2017

reported by @celesteking in #12.

Our current sessions cmd works by parsing the nodeacl info file in configfs. see https://github.com/open-iscsi/rtslib-fb/blob/master/rtslib/target.py#L922. One way to solve this would be change ib_srpt in the kernel to report sessions there, so targetcli/rtslib would pick it up without change. Or, we could do something in rtslib to get this info for srpt another way, but this may be difficult because we don't currently have an abstraction that would let us override NodeACL behavior for a particular fabric type.

@celesteking
Copy link

Just wondering, is ib_srpt exposing this info at all, by any means?

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