[Bug 690387] Re: udev block naming breaks failover and sd kref release cycle

Peter Petrakis peter.petrakis at canonical.com
Thu Jul 21 15:30:53 UTC 2011


@Serge

Yes, fix-released for oneiric

I believe natty is covered.

The confusion I think is the changelog references this fix from a
private bug:

multipath-tools (0.4.8-14ubuntu7) natty; urgency=low

  * Add patch to fix the expected pathname from multipath uevents
    (LP: #660597)

Where this bug, lp #690387 is the public instance of the fix.

Though in lucid, I don't see either bug number mentioned in the
changelog.

multipath-tools (0.4.8-14ubuntu4.10.04.1) lucid-proposed; urgency=high

  * Eliminate UDEV CHANGE events generated by mpath priority checkers. Due to
    quirk in how SG IO is handled by SD devices (LP: #644489).

 -- Peter M. Petrakis <peter.petrakis at canonical.com>  Tue, 21 Jun 2011
14:13:12 -0400

multipath-tools (0.4.8-14ubuntu4) lucid; urgency=low

  * debian/control: Move libreadline5-dev build dependency to libreadline-dev.
    (Already done in Debian).

 -- Martin Pitt <martin.pitt at ubuntu.com>  Mon, 08 Mar 2010 14:50:04
+0100

multipath-tools (0.4.8-14ubuntu3) lucid; urgency=low

  * Support failback for Intel Modular Server (LP: #520309).

 -- Colin Watson <cjwatson at ubuntu.com>  Fri, 12 Feb 2010 12:21:42 +0000

root at kickseed:~# apt-cache policy multipath-tools
multipath-tools:
  Installed: 0.4.8-14ubuntu4.10.04.1
  Candidate: 0.4.8-14ubuntu4.10.04.1
  Version table:
     0.4.8-14ubuntu10.1 0
        800 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main Packages
     0.4.8-14ubuntu10 0
        800 http://us.archive.ubuntu.com/ubuntu/ natty/main Packages
 *** 0.4.8-14ubuntu4.10.04.1 0
        900 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     0.4.8-14ubuntu4 0
        900 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

Do we have this pending SRU for lucid somewhere and lost track of it?
http://people.canonical.com/~ubuntu-archive/pending-sru.html

I don't see anything pending for multipath. Wasn't there a mass changeset
planned for multipath lucid  SRU that included this fix?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/690387

Title:
  udev block naming breaks failover and sd kref release cycle

Status in “multipath-tools” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: multipath-tools

  This was exposed on the Intel IMS SAN which is an ODM'd Promise Vtrak
  variant on 10.04 server. The SAN has Active/Standby capabilities and
  is configured for failover. It probably affects other SANs too.

  Setup:
  multipath'd SAN consisting of SD block devices.

  Symptoms:
  On failover, multipath isn't gettng the right signals to tear down
  the defunct path. This was traced down to the fact that the path UDEV
  was presenting to multipath was different from what it was expecting.
  It simply dropped the request to gracefully remove the device, and
  instead responded to the SCSI mid-layer SD IO state change,
  SDEV_CANCEL/DEL which puts the device offline.

  Problem is device mapper still has an handle on the SD device, as
  can be seen from /sys/block/dm-x/slaves, and as a result,
  scsi_target_destroy is never called. The outward symptom of this
  is the SD suffix is not recycled because of course the previous
  reference never dropped.

  Solution:
  A fix was developed independently of upstream by Serge Hallyn,
  later it was found that it was fixed upstream, in 2008.
  The patch is:

  commit 7fa7affc3d23dd9dc906804d22a61144bca9f9b9
  Author: Benjamin Marzinski <bmarzins at redhat.com>
  Date: Thu Dec 11 16:03:28 2008 -0600

      Fix for uevent devpath handling

      This is necessary to make uevents work on fedora, since devpath appears as
      something like:
      '/devices/pci0000:00/0000:00:0a.0/0000:06:00.0/host11/rport-11:0-1/target11:0:1/11:0:1:0/block/s

      It simply strips off the everything up to the /block.

      Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

  It integrates simply and can be found in PPAs here:
  ppa:peter-petrakis/storage

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




More information about the foundations-bugs mailing list