ISCSI session remains after live migration of volume backed instance

Bug #1246200 reported by Hiroyuki Eguchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

1.nova boot --flavor 1 --block_device_mapping vda=[volume_uuid]:[size]::0 --key_name key1 test_vm_0001

2.nova live-migration [instance_uuuid]

3.(in source host) iscsiadm -m session
tcp: [3] xxx.xxx.xxx.xxx:3260,1 iqn.2010-10.org.openstack:volume-[volume_uuid]

4.(in destination host) iscsiadm -m session
tcp: [3] xxx.xxx.xxx.xxx:3260,1 iqn.2010-10.org.openstack:volume-[volume_uuid]

I'm using cinder.volume.drivers.lvm.LVMISCSIDriver.

It seems that nova-compute try to delete session by using terminate_connection method in _post_live_migration,
but LVMISCSIDriver do nothing in terminate_connection method.

Eric Harney (eharney)
summary: - ISCSI session reminds after live migration of volume backed instance
+ ISCSI session remains after live migration of volume backed instance
Revision history for this message
Walt Boring (walter-boring) wrote :

Nova should be nuking the session if it's the last LUN from that host. I've seen this happen when testing live migration with the 3par iscsi driver.

Revision history for this message
John Griffith (john-griffith) wrote :

I believe this has been fixed since we added the terminate_connection calls to the detach methods. Closing for now, if somebody sees it still open it back up.

Changed in cinder:
status: New → Incomplete
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Cleanup

Closing stale bug. If this is still an issue please reopen.

Changed in cinder:
status: Incomplete → Invalid
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.