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 2151535 - libblockdev-nvme: Fix getting NVMe namespace identifiers
Summary: libblockdev-nvme: Fix getting NVMe namespace identifiers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libblockdev
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2123337
TreeView+ depends on / blocked
 
Reported: 2022-12-07 13:16 UTC by Vojtech Trefny
Modified: 2023-05-09 08:14 UTC (History)
1 user (show)

Fixed In Version: libblockdev-2.28-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:28:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms libblockdev merge_requests 15 0 None opened - nvme: Fix namespace identifiers 2023-01-05 14:17:43 UTC
Red Hat Bugzilla 2123338 0 unspecified CLOSED Include libblockdev NVMe plugin in RHEL 9 2023-06-17 06:03:30 UTC
Red Hat Issue Tracker RHELPLAN-141537 0 None None None 2022-12-07 13:21:16 UTC
Red Hat Product Errata RHBA-2023:2172 0 None None None 2023-05-09 07:28:57 UTC

Description Vojtech Trefny 2022-12-07 13:16:18 UTC
We need to show the NID when selecting namespaces in the installer, so libblockdev needs to provide it for anaconda to show.

Comment 2 Tomáš Bžatek 2022-12-09 16:08:31 UTC
This small related change might fix some corner cases: https://github.com/storaged-project/libblockdev/pull/827

Comment 3 Tomáš Bžatek 2022-12-09 16:10:47 UTC
(In reply to Vojtech Trefny from comment #0)
> We need to show the NID when selecting namespaces in the installer, so
> libblockdev needs to provide it for anaconda to show.

The "NID" here is actually a list of namespace identifiers that we already provided: EUI64, NGUID and (Namespace) UUID. No new API is needed, the proposed patch above is a nice-to-have.

Comment 4 Vojtech Trefny 2023-01-05 14:16:30 UTC
I'we changed summary of the bug, as Tomas said, we already had those identifiers in libblockdev, we are just now better in making sure we get those identifiers. The biggest visible change is that instead of returning "0000000000000000" if we can't get the EUI64, we'll return NULL/None.

Comment 6 guazhang@redhat.com 2023-01-30 03:02:57 UTC
Hi,

libblockdev regression testing have tested pass.

Comment 11 errata-xmlrpc 2023-05-09 07:28:51 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 (libblockdev 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-2023:2172


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