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 1928298 - pvs outputs readlink failed for nvme devices
Summary: pvs outputs readlink failed for nvme devices
Keywords:
Status: CLOSED DUPLICATE of bug 1925871
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: David Teigland
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-12 22:13 UTC by Jeff Bailey
Modified: 2021-09-07 11:50 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-24 15:09:32 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Snippet from lvs -vvvvvv (2.09 KB, text/plain)
2021-02-12 22:13 UTC, Jeff Bailey
no flags Details

Description Jeff Bailey 2021-02-12 22:13:56 UTC
Created attachment 1756721 [details]
Snippet from lvs -vvvvvv

Description of problem:
Running pvs (or lvs, vgs, etc) produces error messages related to nvme devices.  These error messages contain non-UTF8 characters which cause problems with other code.

Version-Release number of selected component (if applicable):
lvm2-8:2.03.11-3.el8.x86_64

How reproducible:
Always.

Steps to Reproduce:
1.Run pvs with an nvme device.
2.
3.

Actual results:
[root@ceph0 ~]# pvs
  ▒▒▒▒▒▒▒▒▒P▒▒: readlink failed: Invalid argument
  Failed to get primary device for 259:1.
  ▒▒▒▒▒▒▒▒▒P▒▒: readlink failed: Invalid argument
  Failed to get primary device for 259:2.
  ▒▒▒▒▒▒▒▒▒P▒▒: readlink failed: Invalid argument
  Failed to get primary device for 259:3.
  ▒▒▒▒▒▒▒▒▒P▒▒: readlink failed: Invalid argument
  Failed to get primary device for 259:4.
  2: readlink failed: Invalid argument
  Failed to get primary device for 259:3.
  2: readlink failed: Invalid argument
  Failed to get primary device for 259:4.
  PV             VG                                        Fmt  Attr PSize   PFree
  /dev/nvme0n1p3 ceph0                                     lvm2 a--   11.00g      0
  /dev/nvme0n1p4 ceph-db                                   lvm2 a--  360.41g 120.41g
  /dev/sda       ceph-4feaf006-b0da-4c39-9b72-63dfaa96295e lvm2 a--   <9.10t      0
  /dev/sdb       ceph-927d5a7d-fa8a-4fd1-8574-1f4c998e1b09 lvm2 a--   <9.10t      0
  /dev/sdc       ceph-5a3581c4-3ceb-4f79-a8db-2cf7db8be160 lvm2 a--   14.55t      0
  /dev/sdd       ceph-c925fbac-ef3b-433a-ae30-959b36606321 lvm2 a--   14.55t      0
  /dev/sde       ceph-1663493c-cf0f-4173-af5d-17058af952cd lvm2 a--   14.55t      0
  /dev/sdf       ceph-f4cc5326-23aa-4b98-9e37-9c3b9725493c lvm2 a--   14.55t      0
  /dev/sdg       ceph-f9614e7e-1bfe-42d3-9f7a-433db505b342 lvm2 a--   14.55t      0
  /dev/sdh       ceph-a4728df1-b3c8-4125-b1cd-d8a9d7ed23ba lvm2 a--   14.55t      0


Expected results:
No error messages containing binary data that should presumably be a file name.

Additional info:

Comment 1 David Teigland 2021-02-12 22:37:43 UTC
This has been fixed in the latest build lvm2-2.03.11-4.el8, this is a duplicate of bug 1925871.

(I don't know if there's a special process for closing a centos stream bugs, so not closing as a duplicate yet.)

Comment 2 David Teigland 2021-08-24 15:09:32 UTC

*** This bug has been marked as a duplicate of bug 1925871 ***


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