Re: targetcli do not show iscsi

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

 




oops... ok Jerome I'll be happy to help doing some tests.
Just forgive me, I'm very new to LIO:
what do you mean for v3.x?

I mean targetcli version 3.x

or the targetcli branch from Datera?

OK, as you are new, a little catchup summary :-)

The "targetcli branch from Datera" is the main targetcli repository.
I am actually the original author of targetcli, and still develop it using the Datera repository on GitHub, which is the official home for targetcli on the web.

The "fb" branch done by Andy is a fork of targetcli version 2, and is used in RedHat distributions.

If you look a bit in the mailing list, you'll also notice discussions with Andy to reunify his fork and my code.

Best,
--
Jerome

Hi Jerome,
I did some test with 3.x version but I have some problem.
Let's start saying i cloned your git repos.

I have a problem generating the rpm with all 3 package (configshell, rtslib, targetcli):
# make rpm
Exporting the repository files...
Cleaning up the target tree...
Fixing version string...
Generating rpm specfile from template...
Generating rpm changelog...
Generating debian changelog...
Generated release tarball:
    dist/configshell-1.5-4-g0827baa.tar.gz
Building rpm packages...
error: line 7: Illegal char '-' in: Version:        1.5-4-g0827baa
make: *** [build/rpm-stamp] Error 1

the error is the same, seem you can't use a hyphen in the version.


For now I gave up building rpm and did a simple ./setup.py install:
still having an issue about the listing of iscsi fabric:
# /usr/bin/targetcli ls
o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] o- fileio ................................................................................................... [0 Storage Object] o- iblock ................................................................................................... [0 Storage Object] o- pscsi .................................................................................................... [0 Storage Object] o- rd_mcp ................................................................................................... [0 Storage Object]

# /usr/bin/targetcli version
Cannot find configshell version. The configshell package has probably not been built properly from either the git repository or a public tarball. Cannot find rtslib version. The rtslib package has probably not been built properly from either the git repository or a public tarball. Cannot find targetcli version. The targetcli package has probably not been built properly from either the git repository or a public tarball.

I tried with both python (stock from centos) and python2.7 (compiled from source in /usr/local)

Luigi
--
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