Bug 702410
| Summary: | lvremove of snapshot produces multipathd "uevent trigger error" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Dave Wysochanski <dwysocha> | ||||||
| Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Gris Ge <fge> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.3 | CC: | agk, bmarzins, bmr, dwysocha, fge, heinzm, mbroz, prajnoha, prockai, rprice, zkabelac | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-02-21 06:34:46 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dave Wysochanski
2011-05-05 15:25:56 UTC
Created attachment 497132 [details]
Analysis of messages, based on device-mapper-multipath source
Created attachment 497133 [details]
Messages file, trimmed for 500 lines before / after "uevent trigger error"
This is a trimmed version of the messages file from the system. Full information on the system, including a sosreport and messages file, can be obtained from the case.
I've kept multipathd from printing an error in this case. Tried 1000 times for these two scripts, no luck to reproduce on RHEL 5.7 GA (device-mapper-multipath-0.4.7-46.el5)
for LVM:
===
for X in `seq 1 1000`;do
lvcreate -n tmp_test -L 4M VolGroup00
service multipathd start
sleep 1
lvremove /dev/mapper/VolGroup00-tmp_test -f
sleep 1
service multipathd stop
if [ "$(grep "uevent trigger error" /var/log/messages)CHK" != "CHK" ];then
grep "uevent trigger error" /var/log/messages
break
fi
done
====
for dm
====
for X in `seq 1 1000`;do
echo "0 1024000 zero" | dmsetup create zero_test_dm
ls /dev/mapper/
service multipathd start
sleep 1
dmsetup remove zero_test_dm
ls /dev/mapper/
sleep 1
service multipathd stop
if [ "$(grep "uevent trigger error" /var/log/messages)CHK" != "CHK" ];then
grep "uevent trigger error" /var/log/messages
break
fi
done
====
Patch has been applied into a tar file. no way for me code review.
I also tried above commands on new package: device-mapper-multipath-0.4.7-48.el5, no uevent error message found.
SanityOnly.
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. http://rhn.redhat.com/errata/RHBA-2012-0166.html |