Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The mirror_sanity scenario snaphot_exclusive_mirror hangs. It attempts to create five snapshots of an exclusively activated cluster mirror but the third lvcreate hangs. dmsetup info output shows that several devices are left in a suspended state.
Version-Release number of selected component (if applicable):
2.6.32-128.el6.x86_64
lvm2-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
lvm2-libs-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
lvm2-cluster-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
udev-147-2.35.el6 BUILT: Wed Mar 30 07:32:05 CDT 2011
device-mapper-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-event-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
device-mapper-event-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
cmirror-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
How reproducible:
easily
Steps to Reproduce:
lvcreate -m 1 -n exclusive_origin -L 100M mirror_sanity
lvchange -an /dev/mirror_sanity/exclusive_origin
lvchange -aye /dev/mirror_sanity/exclusive_origin
lvcreate -s mirror_sanity/exclusive_origin -n msnap_1 -L 20M
lvcreate -s mirror_sanity/exclusive_origin -n msnap_2 -L 20M
lvcreate -s mirror_sanity/exclusive_origin -n msnap_3 -L 20M <-- hangs
Actual results:
SCENARIO - [snaphot_exclusive_mirror]
Snapshot an exclusively activated mirror
buzz-01: lvcreate -m 1 -n exclusive_origin -L 100M mirror_sanity
Deactivate and then exclusively activate mirror
Taking multiple snapshots of exclusive mirror
1 2 3 Error locking on node buzz-01: Command timed out
Failed to suspend origin exclusive_origin
Error locking on node buzz-01: Command timed out
Attempt to drop cached metadata failed after reverted update for VG mirror_sanity.
Error locking on node buzz-01: Command timed out
Error locking on node buzz-01: Command timed out
[root@buzz-01 ~]# dmsetup info
Name: mirror_sanity-msnap_2
State: SUSPENDED
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 253, 10
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyu1BbbGrvMqVuOdQRuQJxupYP05yBXdJo
Name: mirror_sanity-msnap_3-cow
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 13
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyipNpM1jt8J0dC6L6O8UWgqF7GokXaRk2-cow
Name: mirror_sanity-msnap_1
State: SUSPENDED
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 253, 7
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyKsXBmpFgjrxz6TWxVuXmt6d9BhbjkcmD
Name: mirror_sanity-exclusive_origin_mimage_1
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 5
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMy9OXr1prrwVPscf5DWclfloAKBRfwKKzV
Name: mirror_sanity-exclusive_origin_mimage_0
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 4
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyAwD1WWxn1bt8kMNUYeBLrnegOQxOuHVE
Name: mirror_sanity-msnap_1-cow
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 9
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyKsXBmpFgjrxz6TWxVuXmt6d9BhbjkcmD-cow
Name: mirror_sanity-exclusive_origin_mlog
State: SUSPENDED
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 3
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyYHQW6DNxDAINJw989Eel6hM8X5Zvapfw
Name: mirror_sanity-exclusive_origin
State: SUSPENDED
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 253, 6
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyReG9l74Dcqj0S69nYOYSnuLX6Ar2HUsL
Name: mirror_sanity-exclusive_origin-real
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 4
Event number: 0
Major, minor: 253, 8
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyReG9l74Dcqj0S69nYOYSnuLX6Ar2HUsL-real
Name: mirror_sanity-msnap_2-cow
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 253, 11
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyu1BbbGrvMqVuOdQRuQJxupYP05yBXdJo-cow
Name: mirror_sanity-msnap_3
State: ACTIVE
Read Ahead: 256
Tables present: LIVE & INACTIVE
Open count: 0
Event number: 0
Major, minor: 253, 12
Number of targets: 1
UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyipNpM1jt8J0dC6L6O8UWgqF7GokXaRk2
[root@buzz-01 ~]# dmsetup table --target mirror
mirror_sanity-exclusive_origin-real: 0 204800 mirror userspace 4 LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyYHQW6DNxDAINJw989Eel6hM8X5Zvapfw clustered-disk 253:3 1024 2 253:4 0 253:5 0 1 handle_errors
Expected results:
Additional info:
Comment 2RHEL Program Management
2011-04-06 16:23:32 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Created attachment 490354[details]
clvmd -d output during reproduction
I ran this through with debug on twice. Once I typed the commands in by hand, which did not reproduce. Then again by pasting all commands into the terminal, this did reproduce the hang.
The log contains all output from both runs with # comments between each stage.
Description of problem: The mirror_sanity scenario snaphot_exclusive_mirror hangs. It attempts to create five snapshots of an exclusively activated cluster mirror but the third lvcreate hangs. dmsetup info output shows that several devices are left in a suspended state. Version-Release number of selected component (if applicable): 2.6.32-128.el6.x86_64 lvm2-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-libs-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-cluster-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 udev-147-2.35.el6 BUILT: Wed Mar 30 07:32:05 CDT 2011 device-mapper-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 cmirror-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 How reproducible: easily Steps to Reproduce: lvcreate -m 1 -n exclusive_origin -L 100M mirror_sanity lvchange -an /dev/mirror_sanity/exclusive_origin lvchange -aye /dev/mirror_sanity/exclusive_origin lvcreate -s mirror_sanity/exclusive_origin -n msnap_1 -L 20M lvcreate -s mirror_sanity/exclusive_origin -n msnap_2 -L 20M lvcreate -s mirror_sanity/exclusive_origin -n msnap_3 -L 20M <-- hangs Actual results: SCENARIO - [snaphot_exclusive_mirror] Snapshot an exclusively activated mirror buzz-01: lvcreate -m 1 -n exclusive_origin -L 100M mirror_sanity Deactivate and then exclusively activate mirror Taking multiple snapshots of exclusive mirror 1 2 3 Error locking on node buzz-01: Command timed out Failed to suspend origin exclusive_origin Error locking on node buzz-01: Command timed out Attempt to drop cached metadata failed after reverted update for VG mirror_sanity. Error locking on node buzz-01: Command timed out Error locking on node buzz-01: Command timed out [root@buzz-01 ~]# dmsetup info Name: mirror_sanity-msnap_2 State: SUSPENDED Read Ahead: 256 Tables present: LIVE Open count: 0 Event number: 0 Major, minor: 253, 10 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyu1BbbGrvMqVuOdQRuQJxupYP05yBXdJo Name: mirror_sanity-msnap_3-cow State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 13 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyipNpM1jt8J0dC6L6O8UWgqF7GokXaRk2-cow Name: mirror_sanity-msnap_1 State: SUSPENDED Read Ahead: 256 Tables present: LIVE Open count: 0 Event number: 0 Major, minor: 253, 7 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyKsXBmpFgjrxz6TWxVuXmt6d9BhbjkcmD Name: mirror_sanity-exclusive_origin_mimage_1 State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 5 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMy9OXr1prrwVPscf5DWclfloAKBRfwKKzV Name: mirror_sanity-exclusive_origin_mimage_0 State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 4 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyAwD1WWxn1bt8kMNUYeBLrnegOQxOuHVE Name: mirror_sanity-msnap_1-cow State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 9 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyKsXBmpFgjrxz6TWxVuXmt6d9BhbjkcmD-cow Name: mirror_sanity-exclusive_origin_mlog State: SUSPENDED Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 3 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyYHQW6DNxDAINJw989Eel6hM8X5Zvapfw Name: mirror_sanity-exclusive_origin State: SUSPENDED Read Ahead: 256 Tables present: LIVE Open count: 0 Event number: 0 Major, minor: 253, 6 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyReG9l74Dcqj0S69nYOYSnuLX6Ar2HUsL Name: mirror_sanity-exclusive_origin-real State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 4 Event number: 0 Major, minor: 253, 8 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyReG9l74Dcqj0S69nYOYSnuLX6Ar2HUsL-real Name: mirror_sanity-msnap_2-cow State: ACTIVE Read Ahead: 256 Tables present: LIVE Open count: 1 Event number: 0 Major, minor: 253, 11 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyu1BbbGrvMqVuOdQRuQJxupYP05yBXdJo-cow Name: mirror_sanity-msnap_3 State: ACTIVE Read Ahead: 256 Tables present: LIVE & INACTIVE Open count: 0 Event number: 0 Major, minor: 253, 12 Number of targets: 1 UUID: LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyipNpM1jt8J0dC6L6O8UWgqF7GokXaRk2 [root@buzz-01 ~]# dmsetup table --target mirror mirror_sanity-exclusive_origin-real: 0 204800 mirror userspace 4 LVM-9VZslOJx0ir7TWhvrbCpOc8deNDaMlMyYHQW6DNxDAINJw989Eel6hM8X5Zvapfw clustered-disk 253:3 1024 2 253:4 0 253:5 0 1 handle_errors Expected results: Additional info: