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,
	"Nicholas A. Bellinger" <nab@linux-iscsi.org>
Subject: Re: targetcli do not show iscsi
Date: Tue, 30 Sep 2014 11:45:45 +0200	[thread overview]
Message-ID: <542A7BC9.2050708@netiant.com> (raw)
In-Reply-To: <542A7ADD.3040804@gmail.com>



On 09/30/2014 11:41 AM, Luigi Tarenga wrote:
>
> On 09/30/2014 11:28 AM, Jerome Martin wrote:
>> Luigi,
>>
>> Out of curiosity, does it work as expected with the stock fedora
>> packaged kernel ?
>>
>> Best,
>> --
>> Jerome
>>
>
> didn't test that configuration and since I can't find module
> iscsi_target_mod in stock

ok

> kernel I would have to recompile it against centos kernel. It's worth
> trying?

Sure :-)

>
> btw, I saw that after loading the module and manually create the iscsi
> directory this
> content automatically appear:
>
> # ll /sys/kernel/config/target/iscsi/
> total 0
> drwxr-xr-x 2 root root    0 Sep 30 11:38 discovery_auth
> -r--r--r-- 1 root root 4096 Sep 30 11:39 lio_version

Yes, it means that the iscsi module is correctly loaded.

>
> I start suspecting a problem with targetcli or  configshell. I
> regenerated the log.txt file:

Yes, as I said earlier I'll have to reproduce your setup and/or wait for 
Andy to come around.

>
> # targetcli /iscsi info
> No such path /iscsi
>
> # cat log.txt
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:932 run_cmdline()
> Running command line '/iscsi info'.
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:837
> _parse_cmdline() Parsing commandline.
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:844
> _parse_cmdline() [('path', 0, 6, []), ('command', 7, 11, None)]
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:848
> _parse_cmdline() Found path token /iscsi.
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:848
> _parse_cmdline() Found command token info.
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/shell.py:861
> _parse_cmdline() Parse gave path='/iscsi' command='info' pparams=[]
> kparams={}
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/node.py:1857 get_node()
> Looking for path '/iscsi'
> [DEBUG] 2014-30-09 11:40:52
> /usr/lib/python2.6/site-packages/configshell/node.py:1857 get_node()
> Looking for path 'iscsi'
> [ERROR] 2014-30-09 11:40:52 No such path /iscsi
>
> Luigi
> --
> To unsubscribe from this list: send the line "unsubscribe target-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-09-30  9:45 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 [this message]
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
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=542A7BC9.2050708@netiant.com \
    --to=jxm@netiant.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=luigi.tarenga@gmail.com \
    --cc=nab@linux-iscsi.org \
    --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.