multipath tool sends IOs periodically after volume detached

Bug #1223975 reported by zhangchao
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
zhangchao

Bug Description

When detaching a volume, Nova doesn't disconnect the iSCSI portal and just return for there are other volumes attaching to the host. But the mutipath mapping device descriptor is there and multipath tool sends IOs periodically to storage array. This leads to some cinder storage drivers, such as huawei, can not unmap that volume for it detect periodic IOs.

So we need to remove the multipath device descriptor in this case.

Tags: volumes
zhangchao (zhangchao010)
Changed in nova:
assignee: nobody → zhangchao (zhangchao010)
status: New → In Progress
zhangchao (zhangchao010)
description: updated
GuoHui Liu (guohliu)
tags: added: volumes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/45993
Committed: http://github.com/openstack/nova/commit/8a2a10807f22b68b521dd02174cd06648fd1dc56
Submitter: Jenkins
Branch: master

commit 8a2a10807f22b68b521dd02174cd06648fd1dc56
Author: zhangchao010 <email address hidden>
Date: Tue Oct 15 16:07:02 2013 +0800

    Remove multipath mapping device descriptor

    When detaching a volume from a instance, we need to remove
    multipath mapping device descriptor if there are other volumes
    mapping to the host instead of do nothing, for some cinder drivers
    can not terminate connection for multipath tool sending IOs to
    storage array periodically.

    Closes-bug: #1223975
    Change-Id: I6fc02e045146ece49162ca6be1a83fa8d0214a0a

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.1
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Possible bug based on this change:

https://bugs.launchpad.net/nova/+bug/1374999

Latest path from latest iSCSI disk not removed when the volume is detached.

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.