Volume discovery and local storage management lib
Go to file
Gorka Eguileor 31589a624f 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)
2020-08-17 12:20:43 -05:00
doc Merge "doc/source/conf.py is not executable" 2020-03-06 17:35:31 +00:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick ScaleIO: Connection info backward compatibility 2020-08-17 12:20:43 -05:00
releasenotes rbd: Support 'rbd showmapped' output from ceph 13.2.0+ 2020-06-26 16:22:37 +00:00
tools Split connector list by platform 2019-11-12 13:18:32 +02:00
.coveragerc Fix coverage generation 2016-04-20 15:52:31 +00:00
.gitignore Add LIO barbican tests to .zuul.yaml 2018-10-01 10:19:36 -05:00
.gitreview Update .gitreview for stable/ussuri 2020-04-02 10:54:01 +00:00
.mailmap Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.stestr.conf Add .stestr.conf configuration 2017-10-02 17:35:26 -05:00
.zuul.yaml Merge "Port the os-bricks jobs to Zuul v3" 2020-02-22 03:13:23 +00:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 09:11:33 -05:00
HACKING.rst Update hacking version 2019-01-18 21:30:00 -05:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 20:55:14 +08:00
babel.cfg Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
bindep.txt Add pdf documentation build in tox 2019-08-29 11:41:33 -07:00
lower-constraints.txt Fix hacking min version to 3.0.1 2020-05-18 17:35:31 +01:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt Merge "Blacklist eventlet 0.25.0" 2019-11-27 18:21:32 +00:00
setup.cfg Remove Python 2.7 support from testing and gates 2019-12-04 16:29:40 -05:00
setup.py Updated from global requirements 2017-03-10 19:12:09 +00:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-18 17:35:31 +01:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri 2020-04-02 10:54:04 +00:00

README.rst

Team and repository tags

image

brick

Latest Version

Downloads

OpenStack Cinder brick library for managing local volume attaches

Features

  • Discovery of volumes being attached to a host for many transport protocols.
  • Removal of volumes from a host.

Hacking

Hacking on brick requires python-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 or newer).

If "tox -e py34" fails with the error "db type could not be determined", remove the .testrepository/ directory and then run "tox -e py34".

For any other information, refer to the developer documents:

https://docs.openstack.org/os-brick/latest/

OR refer to the parent project, Cinder:

https://docs.openstack.org/cinder/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/os-brick