Bug 1347047
| Summary: | pvscan error when running with lvmlockd | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
| lvm2 sub component: | LVM lock daemon / lvmlockd | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, prajnoha, teigland, zkabelac |
| Version: | 7.3 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:21:30 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: | |||
fixed here https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=944ae4d2df0f15afb29ac0a68d0dd012d9df9acf 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 ]
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 |
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