os-brick/os_brick/initiator/connectors
Gorka Eguileor db95b001e2 ScaleIO: Connection info backward compatibility
When we fixed bug 1823200 in Change-ID
Iab54c515fe7be252df52b1a0503a251779805759 we made the ScaleIO connector
incompatible with the old connection properties dictionary as it only
supported the new 'config_group' and 'failed_over' parameters to get the
password.

This is a problem in any system that is upgraded and has attachments to
the array, because the connection properties of those volumes will not
contain the new fields and detaching them will result in error
"KeyError: 'config_group'".

This patch adds compatibility code to support the old connection
properties format so we can detach those volumes.

Related-Bug: #1823200
Change-Id: I6f01a178616b74ed9a86876ca46e7e46eb360518
(cherry picked from commit 5450483082)
(cherry picked from commit 31589a624f)
Conflicts:
	os_brick/initiator/connectors/scaleio.py
2020-08-17 20:34:42 -07:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py Merge "Delete redundant code" 2019-08-28 20:06:31 +00:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-20 09:23:12 -04:00
fibre_channel_s390x.py Fix param in s390x platform 2019-08-27 02:02:05 +00:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:39:21 +00:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvmeof.py Rename nvme to nvmeof 2019-09-03 09:39:35 -04:00
rbd.py rbd: Correct local_attach disconnect test and showmapped arguments 2020-06-08 13:49:19 +00:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py ScaleIO: Connection info backward compatibility 2020-08-17 20:34:42 -07:00
sheepdog.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
vmware.py VMware: Detach backing vmdk during disconnect 2019-02-01 15:05:07 -08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00