Volume discovery and local storage management lib
Go to file
Zhao Liqiang ccafe98b97 Add attribute 'name' to class RBDVolume.
If we create backup for volume  in-use, volume
driver will clone a temporary volume, and create
a snapshot based on the temporary volume, then
create backup for the snapshot. So, the src_name
passed to method _rbd_diff_transfer should be the
name of the temporary volume instead of the original
volume's name. In order to get this name, we need
add self.name to class os_brick.initiator.linuxrbd.
RBDVolume, that's because ceph provides rbd.so to
cinder, but we can't get volume name from rbd.Image
directly.

Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: Ic2732e985b75ae710da3814c2d5b2253ced74534
Closes-Bug: #1663504
2017-09-01 17:18:09 +03:00
doc/source Retire ISERConnector from documentation 2016-04-27 05:48:08 -04:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick Add attribute 'name' to class RBDVolume. 2017-09-01 17:18:09 +03:00
releasenotes encryptors: Introduce encryption provider constants 2017-01-10 12:11:35 +00:00
tools Add curl to bindep 2016-12-22 10:53:42 -05:00
.coveragerc Fix coverage generation 2016-04-20 15:52:31 +00:00
.gitignore Add ignore for . directories 2016-07-22 17:02:41 +00:00
.gitreview Correct project name in .gitreview 2015-03-18 13:00:51 +01:00
.mailmap Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
.testr.conf Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
babel.cfg Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
bindep.txt Add curl to bindep 2016-12-22 10:53:42 -05:00
CONTRIBUTING.rst Update the documentation for os-brick 2015-02-19 14:37:13 -08:00
HACKING.rst Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
README.rst Show team and repo badges on README 2016-11-25 13:40:47 +01:00
requirements.txt Updated from global requirements 2017-01-11 11:22:07 +00:00
setup.cfg Drop py33 support 2016-10-27 09:46:24 +08:00
setup.py Updated from global requirements 2015-09-17 12:15:39 +00:00
test-requirements.txt Move castellan to test-reqs 2016-12-07 12:23:28 -05:00
tox.ini Add debug to tox environment 2017-01-04 11:06:58 +00:00

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:

http://docs.openstack.org/developer/os-brick/index.html

OR refer to the parent project, Cinder:

http://docs.openstack.org/developer/cinder/