From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 111441] iscsi fails to attach to targets
Date: Fri, 29 Jan 2016 22:21:59 +0000 [thread overview]
Message-ID: <bug-111441-11613-8YMxYE8sBk@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-111441-11613@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=111441
--- Comment #7 from Serguei Bezverkhi <sbezverk@cisco.com> ---
HI Mike,
I tried your patch and it is has eliminated first traceback but I still do not
see my remote targets.
Here is dmesg
[ 26.103812] scsi 3:0:0:2: Direct-Access LIO-ORG san-disk-2 4.0
PQ: 0 ANSI: 5
[ 26.104338] sd 3:0:0:2: alua: supports implicit and explicit TPGS
[ 26.104549] sd 3:0:0:2: alua: No target port descriptors found
[ 26.104552] sd 3:0:0:2: alua: Attach failed (-22)
[ 26.104554] sd 3:0:0:2: failed to add device handler: -22
[ 26.104578] sd 3:0:0:2: [sdc] 20507809792 512-byte logical blocks: (10.4
TB/9.54 TiB)
[ 26.104905] sd 3:0:0:2: [sdc] Write Protect is off
[ 26.104908] sd 3:0:0:2: [sdc] Mode Sense: 43 00 10 08
[ 26.105036] sd 3:0:0:2: [sdc] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 26.112294] scsi host6: iSCSI Initiator over TCP/IP
[ 26.113279] scsi 4:0:0:3: Direct-Access LIO-ORG san-disk-3 4.0
PQ: 0 ANSI: 5
[ 26.113690] sd 4:0:0:3: alua: supports implicit and explicit TPGS
[ 26.113877] sd 4:0:0:3: [sdd] 9765625856 512-byte logical blocks: (5.00
TB/4.54 TiB)
[ 26.113948] sd 4:0:0:3: alua: No target port descriptors found
[ 26.113951] sd 4:0:0:3: alua: Attach failed (-22)
[ 26.113953] sd 4:0:0:3: failed to add device handler: -22
[ 26.114292] sd 4:0:0:3: [sdd] Write Protect is off
[ 26.114295] sd 4:0:0:3: [sdd] Mode Sense: 43 00 10 08
[ 26.114503] sd 4:0:0:3: [sdd] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 26.123875] scsi 5:0:0:1: Direct-Access LIO-ORG san-disk-1 4.0
PQ: 0 ANSI: 5
[ 26.123911] scsi 6:0:0:4: Direct-Access LIO-ORG san-disk-4 4.0
PQ: 0 ANSI: 5
[ 26.124452] sd 6:0:0:4: alua: supports implicit and explicit TPGS
[ 26.124453] sd 5:0:0:1: alua: supports implicit and explicit TPGS
[ 26.124724] sd 5:0:0:1: alua: No target port descriptors found
[ 26.124727] sd 5:0:0:1: alua: Attach failed (-22)
[ 26.124728] sd 5:0:0:1: failed to add device handler: -22
[ 26.124736] sd 6:0:0:4: [sde] 10742171648 512-byte logical blocks: (5.49
TB/5.00 TiB)
[ 26.124773] sd 5:0:0:1: [sdf] 7812499389 512-byte logical blocks: (3.99
TB/3.63 TiB)
[ 26.124777] sd 6:0:0:4: alua: No target port descriptors found
[ 26.124779] sd 6:0:0:4: alua: Attach failed (-22)
[ 26.124780] sd 6:0:0:4: failed to add device handler: -22
[ 26.125182] sd 5:0:0:1: [sdf] Write Protect is off
[ 26.125184] sd 5:0:0:1: [sdf] Mode Sense: 43 00 10 08
[ 26.125217] sd 6:0:0:4: [sde] Write Protect is off
[ 26.125220] sd 6:0:0:4: [sde] Mode Sense: 43 00 10 08
[ 26.125306] sd 5:0:0:1: [sdf] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 26.125512] sd 6:0:0:4: [sde] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 26.129633] sdf: sdf1
[ 26.130637] sd 5:0:0:1: [sdf] Attached SCSI disk
[ 26.144377] ixgbe 0000:04:00.0: registered PHC device on enp4s0f0
[ 26.149072] sdc: sdc1
[ 26.150434] sd 3:0:0:2: [sdc] Attached SCSI disk
[ 26.190709] sdd: sdd1 sdd2
[ 26.193348] sd 4:0:0:3: [sdd] Attached SCSI disk
[ 26.230515] sde: sde1
[ 26.231674] sd 6:0:0:4: [sde] Attached SCSI disk
[ 26.231987] sd 6:0:0:4: [sde] Synchronizing SCSI cache
[ 26.232021] sd 5:0:0:1: [sdf] Synchronizing SCSI cache
[ 26.233212] sd 3:0:0:2: [sdc] Synchronizing SCSI cache
[ 26.233440] sd 4:0:0:3: [sdd] Synchronizing SCSI cache
[ 26.236755] Buffer I/O error on dev sdc, logical block 2563476132, async
page read
[ 26.238897] Buffer I/O error on dev sdd, logical block 1220703182, async
page read
[ 26.245773] ixgbe 0000:04:00.1: SR-IOV enabled with 8 VFs
[ 26.245775] ixgbe 0000:04:00.1: configure port vlans to keep your VFs secure
[ 26.274544] scsi 6:0:0:0: Unexpected response from lun 4 while scanning,
scan aborted
[ 26.283173] scsi 3:0:0:0: Unexpected response from lun 2 while scanning,
scan aborted
[ 26.288571] scsi 4:0:0:0: Unexpected response from lun 3 while scanning,
scan aborted
[ 26.288618] scsi 5:0:0:0: Unexpected response from lun 1 while scanning,
scan aborted
Second traceback is gone too, but still no luck attaching local iscsi targets
either.
[ 639.148875] TARGET_CORE[iSCSI]: Expected Transfer Length: 264 does not match
SCSI CDB Length: 8 for SAM Opcode: 0x12
[ 639.148911] sd 7:0:0:0: [sdc] 115343360 512-byte logical blocks: (59.0
GB/55.0 GiB)
[ 639.148925] sd 7:0:0:0: alua: No target port descriptors found
[ 639.148928] sd 7:0:0:0: alua: Attach failed (-22)
[ 639.149186] sd 7:0:0:0: [sdc] Write Protect is off
[ 639.149188] sd 7:0:0:0: [sdc] Mode Sense: 43 00 10 08
[ 639.149279] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 639.149298] iSCSI/iqn.1994-05.com.redhat:cf7f1fafca4b: Unsupported SCSI
Opcode 0xa3, sending CHECK_CONDITION.
[ 639.149530] sd 7:0:0:0: failed to add device handler: -22
[ 639.154762] sd 7:0:0:0: [sdc] Attached SCSI disk
[ 639.154857] sd 7:0:0:0: [sdc] Synchronizing SCSI cache
[ 655.279047] scsi 7:0:0:0: Direct-Access LIO-ORG IBLOCK 4.0
PQ: 0 ANSI: 5
[ 655.279397] sd 7:0:0:0: alua: supports implicit and explicit TPGS
[ 655.279503] TARGET_CORE[iSCSI]: Expected Transfer Length: 264 does not match
SCSI CDB Length: 8 for SAM Opcode: 0x12
[ 655.279533] sd 7:0:0:0: alua: No target port descriptors found
[ 655.279535] sd 7:0:0:0: alua: Attach failed (-22)
[ 655.279587] sd 7:0:0:0: [sdc] 115343360 512-byte logical blocks: (59.0
GB/55.0 GiB)
[ 655.279848] sd 7:0:0:0: [sdc] Write Protect is off
[ 655.279849] sd 7:0:0:0: [sdc] Mode Sense: 43 00 10 08
[ 655.279981] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled,
supports DPO and FUA
[ 655.280034] iSCSI/iqn.1994-05.com.redhat:cf7f1fafca4b: Unsupported SCSI
Opcode 0xa3, sending CHECK_CONDITION.
[ 655.280171] sd 7:0:0:0: failed to add device handler: -22
[ 655.286008] sd 7:0:0:0: [sdc] Attached SCSI disk
[ 655.286132] sd 7:0:0:0: [sdc] Synchronizing SCSI cache
Serguei Bezverkhi,
TECHNICAL LEADER.SERVICES
Global SP Services
sbezverk@cisco.com
Phone: +1 416 306 7312
Mobile: +1 514 234 7374
CCIE (R&S,SP,Sec) - #9527
Cisco.com
Think before you print.
This email may contain confidential and privileged material for the sole use of
the intended recipient. Any review, use, distribution or disclosure by others
is strictly prohibited. If you are not the intended recipient (or authorized to
receive for the recipient), please contact the sender by reply email and delete
all copies of this message.
Please click here for Company Registration Information.
-----Original Message-----
From: Mike Christie [mailto:michaelc@cs.wisc.edu]
Sent: Friday, January 29, 2016 2:27 PM
To: Serguei Bezverkhi (sbezverk) <sbezverk@cisco.com>
Cc: bugzilla-daemon@bugzilla.kernel.org; linux-scsi@vger.kernel.org
Subject: Re: [Bug 111441] New: iscsi fails to attach to targets
On 01/29/2016 01:11 PM, Serguei Bezverkhi (sbezverk) wrote:
> If you send me the diff for your patch, I will build new kernel myself.
>
Bugzilla must be messing something up. I attached to one of the previous mails.
Attaching it here again.
Email me offlist and without bugzilla if you do not get it here.
The patch will fix the syfs bug ons you are hitting.
I am not sure if it will fix the genhd one. We can deal with that one next if
it is a different issue.
> Serguei
>
>
> Serguei Bezverkhi,
> TECHNICAL LEADER.SERVICES
> Global SP Services
> sbezverk@cisco.com
> Phone: +1 416 306 7312
> Mobile: +1 514 234 7374
>
> CCIE (R&S,SP,Sec) - #9527
>
> Cisco.com
>
>
>
> Think before you print.
> This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
> Please click here for Company Registration Information.
>
>
>
>
> -----Original Message-----
> From: Michael Christie [mailto:michaelc@cs.wisc.edu]
> Sent: Friday, January 29, 2016 2:09 PM
> To: Serguei Bezverkhi (sbezverk) <sbezverk@cisco.com>
> Cc: bugzilla-daemon@bugzilla.kernel.org; linux-scsi@vger.kernel.org
> Subject: Re: [Bug 111441] New: iscsi fails to attach to targets
>
>
>> On Jan 29, 2016, at 6:04 AM, Serguei Bezverkhi (sbezverk) <sbezverk@cisco.com> wrote:
>>
>> Actually this server uses both cases: Local taregts (since it is OpenStack server) and remote targets as it tries to mount 4 remotefile systems.
>>
>> You are correct, I always use the same box I just change the kernel it is using to boot. No other changes to the environment. I do not mind to load a test kernel without that suspected patch, just get me the RPM.
>>
>
> I do not know what you mean. I think the patch I sent will fix the sysfs errors caused due to alua not being setup properly on your system and scsi_dh_alua failing to attach. That patch should be applied to the 4.4 upstream kernel. Are you saying you want me to make you a kernel rpm?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi"
> in the body of a message to majordomo@vger.kernel.org More majordomo
> info at http://vger.kernel.org/majordomo-info.html
>
--
You are receiving this mail because:
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-01-29 22:22 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 22:51 [Bug 111441] New: iscsi fails to attach to targets bugzilla-daemon
2016-01-29 1:53 ` Mike Christie
2016-01-29 2:13 ` Mike Christie
2016-01-29 2:55 ` Serguei Bezverkhi (sbezverk)
2016-01-29 8:01 ` Michael Christie
2016-01-29 8:25 ` Mike Christie
2016-01-29 12:04 ` Serguei Bezverkhi (sbezverk)
2016-01-29 19:08 ` Michael Christie
2016-01-29 19:11 ` Serguei Bezverkhi (sbezverk)
2016-01-29 19:26 ` Mike Christie
2016-01-29 22:21 ` Serguei Bezverkhi (sbezverk)
2016-01-29 23:32 ` Mike Christie
2016-01-30 7:38 ` Nicholas A. Bellinger
2016-02-01 16:55 ` Mike Christie
2016-02-02 16:41 ` Serguei Bezverkhi (sbezverk)
2016-02-02 22:56 ` Nicholas A. Bellinger
2016-02-02 23:21 ` Serguei Bezverkhi (sbezverk)
2016-02-08 8:01 ` Nicholas A. Bellinger
2016-02-16 19:08 ` Hannes Reinecke
2016-02-27 22:15 ` Nicholas A. Bellinger
2016-02-02 18:09 ` Christoph Hellwig
2016-02-02 20:12 ` Mike Christie
2016-02-02 20:25 ` Serguei Bezverkhi (sbezverk)
2016-02-02 21:54 ` Serguei Bezverkhi (sbezverk)
2016-02-22 0:45 ` Serguei Bezverkhi (sbezverk)
2016-02-22 7:08 ` Hannes Reinecke
2016-02-22 11:36 ` Serguei Bezverkhi (sbezverk)
2016-01-29 3:00 ` [Bug 111441] " bugzilla-daemon
2016-01-29 3:05 ` bugzilla-daemon
2016-01-29 3:32 ` bugzilla-daemon
2016-01-29 3:40 ` bugzilla-daemon
2016-01-29 12:04 ` bugzilla-daemon
2016-01-29 19:11 ` bugzilla-daemon
2016-01-29 22:21 ` bugzilla-daemon [this message]
2016-01-30 7:46 ` bugzilla-daemon
2016-02-01 2:13 ` bugzilla-daemon
2016-02-02 16:41 ` bugzilla-daemon
2016-02-02 20:25 ` bugzilla-daemon
2016-02-02 22:03 ` bugzilla-daemon
2016-02-02 22:56 ` bugzilla-daemon
2016-02-02 23:21 ` bugzilla-daemon
2016-02-08 8:01 ` bugzilla-daemon
2016-02-22 0:45 ` bugzilla-daemon
2016-02-22 7:08 ` bugzilla-daemon
2016-02-22 11:36 ` bugzilla-daemon
2016-02-27 22:15 ` bugzilla-daemon
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=bug-111441-11613-8YMxYE8sBk@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).