Bug 194528 - [RHEL4 U4 beta] dm-multipath: 'multipath -l' displays outdated path check info if multipathd started.
Summary: [RHEL4 U4 beta] dm-multipath: 'multipath -l' displays outdated path check inf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: device-mapper-multipath
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Ben Marzinski
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 176344 204573
TreeView+ depends on / blocked
 
Reported: 2006-06-08 18:43 UTC by Kiyoshi Ueda
Modified: 2013-04-02 23:51 UTC (History)
13 users (show)

Fixed In Version: RHEA-2007-0256
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-01 17:40:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch (494 bytes, patch)
2006-06-08 18:43 UTC, Kiyoshi Ueda
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2007:0256 0 normal SHIPPED_LIVE device-mapper-multipath enhancement update 2007-05-01 17:35:42 UTC

Description Kiyoshi Ueda 2006-06-08 18:43:43 UTC
Description of problem:
If multipathd(8) started, 'multipath -l' displays outdated
path check information from multipathd(8).


Version-Release number of selected component:
device-mapper-multipath-0.4.5-16.0.RHEL4


How reproducible:
Always


Steps to Reproduce:
 1. Start multipathd.
      # /etc/init.d/multipathd start
 2. Create multipath map.
      # multipath
 3. do 'multipath -l'
      # multipath -l


Actual results:
'multipath -l' displays outdated path check information from multipathd.
---------------------------------------------------------------------
disk1 (1NEC_____iStorage_2000___000000092680024600001)
[size=66 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 4:0:0:1  sdd 8:48  [active][ready]
\_ round-robin 0 [enabled]
 \_ 5:0:0:1  sdh 8:112 [active][ready]
---------------------------------------------------------------------


Expected results:
'multipath -l' doesn't display outdated path check information.
---------------------------------------------------------------------
disk1 (1NEC_____iStorage_2000___000000092680024600001)
[size=66 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
 \_ 4:0:0:1  sdd 8:48  [active]
\_ round-robin 0 [enabled]
 \_ 5:0:0:1  sdh 8:112 [active]
---------------------------------------------------------------------


Additional info:
The '[ready]' is the information loaded from multipathd(8)
instead of self-checking.
So If multipathd has not recognized path status change yet,
it could be incorrect information.

To see path status, we should use 'multipath -ll' instead.
So 'multipath -l' doesn't need to display the information.

Attached patch fixed this problem by initializing pp->state of the cache.

This is not a regression.

Comment 1 Kiyoshi Ueda 2006-06-08 18:43:43 UTC
Created attachment 130774 [details]
Patch

Comment 2 Ben Marzinski 2006-06-15 18:44:04 UTC
applied. Thanks

Comment 3 RHEL Program Management 2006-08-18 15:34:00 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Ben Levenson 2007-04-11 01:03:58 UTC
This fix is in the latest snapshot.  Please retest with the latest packages:
device-mapper-multipath-0.4.5-21.RHEL4

Comment 8 Red Hat Bugzilla 2007-05-01 17:40:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2007-0256.html



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