os-brick/os_brick
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
..
encryptors Make close on cryptsetup volumes idempotent 2017-11-18 00:19:42 +00:00
initiator ScaleIO: Connection info backward compatibility 2020-12-15 12:56:36 -08:00
local_dev Remove the unnecessary pv_list assign during LVM object init 2018-01-11 00:59:31 +00:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Read mounts from /proc/mounts instead of running mount 2020-08-03 11:30:47 +02:00
tests ScaleIO: Connection info backward compatibility 2020-12-15 12:56:36 -08:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00