Comment 7 for bug 1443977

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/6477
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: beb72248f444decebddd6017d50321bbf3199926
Author: Nikolas Hermanns <email address hidden>
Date: Fri May 8 11:41:29 2015

LibvirtDriver: Add post_connection_terminated

When multiple iSCSI connections are terminated
it is very likely to happen that not all
iSCSI devices and multipath devices are deleted
on the host (where nova-compute is running).
This bugfix adds the possibility to call
post_connection_terminated to the libvirt driver
which can be called after terminate_connection
is called. In the case of iSCSI it will a second
time remove the iSCSI and multipath devices.

Conflicts:
 nova/tests/unit/compute/test_compute.py
 nova/tests/unit/compute/test_compute_mgr.py

Closes-Bug: #1443977
Change-Id: I817214749fdb0da8d577ebd89ebdde4f670006ed