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.
Bug 1444194 - Multipathd crashes
Summary: Multipathd crashes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: device-mapper-multipath
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Lin Li
URL:
Whiteboard:
Depends On: 1442369
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-20 19:32 UTC by Ben Marzinski
Modified: 2021-09-03 12:08 UTC (History)
11 users (show)

Fixed In Version: device-mapper-multipath-0.4.9-110.el7
Doc Type: Bug Fix
Doc Text:
Cause: multipath was incorrectly matching kpartx partition devices with the device that they were a partition of. This could cause multipath to think a kpartx partition device was a partition of itself. Consequence: In rare cases mutipath would recursively read the same device trying to find all of its partitions, and run out of memory and crash. Fix: Multipath now correctly determines which device a kpartx partition devices belongs to Result: Multipath now always correctly removes partition devices without crashing
Clone Of: 1442369
Environment:
Last Closed: 2017-08-01 16:36:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1961 0 normal SHIPPED_LIVE device-mapper-multipath bug fix and enhancement update 2017-08-01 17:56:09 UTC

Comment 2 Ben Marzinski 2017-05-11 15:33:50 UTC
Reproducing this is kind of tricky. You need to force a situation where the minor number of a kpartx partition matches the minor number of its multipath device for all of kpartx minor numbers digits.  For example, if the multipath device has a minor number of 103 and the kpartx device has a minor number of 10, this will work. The string "10" matches the string "103", for both of the characters in "10". The easiest way to do this is to create a bunch of random dm devices (you could use the error target) before creating the multipath device with partitions. After you create the multipath device, remove the partition devices, remove the lowest numbered junk device (hopefully it's dm-1, so you only need the multipath device to be dm-10. If you already have some dm devieces, so the lowest numbered junk device is dm-3 for instance, you need the
multipath device to be somewhere between dm-30 and dm-39), and recreate the partition devices. One of the partition devices should now have that low minor number. Then you can try either renaming or removing the multipath device.

Comment 3 Ben Marzinski 2017-05-12 21:31:28 UTC
Multipath now does a better job of making sure that the partition devices are actually partitions of the correct device.

Comment 15 errata-xmlrpc 2017-08-01 16:36:55 UTC
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://access.redhat.com/errata/RHBA-2017:1961


Note You need to log in before you can comment on or make changes to this bug.