[SRU]'multipath -r' causes /dev/mapper/<wwid> being removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
Fix Released
|
Medium
|
Hua Zhang | ||
Xenial |
Fix Released
|
Medium
|
Hua Zhang | ||
Yakkety |
Fix Released
|
Medium
|
Hua Zhang |
Bug Description
[Impact]
"multipath -r" causes the /dev/mapper/<wwid> to disappear momentarily, which leads to some issue in consumer applications as such OpenStack.
[Test Case]
* connect to an multipath iscsi target
* multipath -r
* /dev/mapper/<wwid> disappears momentarily
[Regression Potential]
* None
"multipath -r" causes the /dev/mapper/<wwid> to disappear momentarily, which leads to some issue in consumer applications as such OpenStack. After some investigation, I found that /dev/mapper/<wwid> was deleted by udev during the reload, and it was re-created soon later by multipathd (livdevmapper code of cause). Detailed findings are as follows:
For reload in domap (rename as well),
case ACT_RELOAD:
r = dm_addmap_
if (r)
it passes 0 to dm_simplecmd_
if (udev_wait_flag && !dm_task_
}
because of the short-circuit evaluation. Thus _do_dm_ioctl in libdevmapper will add DM_UDEV_
ENV{DM_
Since the DM_UDEV_
Changed in multipath-tools (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in multipath-tools (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in multipath-tools (Ubuntu): | |
importance: | Undecided → Medium |
Changed in multipath-tools (Ubuntu Xenial): | |
importance: | Undecided → Medium |
description: | updated |
tags: | added: sts |
Changed in multipath-tools (Ubuntu Xenial): | |
assignee: | Liang Chen (cbjchen) → Hua Zhang (zhhuabj) |
Changed in multipath-tools (Ubuntu): | |
assignee: | Liang Chen (cbjchen) → Hua Zhang (zhhuabj) |
summary: |
- 'multipath -r' causes /dev/mapper/<wwid> being removed + [SRU]'multipath -r' causes /dev/mapper/<wwid> being removed |
Changed in multipath-tools (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in multipath-tools (Ubuntu Yakkety): | |
status: | New → In Progress |
assignee: | nobody → Hua Zhang (zhhuabj) |
Changed in multipath-tools (Ubuntu Yakkety): | |
status: | Fix Committed → Fix Released |
tags: |
added: sts-sru-done removed: sts-sru |
The attachment "xenial debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]