os-brick/os_brick/tests/initiator
Gorka Eguileor 5450483082 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
2020-08-13 13:13:02 +02:00
..
connectors ScaleIO: Connection info backward compatibility 2020-08-13 13:13:02 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_host_driver.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxfc.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxrbd.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxscsi.py Replace sg_scan with lsscsi to get '[H:C:T:L]' 2020-07-29 13:57:06 +00:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00