This issue ( self._disconnect_from_iscsi_portal is not called ) also happens when the guest kernel is crashed.
(1) In the guest, crash the kernel.
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
(2) Rnu "nova volume-detach <server> <volume-id>"
This might be because guest doesn't prospectively respond to ACPI hotplug event.
While (re)-booting the guest OS, there also is the window the guest doesn't respond to the event.
This issue ( self._disconnec t_from_ iscsi_portal is not called ) also happens when the guest kernel is crashed.
(1) In the guest, crash the kernel. kernel/ sysrq
echo 1 > /proc/sys/
echo c > /proc/sysrq-trigger
(2) Rnu "nova volume-detach <server> <volume-id>"
This might be because guest doesn't prospectively respond to ACPI hotplug event.
While (re)-booting the guest OS, there also is the window the guest doesn't respond to the event.