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 1347047 - pvscan error when running with lvmlockd
Summary: pvscan error when running with lvmlockd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-15 21:56 UTC by Corey Marthaler
Modified: 2021-09-03 12:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 04:21:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1445 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2016-11-03 13:46:41 UTC

Description Corey Marthaler 2016-06-15 21:56:03 UTC
Description of problem:
[root@mckinley-02 ~]# systemctl status sanlock
â— sanlock.service - Shared Storage Lease Manager
   Loaded: loaded (/usr/lib/systemd/system/sanlock.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-06-15 16:30:00 CDT; 25min ago
  Process: 3070 ExecStart=/usr/sbin/sanlock daemon (code=exited, status=0/SUCCESS)
 Main PID: 3072 (sanlock)
   CGroup: /system.slice/sanlock.service
           ├─3072 /usr/sbin/sanlock daemon
           └─3073 /usr/sbin/sanlock daemon

Jun 15 16:39:02 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:39:02-0500 1477 [3082]: r11 paxos_acquire 41 owner is 1854 2 0
Jun 15 16:39:48 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:39:48-0500 1522 [3082]: r13 ballot 45 abort1 mbal 110 mbal[430] 431
Jun 15 16:39:48 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:39:48-0500 1522 [3082]: r13 paxos_acquire 45 retry delay 497583 us
Jun 15 16:39:48 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:39:48-0500 1523 [3082]: r13 paxos_acquire 45 owner is 1854 2 0
Jun 15 16:48:08 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:48:08-0500 2023 [3083]: r35 ballot 28 abort1 mbal 110 mbal[430] 431
Jun 15 16:48:08 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:48:08-0500 2023 [3083]: r35 paxos_acquire 28 retry delay 40105 us
Jun 15 16:48:08 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:48:08-0500 2023 [3083]: r35 paxos_acquire 28 owner is 1854 2 0
Jun 15 16:49:57 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:49:57-0500 2132 [3083]: r37 ballot 53 abort1 mbal 110 mbal[430] 431
Jun 15 16:49:57 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:49:57-0500 2132 [3083]: r37 paxos_acquire 53 retry delay 911816 us
Jun 15 16:49:58 mckinley-02.lab.msp.redhat.com sanlock[3072]: 2016-06-15 16:49:58-0500 2133 [3083]: r37 paxos_acquire 53 owner is 1854 3 0


[root@mckinley-02 ~]# pvscan
  Global lock failed: error -114.
  No matching physical volumes found



Version-Release number of selected component (if applicable):
3.10.0-418.el7.x86_64

lvm2-2.02.156-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
lvm2-libs-2.02.156-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
lvm2-cluster-2.02.156-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
device-mapper-1.02.126-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
device-mapper-libs-1.02.126-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
device-mapper-event-1.02.126-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
device-mapper-event-libs-1.02.126-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
device-mapper-persistent-data-0.6.2-0.1.rc8.el7    BUILT: Wed May  4 02:56:34 CDT 2016
cmirror-2.02.156-1.el7    BUILT: Mon Jun 13 03:05:51 CDT 2016
sanlock-3.3.0-1.el7    BUILT: Wed Feb 24 09:52:30 CST 2016
sanlock-lib-3.3.0-1.el7    BUILT: Wed Feb 24 09:52:30 CST 2016

Comment 4 Corey Marthaler 2016-08-01 19:58:27 UTC
Fix verified in the latest rpms. 

3.10.0-480.el7.x86_64
lvm2-2.02.161-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
lvm2-libs-2.02.161-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
lvm2-cluster-2.02.161-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
device-mapper-1.02.131-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
device-mapper-libs-1.02.131-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
device-mapper-event-1.02.131-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
device-mapper-event-libs-1.02.131-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
device-mapper-persistent-data-0.6.3-1.el7    BUILT: Fri Jul 22 05:29:13 CDT 2016
cmirror-2.02.161-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016
sanlock-3.3.0-1.el7    BUILT: Wed Feb 24 09:52:30 CST 2016
sanlock-lib-3.3.0-1.el7    BUILT: Wed Feb 24 09:52:30 CST 2016
lvm2-lockd-2.02.161-3.el7    BUILT: Thu Jul 28 09:31:24 CDT 2016





# No global lock VG yet:

[root@harding-02 ~]# systemctl status sanlock
â— sanlock.service - Shared Storage Lease Manager
   Loaded: loaded (/usr/lib/systemd/system/sanlock.service; disabled; vendor preset: disabled)
   Active: active (running) since Fri 2016-07-29 12:56:27 CDT; 3 days ago
  Process: 21904 ExecStart=/usr/sbin/sanlock daemon (code=exited, status=0/SUCCESS)
 Main PID: 21906 (sanlock)
   CGroup: /system.slice/sanlock.service
           ├─21906 /usr/sbin/sanlock daemon
           └─21907 /usr/sbin/sanlock daemon

Jul 29 12:56:27 harding-02.lab.msp.redhat.com systemd[1]: Starting Shared Storage Lease Manager...
Jul 29 12:56:27 harding-02.lab.msp.redhat.com systemd[1]: Started Shared Storage Lease Manager.
Aug 01 14:41:26 harding-02.lab.msp.redhat.com sanlock[21906]: 2016-08-01 14:41:26-0500 265997 [21914]: r2618 ballot 213 choose bk_max[289] lver 213 mbal 290 bal 290 inp 290 1 265989
Aug 01 14:41:26 harding-02.lab.msp.redhat.com sanlock[21906]: 2016-08-01 14:41:26-0500 265997 [21914]: r2618 ballot 213 commit other owner 290 1 265989


[root@harding-02 ~]# pvscan
  Skipping global lock: lockspace not found or started
  PV /dev/sda2   VG rhel_harding-02   lvm2 [92.16 GiB / 0    free]
  PV /dev/sdb1   VG rhel_harding-02   lvm2 [93.16 GiB / 0    free]
  PV /dev/sdc1   VG rhel_harding-02   lvm2 [93.16 GiB / 0    free]
  Total: 3 [278.47 GiB] / in use: 3 [278.47 GiB] / in no VG: 0 [0   ]

Comment 6 errata-xmlrpc 2016-11-04 04:21: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, 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://rhn.redhat.com/errata/RHBA-2016-1445.html


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