RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2035066 - nvme cli rev 1.14 and later can fail ns attachment due to nqn upper vs lower case
Summary: nvme cli rev 1.14 and later can fail ns attachment due to nqn upper vs lower ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nvme-cli
Version: 8.5
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Maurizio Lombardi
QA Contact: Zhang Yi
URL:
Whiteboard:
Depends On:
Blocks: 2045147
TreeView+ depends on / blocked
 
Reported: 2021-12-22 19:59 UTC by James Smart
Modified: 2022-06-22 05:55 UTC (History)
9 users (show)

Fixed In Version: nvme-cli-1.16-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2045147 (view as bug list)
Environment:
Last Closed: 2022-05-10 15:24:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106454 0 None None None 2021-12-22 20:07:14 UTC
Red Hat Product Errata RHBA-2022:2059 0 None None None 2022-05-10 15:24:35 UTC

Description James Smart 2021-12-22 19:59:06 UTC
Description of problem:
Starting in nvme cli rev 1.14 (~April 2020) the CLI was changed for the
connect-all command which is used to query discovery log pages.  Prior to 1.14,
connections were attempted for all discovery log page elements obtained from
the discovery controller.  As of 1.14, the cli was changed to only connect to
discovery log entries that had the same traddr (WWPN) as that of the discovery
controller.  This was done to "optimize" the number of connections attempted
due to another OEM's array which consistently returned log records for
subsystems on different FC ports on the subsystem, some of which may be on
different fabrics.   The implementation of this cli change has the traddr of
the discovery controller, which was built by the nvme-fc transport in the
kernel and passed to the nvme-cli request, compared against the content of the
discovery log record.  The kernel builds the traddr string using lower-case
hexadecimal characters. It appears that the Pure discovery log record returns
traddr using upper-case hexadecimal characters.  Note: there is no statement in
the NVME-FC standard that it must be upper or lower so there is no standards
violation. When nvme-cli compares, it is not case-insensitive, thus the
kernel-created traddr does not match the PURE log traddrs and no connections
are attempted.


The fix to this issue has been submitted upstream and incorporated into nvme-cli, but the cli release has not been created. 

nvme-cli: nvmf-connect@.service: Remove matching from default syntax
https://github.com/linux-nvme/nvme-cli/commit/58c23ceb12d16756b2222a55d1d9dc5f34bb4fa4

https://github.com/linux-nvme/nvme-cli/commit/1264c6323937c4a0342174fdd9be5a66ab1eaf24
nvme-cli: Make connect-all matching be case insensitive

Both of these patches correct the issue. However, it is recommended that the first patch, removing "--matching" from the default connect service file be pulled in. This restores behavior of prior 8.x releases for the scripts.

Comment 9 errata-xmlrpc 2022-05-10 15:24:30 UTC
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 (nvme-cli 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-2022:2059


Note You need to log in before you can comment on or make changes to this bug.