Re: targetcli do not show iscsi

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

 



Hi Luigi,

On 10/01/2014 01:36 PM, Luigi Tarenga wrote:
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.

Ah, right.
I need to update that, there were some changes in the versionning that breaks the included RPM packaging. Typically the packaging from the git repo is only used for development as distros tend to bin it and replace with their own. I will fix that ASAP.

For now I gave up building rpm and did a simple ./setup.py install:

Great :-)
However, you should generate a release first (make release) and then do the install from the generated tarball, as this will extract version information etc. from the git repo. Also, you will need to install the initscript manually.

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.

This is what I was talking about above, you need to generate a release tarball first (make release).


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

So, again, I would like to reproduce and solve this on CentOS / RHEL.
Can you confirm this is version 6.5 with custom-built kernel 3.16.3 ?

In any case, thanks for testing, I need that badly :-)

Best Regards,
--
Jerome
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux