Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-82534

multipathd does not monitor multipath devices created externally while there are offline paths.

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • device-mapper-multipath-0.8.7-38.el9
    • No
    • Moderate
    • rhel-storage-dm
    • ssg_platform_storage
    • 9
    • 11
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      .`multipathd` can monitor devices with offline paths

      Before this update, when a user created a multipath device while some paths to the device were in the offline state, the `multipathd` daemon did not monitor the device or its paths. Consequently, if paths failed, they were never restored, even if they became available again. With this update, the `multipathd` daemon monitors the multipath device and its offline paths. `multipathd` also adds the paths to the multipath device if they become online.
      Show
      .`multipathd` can monitor devices with offline paths Before this update, when a user created a multipath device while some paths to the device were in the offline state, the `multipathd` daemon did not monitor the device or its paths. Consequently, if paths failed, they were never restored, even if they became available again. With this update, the `multipathd` daemon monitors the multipath device and its offline paths. `multipathd` also adds the paths to the multipath device if they become online.
    • Done
    • Done
    • Done
    • Not Required
    • All
    • None

      What were you trying to do that didn't work?

      If a multipath device is created while a path that should belong to that device is offline and multipathd knows about that offline path, multipathd will fail to track the device. This means that if other paths fail and are restored multipathd will not update the multipath device to start using them again. This can cause a multipath device to have no active paths, despite the fact the path devices themselves are usable.

      Please provide the package NVR for which the bug is seen:

      This issue is present in all supported versions of device-mapper-multipath.

      How reproducible is this bug?:

      Always.

      Steps to reproduce

      1. Create a multipath device, mpathX, including the path sdY
      2. echo offline > /sys/block/sdY/device/state
      3. multipath -f mpathX
      4. multipath mpathX

      Expected results

      The recreated multipath device will be monitored by multipathd

      Actual results

      The recreated multipath device is not monitored by multipathd.

              rhn-engineering-bmarzins Benjamin Marzinski
              rhn-engineering-bmarzins Benjamin Marzinski
              Benjamin Marzinski Benjamin Marzinski
              Lin Li Lin Li
              Valentina Ashirova Valentina Ashirova
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: