Bug 1949369
| Summary: | path devices are not suddenly removed after flushing a multipath device | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Takashi Kajinami <tkajinam> |
| Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
| Status: | CLOSED NOTABUG | QA Contact: | Lin Li <lilin> |
| Severity: | urgent | Docs Contact: | |
| Priority: | low | ||
| Version: | 8.2 | CC: | agk, bmarzins, heinzm, jmagrini, lilin, msnitzer, prajnoha, zkabelac |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-27 01:07:25 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
Takashi Kajinami
2021-04-14 06:51:31 UTC
--- 1. Flush multipath device --- What procedure is used to flush the device, ie: multipath -f? Are you able to recreate this issue using multipathd cli vs multipath -f? IE: multipathd remove|del map|multipath $map. From the changelog of 0.8.4-3 I believe the following patches added from bz #1845875 address this issue: - Add 0024-libmultipath-make-dm_get_map-status-return-codes-sym.patch - Add 0025-multipathd-fix-check_path-errors-with-removed-map.patch - Add 0026-libmultipath-make-dm_flush_maps-only-return-0-on-suc.patch - Add 0027-multipathd-add-del-maps-multipathd-command.patch - Add 0028-multipath-make-flushing-maps-work-like-other-command.patch - Add 0029-multipath-delegate-flushing-maps-to-multipathd.patch - Add 0030-multipath-add-option-to-skip-multipathd-delegation.patch * The above 7 patches fix bz #1845875. Multipath now attempts to delegate device removal to multipathd, and multipathd handles external device removal better. Further details are noted here: https://bugzilla.redhat.com/show_bug.cgi?id=1845875#c3 If not too invasive possibly backport those to EUS. A zstream/eus was cloned from bz #1845875 as bz #1856944 : https://bugzilla.redhat.com/show_bug.cgi?id=1856944#c1 though doesn't seem to contain what is needed to address the issue described here: - Add 0020-libmultipath-make-dm_get_map-status-return-codes-sym.patch - Add 0021-multipathd-fix-check_path-errors-with-removed-map.patch * The above 2 patches fix bz #1856944. multipathd handles external device removal better. > What procedure is used to flush the device, ie: multipath -f? yes. multipath -f is used to flush the device. > Are you able to recreate this issue using multipathd cli vs multipath -f? IE: multipathd remove|del map|multipath $map. We have not tried usage of only multipathd cli. What we've tried before updating the device-mapper-multipath package was is to modify implementation in OpenStack to execute "mulipathd del path /dev/<device>" after "multipath -f" but before removing iscsi device. This was tested in the customer's deployment and we confirmed this also solves the problem. Sorry I forgot to update this bug after we reached to the conclusion in RHOSP side. I'm closing this bug as notabug because the issue will be fixed in RHOSP (os-brick). |