multipath-tools update introduced syslog messages about partx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Debian) |
Fix Released
|
Unknown
|
|||
multipath-tools (Ubuntu) |
Fix Released
|
Low
|
Dragan S. | ||
Xenial |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
* During "service multipath-tools start" /sbin/multipath is
called on dm- devices that are filtered but due to a condition
conf->dev_type == DEV_DEVNODE in filtering code multipath
binary wasn't dropping out when hitting a dm- device. This
was due to the fact that in this case conf->dev_type is
set to DEV_UEVENT. It also happens during a fail-over event.
This is causing the logs to be filled with following
messages:
multipath: dm-6: failed to get udev uid: Invalid argument
multipath: dm-6: failed to get sysfs uid: Invalid argument
multipath: dm-6: failed to get sgio uid: No such file or directory
* Fix should be backported to xenial to avoid more support
issues being filed.
* This change alows the filtering to happen.
[Test Case]
* install multipath-tools, create a basic multipath.conf with
dm- filtering rule. Run: "service multipath-tools start"
and check the log
[Regression Potential]
* There should be no regression potential with this change, the filtering
only allows the code to not traverse the error path.
[Original Description]
During a path loss event, the syslog is showing these messages where prior to the recent upgrade to multipath-tools I didn't see anything like this. To me this seems like either a problem or it seems like a print message that should go into a different log file.
Apr 13 11:21:00 ICTM1618S01H4 systemd-
...
Apr 13 11:21:00 ICTM1618S01H4 multipath: dm-15: failed to get udev uid: Invalid argument
Apr 13 11:21:00 ICTM1618S01H4 multipath: dm-15: failed to get sysfs uid: Invalid argument
Apr 13 11:21:00 ICTM1618S01H4 multipath: dm-15: failed to get sgio uid: No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: multipath-tools 0.5.0+git1.
ProcVersionSign
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 13 15:29:36 2016
SourcePackage: multipath-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in multipath-tools (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
Changed in multipath-tools (Ubuntu): | |
assignee: | Rafael David Tinoco (inaddy) → Dragan S. (dragan-s) |
Changed in multipath-tools (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Low |
Changed in multipath-tools (Ubuntu Xenial): | |
importance: | Undecided → Low |
Changed in multipath-tools (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in multipath-tools (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.