open-iscsi / targetcli-fb

Command shell for managing Linux LIO kernel target
Apache License 2.0
103 stars 69 forks source link

ib_srpt not working #19

Closed TheImperial2004 closed 11 years ago

TheImperial2004 commented 11 years ago

Trying to create an IB SRP target (I have IB in my server) :

/ib_srpt> create eui.0002c903000e3e77

The shell returns this :

The underlying rtslib object for /ib_srpt does not exist.

agrover commented 11 years ago

Hi thx for report. Out of office, will look at when I'm back on the 20th.

TheImperial2004 commented 11 years ago

Any updates on this issue ?

agrover commented 11 years ago

Hacking away, I should have things ironed out by early this coming week I think.

agrover commented 11 years ago

Just pushed changes that get things configured for me. Sorry it took so long. BTW srp WWNs are now type "ib" instead of "eui", so watch out for that.

Does this fix things for you?

TheImperial2004 commented 11 years ago

Thanks . I'll compile and test as soon as I get back from work .

TheImperial2004 commented 11 years ago

Hi . I don't know what exactly I'm doing wrong , I replaced these files : ui_node.py ui_target.py

With the ones in the git repo.

Going to the ib_srpt :

/ib_srpt> create ib.0002c903000e3e77 Could not create SRPTFabricModule in configFS.

Sorry for the trouble !

EDIT : Forgot to update rtslib files too . Now it's working . I'll see if everything is alright and close this issue by tonight . Thank you !

JonnyJD commented 11 years ago

Is there a new release coming soon?

I would like to use that fix in the Arch Linux package. I can also just add a patch to the package, but as far as I understood there are multiple interconnected commits in targetcli and rtslib and I would probably break things just using 1-2 of these commits.

Or is there one commit that fixes only this issue?

agrover commented 11 years ago

Early this coming week.

JonnyJD commented 11 years ago

Great, thanks.