Re: Missing objects in targetcli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jonas,

On Wed, 2013-05-01 at 20:37 +0200, Jonas Israelsson wrote:
> Greetings,
> 
> first of all I am not sure if this is the right place to post user
> questions about targetcli. If not, please point me in the right direction.
> 
> To the problem now. I'm on opensuse 12.3 64-bit, while all kernel
> modules seem included I had (as stated by documentation) to download and
> build targetcli myself. Here I believe something is or went wrong. While
> targetcli starts without any errors or warnings the object-tree seem
> incomplete. For instance, from examples in the documentation I see when
> starting targetcli it says
> 
> Using ib_srpt fabric module.
> Using qla2xxx fabric module.
> Using iscsi fabric module.
> Using loopback fabric module.
> 
> This never happens, nor are any of those nodes available to configure.
> Furthermore I believe I read, when starting targetcli it should via
> rtslib fire up the modules needed, that does not happen either.
> 

>From what I can tell, OpenSuse incorrectly switched to the bogus
upstream version of rtslib on PYPI here: (CC'ing hare + saschpe)

https://build.opensuse.org/package/view_file?expand=1&file=python-rtslib.changes&package=python-rtslib&project=openSUSE%3AFactory

This version has since been removed from PYPI, and is/was not compatible
with the upstream targetcli either..

So, I'd recommend removing the default rtslib-2.1.fb27 package, and
installing rtslib.git + lio-utils.git from git.risingtidesystems.com
instead.

hare & saschpe, can you remove this version from the OpenSuse repo's,
and include the correct upstream, please..?

> Heres an sample output..
> 
> $ targetcli
> targetcli GIT_VERSION (rtslib GIT_VERSION)
> Copyright (c) 2011 by RisingTide Systems LLC.
> All rights reserved.
> /> ls
> o- /
> .........................................................................................................................
> [...]
>   o- backstores
> ..............................................................................................................
> [...]
>     o- fileio
> ...................................................................................................
> [0 Storage Object]
>     o- iblock
> ...................................................................................................
> [0 Storage Object]
>     o- pscsi
> ....................................................................................................
> [0 Storage Object]
>     o- rd_dr
> ....................................................................................................
> [0 Storage Object]
>     o- rd_mcp
> ...................................................................................................
> [0 Storage Object]
> 
> 
> I have a Qlogic FC HBA (2461) installed in this machine. The module
> qla2xxx is loaded and put into target mode, but it seem targetcli failes
> to detect and or communicate with it. It's like the link is broken.
> 
> Targetcli was downloaded from git yesterday and the kernel version 3.7 
> 
> HBA: ISP2432: PCIe (2.5GT/s x4) @ 0000:01:00.0 hdma+ host#=11 fw=5.08.00
> (9496).
> 
> $ cat /sys/module/qla2xxx/parameters/qlini_mode
> disabled
> 

This part all looks fine.

> Any help to resolve this would be much appreciated.
> 
> PS. The Opensuse article on the wiki is out of date and should be
> updated, I'd be glad to help out with that. DS
> 

Yes, thanks for the heads up.  Let's get this resolved with hare +
saschpe first, and then we'll get the wiki updated.

Thanks for reporting!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux