Multipath device keeps old size after SCSI device rescan when extending volume

Bug #1611659 reported by Yafei Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Undecided
Yafei Yu

Bug Description

Multipath device keeps old size after SCSI device rescan when extending volume

When resizing a in-use volume, if multipath is enabled, function extend_volume only rescans ONE SCSI device(total four SCSI device in my host) and then run the command:
"multipathd reconfigure"
"multipathd resize map mpath_id"
The ONE SCSI device resizes successfully, but the multipath device is still the old size.

The size multipath device changes after all SCSI device resizes successfully.

Yafei Yu (yu-yafei)
Changed in os-brick:
assignee: nobody → yuyafei (yu-yafei)
summary: - Multipath device resizing does not work after device rescan
+ Multipath device keeps old size after SCSI device rescan
summary: - Multipath device keeps old size after SCSI device rescan
+ Multipath device keeps old size after SCSI device rescan after
+ extending volume
description: updated
summary: - Multipath device keeps old size after SCSI device rescan after
- extending volume
+ Multipath device keeps old size after SCSI device rescan when extending
+ volume
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

Fix proposed to branch: master
Review: https://review.openstack.org/353325

Changed in os-brick:
status: New → In Progress
Yafei Yu (yu-yafei)
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.openstack.org/353325
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=8f59fa1b6026e0a4fc100104b0ea715ae7dc360f
Submitter: Jenkins
Branch: master

commit 8f59fa1b6026e0a4fc100104b0ea715ae7dc360f
Author: yuyafei <email address hidden>
Date: Wed Aug 10 18:28:56 2016 +0800

    Multipath device keeps old size when extending volume

    When resizing a in-use volume, if multipath is enabled, function
    extend_volume only rescans ONE SCSI device and then run the command:
    "multipathd reconfigure"
    "multipathd resize map mpath_id"
    The SCSI device resizes successfully, but the multipath device is
    still the old size. This patch fixes it by rescanning all SCSI devices
    of the multipath device.

    Change-Id: I3a7c7d5e86defedfacd71067f2e5a89bca6aa35b
    Closes-Bug: #1611659

Changed in os-brick:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-brick 1.8.0

This issue was fixed in the openstack/os-brick 1.8.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.