Bug 983009

Summary: mpathconf fails to reload multipathd
Product: Red Hat Enterprise Linux 7 Reporter: Peijun Wu <pewu>
Component: device-mapper-multipathAssignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: agk, bmarzins, heinzm, msnitzer, prajnoha, qcai, xiaoli
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-02 08:16:34 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 Peijun Wu 2013-07-10 09:40:42 UTC
Description of problem:


Version-Release number of selected component (if applicable):
device-mapper-multipath-0.4.9-53.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. mpathconf --enable --user_friendly_names y --find_multipaths y --with_multipathd y

2. multipathd show config|grep find_mul
> find_multipaths yes

3. mpathconf --enable --user_friendly_names y --find_multipaths n --with_multipathd y

4. multipathd show config|grep find_mul
> find_multipaths yes

Actual results:
value of find_multipaths haven't be changed

Expected results:
find_multipaths is set to No

Additional info:
logical error in the mpathconf scipt:
elif [ -n "$CHANGED_CONFIG" -a "$HAVE_MULTIPATHD" = 1 ]; then
        systemctl reload multipathd.service
fi

Comment 2 Xiaowei Li 2013-08-02 08:16:34 UTC
checked the mpathconf command.

"mpathconf --with_multipathd y --user_friendly_names y" could revise the multipath.conf and issue the multipathd reconfig. 

so this is not a bug.