Bug 1687841
Summary: | lsscsi: sdev_scandir_sort: left parse failed: nvme0n1 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Marco Patalano <mpatalan> |
Component: | lsscsi | Assignee: | Tomáš Bžatek <tbzatek> |
Status: | CLOSED ERRATA | QA Contact: | Marco Patalano <mpatalan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 | CC: | brsriniv, emilne, hannsj_uhl, kanagavalli.sridhar, nyewale, rhandlin, vincent.chen1, yi.he, zguo |
Target Milestone: | rc | ||
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lsscsi-0.32-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 14:56:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1733366, 1845977 |
Description
Marco Patalano
2019-03-12 13:28:10 UTC
I ran into the same issue. same issue was seen on RHEL8.2 and from google search, it seems a bug https://bugs.launchpad.net/ubuntu/+source/lsscsi/+bug/282518 same issue was seen on RHEL8.2 and from google search, it seems a bug https://bugs.launchpad.net/ubuntu/+source/lsscsi/+bug/282518 I am wondering why "lsscsi" is looking at NVMe devices, since NVMe is not SCSI. The ubuntu link says this was caused by a change in the SCSI subsystem, but doesn't say what that was. (It is a common belief that NVMe devices are supposed to work like SCSI devices from a protocol standpoint, but this is not the case. That doesn't mean that simple user commands that people have been accustomed to using should not work though, if it's easy enough.) Maybe, it is fixed in revision 152? https://fossies.org/diffs/lsscsi/0.30r149_vs_0.30r152/src/lsscsi.c-diff.html (In reply to Brahadambal Srinivasan from comment #5) > Maybe, it is fixed in revision 152? > > https://fossies.org/diffs/lsscsi/0.30r149_vs_0.30r152/src/lsscsi.c-diff.html For the record, lsscsi-0.30-1.el8 is built from lsscsi-030r154. While there's 0.31r160 upstream release it doesn't seem to contain any related fixes. Hello Tomas, I happened to check today and am not able to reproduce this issue with RHEL-8.2 and lsscsi-0.30-1.el8: # lsscsi [0:0:0:0] disk ATA INTEL SSDSC2CW12 400i /dev/sda [2:0:0:0] disk NETAPP LUN C-Mode 9700 /dev/sdb [2:0:1:0] disk NETAPP LUN C-Mode 9700 /dev/sdc [2:0:2:0] disk NETAPP LUN C-Mode 9700 /dev/sdd [2:0:3:0] disk NETAPP LUN C-Mode 9700 /dev/sde [3:0:0:0] disk NETAPP LUN C-Mode 9700 /dev/sdf [N:0:12161:1] disk NetApp ONTAP Controller__1 /dev/nvme0n1 [N:1:10560:1] disk NetApp ONTAP Controller__1 /dev/nvme1n1 [N:2:12225:1] disk NetApp ONTAP Controller__1 /dev/nvme2n1 [N:3:10624:1] disk NetApp ONTAP Controller__1 /dev/nvme3n1 The particular array was upgraded to OnTap 9.7 a few weeks ago so maybe related? Marco Thanks Marco, can you please check exact kernel version? Is this still the 4.18.0-74? Hello Tomas, This was with kernel-4.18.0-193.el8 which was included in the RHEL-8.2 RC 1.3 compose. Marco FYI, managed to reproduce this locally using nvmetcli loop with two namespaces and two connections: # ./lsscsi sdev_scandir_sort: left parse failed: nvme0c0n1 [N:0:1:1] disk Linux__1 - [N:0:1:2] disk Linux__2 - sdev_scandir_sort: left parse failed: nvme0c1n2 [N:0:2:2] disk Linux__2 - [N:0:2:1] disk Linux__1 - Bug is present in latest upstream lsscsi-0.31 release as well. Unrelated to RHEL8 either, reproducible on kernel 5.6.16. Reproduce with lsscsi-0.30-1.el8.x86_64: [root@pnate-client-01 ~]# rpm -qa lsscsi lsscsi-0.30-1.el8.x86_64 # lsscsi [0:2:0:0] disk DELL PERC H730P Mini 4.30 /dev/sda sdev_scandir_sort: left parse failed: nvme3c0n8 sdev_scandir_sort: left parse failed: nvme3c0n16 sdev_scandir_sort: left parse failed: nvme3c0n6 sdev_scandir_sort: left parse failed: nvme3c0n8 sdev_scandir_sort: left parse failed: nvme3c0n18 sdev_scandir_sort: left parse failed: nvme3c0n14 sdev_scandir_sort: left parse failed: nvme3c0n20 [N:3:256:8] disk NetApp ONTAP Controller__8 - [N:3:256:18] disk NetApp ONTAP Controller__18 - [N:3:256:6] disk NetApp ONTAP Controller__6 - [N:3:256:16] disk NetApp ONTAP Controller__16 - [N:3:256:4] disk NetApp ONTAP Controller__4 - Verified with lsscsi-0.32-2.el8.x86_64: # rpm -qa lsscsi lsscsi-0.32-2.el8.x86_64 [root@pnate-client-01 ~]# lsscsi [0:2:0:0] disk DELL PERC H730P Mini 4.30 /dev/sda [N:3:256:1] disk NetApp ONTAP Controller__1 - [N:3:256:2] disk NetApp ONTAP Controller__2 - [N:3:256:3] disk NetApp ONTAP Controller__3 - [N:3:256:4] disk NetApp ONTAP Controller__4 - [N:3:256:5] disk NetApp ONTAP Controller__5 - [N:3:256:6] disk NetApp ONTAP Controller__6 - [N:3:256:7] disk NetApp ONTAP Controller__7 - [N:3:256:8] disk NetApp ONTAP Controller__8 - [N:3:256:9] disk NetApp ONTAP Controller__9 - [N:3:256:10] disk NetApp ONTAP Controller__10 - [N:3:256:11] disk NetApp ONTAP Controller__11 - [N:3:256:12] disk NetApp ONTAP Controller__12 - [N:3:256:13] disk NetApp ONTAP Controller__13 - [N:3:256:14] disk NetApp ONTAP Controller__14 - [N:3:256:15] disk NetApp ONTAP Controller__15 - [N:3:256:16] disk NetApp ONTAP Controller__16 - [N:3:256:17] disk NetApp ONTAP Controller__17 - [N:3:256:18] disk NetApp ONTAP Controller__18 - [N:3:256:19] disk NetApp ONTAP Controller__19 - [N:3:256:20] disk NetApp ONTAP Controller__20 - [N:3:192:1] disk NetApp ONTAP Controller__1 - [N:3:192:2] disk NetApp ONTAP Controller__2 - [N:3:192:3] disk NetApp ONTAP Controller__3 - [N:3:192:4] disk NetApp ONTAP Controller__4 - [N:3:192:5] disk NetApp ONTAP Controller__5 - [N:3:192:6] disk NetApp ONTAP Controller__6 - [N:3:192:7] disk NetApp ONTAP Controller__7 - [N:3:192:8] disk NetApp ONTAP Controller__8 - [N:3:192:9] disk NetApp ONTAP Controller__9 - [N:3:192:10] disk NetApp ONTAP Controller__10 - [N:3:192:11] disk NetApp ONTAP Controller__11 - [N:3:192:12] disk NetApp ONTAP Controller__12 - [N:3:192:13] disk NetApp ONTAP Controller__13 - [N:3:192:14] disk NetApp ONTAP Controller__14 - [N:3:192:15] disk NetApp ONTAP Controller__15 - [N:3:192:16] disk NetApp ONTAP Controller__16 - [N:3:192:17] disk NetApp ONTAP Controller__17 - [N:3:192:18] disk NetApp ONTAP Controller__18 - [N:3:192:19] disk NetApp ONTAP Controller__19 - [N:3:192:20] disk NetApp ONTAP Controller__20 - [N:3:257:1] disk NetApp ONTAP Controller__1 - [N:3:257:2] disk NetApp ONTAP Controller__2 - [N:3:257:3] disk NetApp ONTAP Controller__3 - [N:3:257:4] disk NetApp ONTAP Controller__4 - [N:3:257:5] disk NetApp ONTAP Controller__5 - [N:3:257:6] disk NetApp ONTAP Controller__6 - Verified with lsscsi-0.32-2.el8 which is available in RHEL-8.4 compose RHEL-8.4.0-20201121.d.2. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (lsscsi bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1634 |