Volume discovery and local storage management lib
ccafe98b97
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 |
||
---|---|---|
doc/source | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
brick
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:
- OR refer to the parent project, Cinder:
- License: Apache License, Version 2.0
- Source: http://git.openstack.org/cgit/openstack/os-brick
- Bugs: http://bugs.launchpad.net/os-brick