Bug 1589658 - 'multipath -r' dosen't print the expected warning messages after modify the /etc/multipath.conf file
Summary: 'multipath -r' dosen't print the expected warning messages after modify the ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: device-mapper-multipath
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-11 06:01 UTC by lnie
Modified: 2018-06-12 03:06 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-12 03:06:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
reproducer testcase (4.29 KB, application/x-shellscript)
2018-06-11 06:01 UTC, lnie
no flags Details
output of sh -x main.sh (612.03 KB, text/plain)
2018-06-11 06:03 UTC, lnie
no flags Details

Description lnie 2018-06-11 06:01:45 UTC
Created attachment 1449879 [details]
reproducer testcase

Description of problem:
running the attached test,see some failures in the output.
Not sure if this is a bug or just a consequence of code change.
Please feel free to close this if it's not a bug,and I will change the testcase accordingly.

Version-Release number of selected component (if applicable):
device-mapper-multipath-0.7.6-4.git1cb704b.fc29.x86_64

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lnie 2018-06-11 06:03:22 UTC
Created attachment 1449880 [details]
output of sh -x main.sh

Comment 2 Ben Marzinski 2018-06-11 20:30:39 UTC
I'm not sure what messages you are worried about. The missing quotes test appears to be wrong. The multipath.conf file used for it doesn't have mismatched quotes (it has none, which is fine).

In the new code multipath will offload some commands to multipathd. This is the case with

multipath -r

That's why it doesn't print any output. If you run "multipath -l" afterwards, and look for the new name, it should be there.  Were there any other tests that gave you bad results, that you don't understand?

Comment 3 lnie 2018-06-12 03:05:56 UTC
(In reply to Ben Marzinski from comment #2)
> I'm not sure what messages you are worried about. The missing quotes test
> appears to be wrong. The multipath.conf file used for it doesn't have
> mismatched quotes (it has none, which is fine).
> 
> In the new code multipath will offload some commands to multipathd. This is
> the case with
> 
> multipath -r
> 
> That's why it doesn't print any output. If you run "multipath -l"
> afterwards, and look for the new name, it should be there.  Were there any
> other tests that gave you bad results, that you don't understand?

 nope atm,gonna to close this.Thanks for your quick response and detailed explanation:)


Note You need to log in before you can comment on or make changes to this bug.