os-brick/os_brick/tests/initiator/connectors
Gorka Eguileor 777ee3640a 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.

This patch includes the release note from Change
Ib98043358d51426ca650104ad59a7e09911ee8e9

Related-Bug: #1823200
Change-Id: I6f01a178616b74ed9a86876ca46e7e46eb360518
(cherry picked from commit 5450483082)
(cherry picked from commit 31589a624f)
Conflicts:
	os_brick/initiator/connectors/scaleio.py
(cherry picked from commit db95b001e2)
(cherry picked from commit 173601116e)
Conflicts:
	os_brick/initiator/connectors/scaleio.py
	os_brick/tests/initiator/connectors/test_scaleio.py
(cherry picked from commit 43da3cd47b)
2020-12-15 12:56:36 -08:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_aoe.py Replace assertDictMatch with assertDictEqual 2016-12-22 11:12:47 +08:00
test_base_iscsi.py Use assertEqual() instead of assertDictEqual() 2016-09-26 11:45:23 +07:00
test_disco.py Stop ignoring E123 and E125 pycodestyle rules 2017-05-24 00:43:02 +02:00
test_drbd.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_fibre_channel.py Handle None value 'inititator_target_map' 2019-11-27 19:31:55 +01:00
test_fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-21 05:22:21 +00:00
test_fibre_channel_s390x.py Fix multipath disconnect with path failure 2018-08-21 11:46:42 -05:00
test_gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
test_hgst.py Fix unittest run on s390x host 2017-02-22 20:43:16 +00:00
test_huawei.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_iscsi.py iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-12-03 15:40:04 +00:00
test_iser.py Fix iSCSI volume attachment over RDMA transport 2017-08-23 11:18:06 +03:00
test_local.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_nvme.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-12-11 17:19:58 +00:00
test_rbd.py rbd: Use showmapped to find the root RBD device during disconnect_volume 2020-04-15 11:38:23 +01:00
test_remotefs.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_scaleio.py ScaleIO: Connection info backward compatibility 2020-12-15 12:56:36 -08:00
test_scaleio_get_password.py Fix "Remove VxFlex OS credentials" regression 2020-06-18 11:35:05 -04:00
test_sheepdog.py Change assertTrue(isinstance()) with optimal assert 2016-09-01 18:27:30 +08:00
test_storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
test_vmware.py Add connector for vmdk volumes 2016-08-09 17:23:30 +05:30
test_vrtshyperscale.py Fixed the veritas connector path 2017-05-23 18:32:54 +00:00