[Bug 789229] Re: using a blacklist and a blacklist_exception section results in multipathd filtering out paths it shouldn't

Clint Byrum clint at fewbar.com
Mon Aug 22 22:11:55 UTC 2011


As a follow up, first I forgot to say, thanks for the great work.

I took a look at the patches, and there are some fixes necessary.

First off, make sure you start from the latest version of the package
for the desired release. multipath-tools has been updated in lucid,
maverick, and natty, so you need to get the source from there rather
than the release pocket.

One way to make sure you have the latest is to use 'rmadison':

$ rmadison multipath-tools
multipath-tools | 0.4.8-7ubuntu2 |         hardy | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu4 |         lucid | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu4 |      maverick | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu4.10.04.2 | lucid-updates | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu4.10.10.2 | maverick-updates | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu10 |         natty | source, amd64, i386
multipath-tools | 0.4.8-14ubuntu10.1 | natty-updates | source, amd64, i386
multipath-tools | 0.4.9-2ubuntu1 |       oneiric | source, amd64, i386

So first off, you'll need to update your debdiffs to take all of these
updates into account. Make sure the version number is one that fits into
the scheme you already see above. So you will want your lucid updated to
be

0.4.8-14ubuntu4.10.04.3

and maverick

0.4.8-14ubuntu4.10.10.3

and natty

0.4.8-14ubuntu10.2

Also make sure you specify 'release-proposed' in the changelog.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/789229

Title:
  using a blacklist and a blacklist_exception section results in
  multipathd filtering out paths it shouldn't

Status in “multipath-tools” package in Ubuntu:
  Fix Released
Status in “multipath-tools” source package in Lucid:
  In Progress
Status in “multipath-tools” source package in Maverick:
  In Progress
Status in “multipath-tools” source package in Natty:
  In Progress

Bug description:
  Binary package hint: multipath-tools

  The issue is due to a bug in some if/then logic in
  blacklist.c:_filter_path resulting in the routine returning a value
  other then 0 for anything found on the exceptions list.

  SRU Justification:
  1. Impact: a config which (correctly) finds an entry both in blacklist and blacklist exceptions will not honor the exception
  2. How bug was addressed: an upstream fix was pulled in.  The root cause was that return values from functions checking existence in blacklists were being misinterpreted.
  3. Minimal patch: see debdiff in comment #6.
  4. TEST CASE: Create a multipath config with /dev/sda in both blacklist and blacklist exception.  /dev/sda won't be used.
  5. Regression potential: this commit has been upstream since 2007, so should cause no regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/789229/+subscriptions



More information about the Ubuntu-sponsors mailing list