All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerome Martin <jxm@netiant.com>
To: Luigi Tarenga <luigi.tarenga@gmail.com>,
	linux-scsi@vger.kernel.org,
	"target-devel@vger.kernel.org >> target-devel"
	<target-devel@vger.kernel.org>
Subject: Re: targetcli do not show iscsi
Date: Wed, 01 Oct 2014 13:49:40 +0200	[thread overview]
Message-ID: <542BEA54.50903@netiant.com> (raw)
In-Reply-To: <542BE74F.3080102@gmail.com>

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

  parent reply	other threads:[~2014-10-01 11:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30  8:52 targetcli do not show iscsi Luigi Tarenga
2014-09-30  8:56 ` Jerome Martin
2014-09-30  9:04   ` Luigi Tarenga
2014-09-30  9:11     ` Jerome Martin
2014-09-30  9:20       ` Luigi Tarenga
2014-09-30  9:28         ` Jerome Martin
2014-09-30  9:41           ` Luigi Tarenga
2014-09-30  9:45             ` Jerome Martin
2014-09-30 15:21               ` Andy Grover
2014-09-30 15:26                 ` Jerome Martin
2014-09-30 15:35                 ` Luigi Tarenga
2014-09-30 15:52                   ` Luigi Tarenga
2014-09-30 16:49                     ` Luigi Tarenga
2014-09-30 16:52                       ` Jerome Martin
2014-09-30 17:01                         ` Luigi Tarenga
2014-09-30 17:09                           ` Jerome Martin
     [not found]                             ` <542BE74F.3080102@gmail.com>
2014-10-01 11:49                               ` Jerome Martin [this message]
2014-10-01 12:30                                 ` Luigi Tarenga
2014-10-01 12:35                                   ` Luigi Tarenga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542BEA54.50903@netiant.com \
    --to=jxm@netiant.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=luigi.tarenga@gmail.com \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.