os-brick/os_brick/tests/initiator
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
..
connectors ScaleIO: Connection info backward compatibility 2020-08-17 20:34:42 -07:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Split connector list by platform 2020-02-06 07:54:15 +00:00
test_host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
test_linuxfc.py Fix FC scan too broad 2019-11-14 15:41:30 +01:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py linuxscsi: Stop waiting for multipath devices during extend_volume 2019-06-11 10:20:51 +01:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00
test_utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00