Bug 1261648
| Summary: | 'VG metadata comparison' issues after shared VG creation | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | David Teigland <teigland> |
| lvm2 sub component: | LVM lock daemon / lvmlockd | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, prajnoha, teigland, tlavigne, zkabelac |
| Version: | 7.2 | Keywords: | TestBlocker |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.130-2.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 12:48:01 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
2015-09-09 20:47:07 UTC
This seems to always happen after a 'vgscan' command. Adding blocker flag as I can't seem to get beyond this issue for more in depth testing of lvmlockd. setting up first "global lock" dummy vg for lvmlockd... harding-02: vgcreate --shared global /dev/mapper/mpathc1 harding-02: vgchange --lock-start global harding-03: vgchange --lock-start global Skipping global lock: lockspace not found or started creating shared VGs... Create 2 PV(s) for foo_bar on harding-02 harding-02: pvcreate /dev/mapper/mpathb1 /dev/mapper/mpatha1 harding-02: vgcreate --shared foo_bar /dev/mapper/mpathb1 /dev/mapper/mpatha1 harding-02: vgchange --lock-start foo_bar harding-03: vgchange --lock-start foo_bar Create 2 PV(s) for bar_foo on harding-02 harding-02: pvcreate /dev/mapper/mpathd1 /dev/mapper/mpathe1 harding-02: vgcreate --shared bar_foo /dev/mapper/mpathd1 /dev/mapper/mpathe1 harding-02: vgchange --lock-start bar_foo harding-03: vgchange --lock-start bar_foo first lvs after this fails and cleanup ends up requiring a reboot. [root@harding-02 ~]# lvs VG metadata comparison failed Volume group "bar_foo" not found Cannot process volume group bar_foo VG metadata comparison failed Volume group "foo_bar" not found Cannot process volume group foo_bar LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home rhel_harding-02 -wi-ao---- 200.97g root rhel_harding-02 -wi-ao---- 50.00g swap rhel_harding-02 -wi-ao---- 27.95g fixed here https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=0a26c20b88ab5fe7894a2e2207fd492aaca41095 Fix verified in the latest rpms. vgcreate --shared global /dev/sdd2 host-113.virt.lab.msp.redhat.com: vgchange --lock-start global creating lvm devices... host-113.virt.lab.msp.redhat.com: pvcreate /dev/sdd1 /dev/sdb2 /dev/sdb1 /dev/sdc2 /dev/sdc1 /dev/sda2 /dev/sda1 /dev/sde2 host-113.virt.lab.msp.redhat.com: vgcreate --shared snapper_thinp /dev/sdd1 /dev/sdb2 /dev/sdb1 /dev/sdc2 /dev/sdc1 /dev/sda2 /dev/sda1 /dev/sde2 host-113.virt.lab.msp.redhat.com: vgchange --lock-start snapper_thinp lvcreate --thinpool POOL --profile thin-performance --zero y -L 1G --poolmetadatasize 4M snapper_thinp Making origin volume lvcreate --virtualsize 1G -T snapper_thinp/POOL -n origin lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other1 WARNING: Sum of all thin volume sizes (2.00 GiB) exceeds the size of thin pool snapper_thinp/POOL (1.00 GiB)! lvcreate -V 1G -T snapper_thinp/POOL -n other2 WARNING: Sum of all thin volume sizes (3.00 GiB) exceeds the size of thin pool snapper_thinp/POOL (1.00 GiB)! lvcreate -V 1G -T snapper_thinp/POOL -n other3 WARNING: Sum of all thin volume sizes (4.00 GiB) exceeds the size of thin pool snapper_thinp/POOL (1.00 GiB)! lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other4 WARNING: Sum of all thin volume sizes (5.00 GiB) exceeds the size of thin pool snapper_thinp/POOL (1.00 GiB)! lvcreate --virtualsize 1G -T snapper_thinp/POOL -n other5 WARNING: Sum of all thin volume sizes (6.00 GiB) exceeds the size of thin pool snapper_thinp/POOL (1.00 GiB)! Making snapshot of origin volume lvcreate -k n -s /dev/snapper_thinp/origin -n display_snap 3.10.0-306.el7.x86_64 lvm2-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 lvm2-libs-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 lvm2-cluster-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-event-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-event-libs-1.02.107-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 device-mapper-persistent-data-0.5.5-1.el7 BUILT: Thu Aug 13 09:58:10 CDT 2015 cmirror-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 sanlock-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015 sanlock-lib-3.2.4-1.el7 BUILT: Fri Jun 19 12:48:49 CDT 2015 lvm2-lockd-2.02.130-2.el7 BUILT: Tue Sep 15 07:15:40 CDT 2015 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-2015-2147.html |