os-brick/os_brick
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
..
encryptors Skip cryptsetup password quality checking 2020-02-13 14:12:39 +00:00
initiator ScaleIO: Connection info backward compatibility 2020-08-17 20:34:42 -07:00
local_dev Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Fix "Remove VxFlex OS credentials" regression 2020-06-17 12:00:19 -04:00
remotefs Read mounts from /proc/mounts instead of running mount 2020-02-24 19:13:14 -05:00
tests ScaleIO: Connection info backward compatibility 2020-08-17 20:34:42 -07:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +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