Comment 0 for bug 1477831

Revision history for this message
weiweigu (gu-weiwei) wrote : LVM+tgt:iscsi target deleted after VM live migrating

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 excute 'remove_iscsi_target', and delete the iscsi target force.