LVM+tgt:iscsi target deleted after VM live migrate

Bug #1477831 reported by weiweigu on 2015-07-24
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Low
Unassigned

Bug Description

We are using Openstack Icehouse version.The backend is LVM+tgt.

1)There is a instance that have a block volume attached. In the cinder volume node, 'tgt-admin --show' can get the target info:
# tgt-admin -s
Target 1: iqn.2010-10.org.openstack:volume-03371fb7-c3d2-4e07-8d9e-8d6e75757e75
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 10
            Initiator: iqn.opencos.rh:f59f5aaff535 alias: 2C5-10_DELL02
            Connection: 0
                IP Address: 10.43.203.5
    ......

2)After live migrating the instance ,'tgt-admin --show' return null.
# tgt-admin -s
#
The bug seems the source node request terminate_connection to cinder volume,and cinder volume excute'remove_iscsi_target', and delete the iscsi target force.

weiweigu (gu-weiwei) on 2015-07-24
summary: - LVM+tgt:iscsi target deleted after VM live migrating
+ LVM+tgt:iscsi target deleted after VM live migrate
weiweigu (gu-weiwei) on 2015-07-24
description: updated
tags: added: volumes
weiweigu (gu-weiwei) on 2016-03-28
Changed in cinder:
assignee: nobody → weiweigu@zte (gu-weiwei)

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

Changed in cinder:
status: New → In Progress
weiweigu (gu-weiwei) on 2016-07-01
Changed in cinder:
importance: Undecided → Low

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

Change abandoned by Weiwei Gu (<email address hidden>) on branch: master
Review: https://review.openstack.org/314559
Reason: I commit a new patch.

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.openstack.org/338721
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: weiweigu (gu-weiwei) → nobody
Changed in cinder:
status: In Progress → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers