multipathd reconfigure does not update /etc/multipath/wwids file on trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Louis Bouchard |
Bug Description
[Description of the problem]
[SRU justification]
When running "multipathd reconfigure", which is done when one does a "service multipath-tools restart", the file /etc/multipath/
[Impact]
The content of the file may contain stale values or remain with only the file header if the file was removed.
[Fix]
Add a call to remember_
[Test Case]
With an up-to-date Trusty system running multipath-
$ sudo cat /etc/multipath/
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
#
# Valid WWIDs:
/14945540000000
/14945540000000
/14945540000000
$ sudo rm /etc/multipath/
$ sudo service multipath-tools restart
$ sudo cat /etc/multipath/
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
#
# Valid WWIDs:
With the proposed fix, the last command would give :
$ sudo cat /etc/multipath/
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
#
# Valid WWIDs:
/14945540000000
/14945540000000
/14945540000000
[Regression]
Only one call to remember_wwid() is added. This is what is currently done in 0.5.0
Changed in multipath-tools (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in multipath-tools (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in multipath-tools (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: sts-sru |
tags: | removed: sts-sru |
Marking Yakkety as Invalid since it already has the fix.