Volume discovery and local storage management lib
Go to file
Eric Harney 71331b0e06 rbd: Correct local_attach disconnect test and showmapped arguments
Id507109df80391699074773f4787f74507c4b882 introduced the showmapped
command when attempting to disconnect locally attached rbd volumes.
Unfortunately at the time the test changes incorrectly attempted to
assert the commands made by using has_calls instead of the valid
assert_has_calls method.

This change now corrects this, ensures _get_rbd_args is called to
populate all of the required arguments for the showmapped command and
finally corrects the name stored within the fake showmapped output in
the test.

Change-Id: I7e761828b3799cef720e15ca7896e8e8d6f98182
2020-05-07 15:42:03 +01:00
doc Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick rbd: Correct local_attach disconnect test and showmapped arguments 2020-05-07 15:42:03 +01:00
releasenotes Update master for stable/ussuri 2020-04-02 10:54:07 +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 OpenDev Migration Patch 2019-04-19 19:34:25 +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 "Add NFS tempest job to check queue" 2020-04-28 22:23:17 +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
bindep.txt Add pdf documentation build in tox 2019-08-29 11:41:33 -07:00
lower-constraints.txt Remove Babel requirement 2020-04-26 19:00:04 +08:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt Remove Babel requirement 2020-04-26 19:00:04 +08:00
setup.cfg Merge "Add py38 package metadata" 2020-05-03 14:08:49 +00:00
setup.py Cleanup py27 support 2020-04-05 17:43:12 +02:00
test-requirements.txt Merge "Raise hacking version to 2.0.0" 2020-02-21 12:24:50 +00:00
tox.ini Bump default tox env from py37 to py38 2020-04-24 10:25:47 -05: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