Red Hat Bugzilla – Bug 1272620
multipathd remove map foo responds with "ok"
Last modified: 2017-05-10 22:30:00 EDT
+++ This bug was initially created as a clone of Bug #1271381 +++ Description of problem: multipathd responds with "ok" to any input <device> parameter for the remove command. How reproducible: 100% Steps to Reproduce: 1. Issue command with invalid device name: # multipathd remove map foo ok Expected results: Error message to indicate that an invalid device name was specified. Additional info:
Reproduced on device-mapper-multipath-0.4.9-77.el7 1). #yum install device-mapper device-mapper-multipath 2). # rpm -qa | grep multipath device-mapper-multipath-libs-0.4.9-77.el7.x86_64 device-mapper-multipath-0.4.9-77.el7.x86_64 3). # mpathconf --enable 4). # service multipathd restart Redirecting to /bin/systemctl restart multipathd.service 5). # multipathd remove map foo <-------invalid device name ok 6). # multipathd remove map absdssf <--------invalid device name ok Verified on device-mapper-multipath-0.4.9-87.el7 1). #yum install device-mapper device-mapper-multipath 2). # rpm -qa | grep multipath device-mapper-multipath-0.4.9-87.el7.x86_64 device-mapper-multipath-sysvinit-0.4.9-87.el7.x86_64 device-mapper-multipath-libs-0.4.9-87.el7.x86_64 3). mpathconf --enable 4). # service multipathd restart Redirecting to /bin/systemctl restart multipathd.service 5).# multipathd remove map foo <-------invalid device name fail 6). # multipathd remove map absdssf <--------invalid device name fail
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://rhn.redhat.com/errata/RHBA-2016-2536.html