Bug 2095470

Summary: unnecessary unlock and warning when generating new random UUID for VG
Product: Red Hat Enterprise Linux 8 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Changing Logical Volumes QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: agk, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, teigland, zkabelac
Version: 8.6Keywords: Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.03.14-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 10:55:29 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:

Description Corey Marthaler 2022-06-09 18:23:31 UTC
Description of problem:

[root@hayes-01 ~]# vgcreate df /dev/sd[bcde]1
  Physical volume "/dev/sdd1" successfully created.
  Physical volume "/dev/sde1" successfully created.
  Volume group "df" successfully created
[root@hayes-01 ~]# vgchange -u df
  WARNING: devices file unlock no fd
  Volume group "df" successfully changed

Version-Release number of selected component (if applicable):
kernel-4.18.0-395.el8    BUILT: Tue May 24 16:38:07 CDT 2022
lvm2-2.03.14-3.el8    BUILT: Tue Jan  4 14:54:16 CST 2022
lvm2-libs-2.03.14-3.el8    BUILT: Tue Jan  4 14:54:16 CST 2022


How reproducible:
Everytime

Comment 3 Corey Marthaler 2022-06-21 22:22:29 UTC
Marking Verified:Tested with the initial 8.7 build. These warnings are no longer present.

kernel-4.18.0-400.el8    BUILT: Fri Jun 10 13:11:32 CDT 2022
lvm2-2.03.14-4.el8    BUILT: Wed Jun 15 17:14:34 CDT 2022
lvm2-libs-2.03.14-4.el8    BUILT: Wed Jun 15 17:14:34 CDT 2022


[root@hayes-02 ~]# pvscan
  PV /dev/sdb1   VG df              lvm2 [<1.82 TiB / <1.82 TiB free]
  PV /dev/sdc1   VG df              lvm2 [<1.82 TiB / <1.82 TiB free]
  PV /dev/sdd1   VG df              lvm2 [<1.82 TiB / <1.82 TiB free]
  PV /dev/sde1   VG df              lvm2 [<1.82 TiB / <1.82 TiB free]
  Total: 4 [<7.28 TiB] / in use: 4 [<7.28 TiB] / in no VG: 0 [0   ]
[root@hayes-02 ~]# vgchange -u df
  Volume group "df" successfully changed

Comment 7 Corey Marthaler 2022-07-28 16:16:12 UTC
Fix verified in the latest kernel/lvm2 rpms as well.

kernel-4.18.0-411.el8    BUILT: Wed Jul 20 18:42:42 CDT 2022
lvm2-2.03.14-5.el8    BUILT: Thu Jul 14 09:23:13 CDT 2022
lvm2-libs-2.03.14-5.el8    BUILT: Thu Jul 14 09:23:13 CDT 2022


[root@hayes-01 ~]# vgchange -u df
  Volume group "df" successfully changed

Comment 9 errata-xmlrpc 2022-11-08 10:55:29 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 (lvm2 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:7792