Bug 1380448
Summary: | cmirror log device failure scenarios lead to deadlocks | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> | |
Component: | lvm2 | Assignee: | Heinz Mauelshagen <heinzm> | |
lvm2 sub component: | Clustered Mirror / cmirrord | QA Contact: | cluster-qe <cluster-qe> | |
Status: | CLOSED WONTFIX | Docs Contact: | ||
Severity: | medium | |||
Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, 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: | ||||
: | 1411900 (view as bug list) | Environment: | ||
Last Closed: | 2020-02-28 21:14:45 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1411900 |
Description
Corey Marthaler
2016-09-29 15:51:26 UTC
This is reproducible. Another similar scenario: kill_secondary_and_log_synced_4_legs Even the basic log only failure scenario can cause this. ================================================================================ Iteration 0.1 started at Thu Jul 6 16:37:21 CDT 2017 ================================================================================ ACTUAL LEG ORDER: /dev/sda1 /dev/sdb1 /dev/sdc1 Scenario kill_random_devices: Kill random devices (log and legs) ********* Mirror info for this scenario ********* * mirrors: mirror_1 * leg devices: /dev/sda1 /dev/sdb1 /dev/sdc1 * log devices: /dev/sdd1 * failpv(s): /dev/sdd1 * failnode(s): host-117 host-121 host-122 * lvmetad: 0 * leg fault policy: allocate * log fault policy: allocate ************************************************* Current mirror/raid device structure(s): LV Attr LSize Cpy%Sync Devices mirror_1 mwi-aom--- 2.00g 100.00 mirror_1_mimage_0(0),mirror_1_mimage_1(0),mirror_1_mimage_2(0) [mirror_1_mimage_0] iwi-aom--- 2.00g /dev/sda1(0) [mirror_1_mimage_1] iwi-aom--- 2.00g /dev/sdb1(0) [mirror_1_mimage_2] iwi-aom--- 2.00g /dev/sdc1(0) [mirror_1_mlog] lwi-aom--- 4.00m /dev/sdd1(0) PV=/dev/sdd1 mirror_1_mlog: 1.2 PV=/dev/sdd1 mirror_1_mlog: 1.2 Writing verification files (checkit) to mirror(s) on... ---- host-117 ---- ---- host-121 ---- ---- host-122 ---- <start name="host-117_mirror_1" pid="434" time="Thu Jul 6 16:37:30 2017 -0500" type="cmd" /> <start name="host-121_mirror_1" pid="435" time="Thu Jul 6 16:37:30 2017 -0500" type="cmd" /> <start name="host-122_mirror_1" pid="437" time="Thu Jul 6 16:37:30 2017 -0500" type="cmd" /> Sleeping 15 seconds to get some outsanding I/O locks before the failure Verifying files (checkit) on mirror(s) on... ---- host-117 ---- ---- host-121 ---- ---- host-122 ---- Disabling device sdd on host-117rescan device... Disabling device sdd on host-121rescan device... Disabling device sdd on host-122rescan device... [DEADLOCK] 3.10.0-689.el7.x86_64 lvm2-2.02.171-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 lvm2-libs-2.02.171-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 lvm2-cluster-2.02.171-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 device-mapper-1.02.140-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 device-mapper-libs-1.02.140-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 device-mapper-event-1.02.140-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 device-mapper-event-libs-1.02.140-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 device-mapper-persistent-data-0.7.0-0.1.rc6.el7 BUILT: Mon Mar 27 10:15:46 CDT 2017 cmirror-2.02.171-8.el7 BUILT: Wed Jun 28 13:28:58 CDT 2017 |