nova/nova
Hiroyuki Eguchi 7307dbaf6b Fix disconnecting necessary iSCSI sessions issue
In Icehouse with "iscsi_use_multipath=true", detaching a multipath
iSCSI volume kills all iSCSI volumes visible from the nova compute node.
When we use different targets(IQNs) associated with same portal for
each different multipath device, all of the targets will be deleted
via disconnect_volume().

This patch fixes the behavior of detaching volume:

  1. Extract the targets for the detached multipath device.
  2. Delete/disconnect the targets for the detached multipath device.

Closes-Bug: #1382440

(cherry picked from commit 36aeedfd5e)

Conflicts:
        nova/tests/unit/virt/libvirt/test_volume.py

Change-Id: I38eafdaee03d136282cfde1fd013e322a4256cc4
2014-12-26 09:42:20 +09:00
..
CA
api Merge "Fix live migration api stuck when migrate to old nova node" into stable/juno 2014-12-11 01:57:33 +00:00
cells Update rpc version aliases for juno 2014-10-08 11:47:01 +00:00
cert Update rpc version aliases for juno 2014-10-08 11:47:01 +00:00
cloudpipe
cmd cmd: update the default behavior of serial console 2014-09-29 10:24:57 -04:00
compute Merge "Instances with NUMA will be packed onto hosts" into stable/juno 2014-12-04 14:02:47 +00:00
conductor Merge "Fix live migration api stuck when migrate to old nova node" into stable/juno 2014-12-11 01:57:33 +00:00
console Update rpc version aliases for juno 2014-10-08 11:47:01 +00:00
consoleauth Update rpc version aliases for juno 2014-10-08 11:47:01 +00:00
db Add @_retry_on_deadlock to _instance_update() 2014-10-21 17:18:47 -04:00
hacking mock.assert_called_once() is not a valid method 2014-09-16 16:38:49 -04:00
image Merge "Pass certificate, key and cacert to glanceclient" 2014-09-17 20:08:58 +00:00
ipv6
keymgr docs - Fix errors,warnings from document generation 2014-08-08 22:07:31 +00:00
locale Updated translations 2014-10-09 12:22:36 +02:00
network Update rpc version aliases for juno 2014-10-08 11:47:01 +00:00
objects Make Instance.save() update numa_topology 2014-11-27 18:20:25 +01:00
objectstore
openstack Sync strutils from oslo-incubator for mask_password fix 2014-10-23 14:53:06 -07:00
pci Mitigating performance impact with getting pci requests from DB 2014-09-18 12:41:24 -04:00
rdp
scheduler Merge "Instances with NUMA will be packed onto hosts" into stable/juno 2014-12-04 14:02:47 +00:00
servicegroup Merge "Fix service groups with zookeeper" 2014-09-12 05:26:22 +00:00
spice
storage Fix live-migration failure in FC multipath case 2014-08-09 00:02:06 +08:00
tests Fix disconnecting necessary iSCSI sessions issue 2014-12-26 09:42:20 +09:00
virt Fix disconnecting necessary iSCSI sessions issue 2014-12-26 09:42:20 +09:00
vnc
volume Retry on closing of luks encrypted volume in case device is busy 2014-09-26 07:31:49 -07:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Allow empty volumes to be created 2014-08-08 19:30:17 -04:00
config.py Move to oslo.db 2014-09-05 14:18:36 +02:00
context.py Code change for nova support cinder client v2 2014-08-05 22:57:07 -07:00
crypto.py Fix broken cert revocation 2014-10-09 08:59:06 +02:00
debugger.py
exception.py VMware: Remove tests for None in fake._db_content['files'] 2014-09-29 14:43:59 +01:00
filters.py
hooks.py docs - Fix errors,warnings from document generation 2014-08-08 22:07:31 +00:00
i18n.py
loadables.py
manager.py
netconf.py
notifications.py Be less confusing about notification states 2014-09-22 11:20:58 -04:00
paths.py
policy.py
quota.py Merge "Fix NoopQuotasDriver.get_settable_quotas()" 2014-09-25 06:05:46 +00:00
rpc.py
safe_utils.py Fix and Gate on E265 2014-07-24 08:11:00 -04:00
service.py
test.py add time to logging in unit tests 2014-09-24 09:51:36 -04:00
utils.py Remove use of str on exceptions 2014-08-27 13:55:34 +01:00
version.py
weights.py
wsgi.py Remove usage of self.__dict__ for message var replacement 2014-09-25 07:40:27 -07:00