Go to file
Gorka Eguileor 7d995b6cf6 RBD: Fix check_valid_device
The check_valid_device method of the RBD connector doesn't work for
locally attached volumes (using krbd) because it only has code for
handles.

This patch adds code to handle the check of locally attached RBD volumes
running the code as root and as the current user.

In order to preserve current behavior we don't change the code for
checking valid handles, which means we are ignoring the run_as_root
parameter.

Closes-Bug: #1884552
Related-Bug: #1883720
Change-Id: Iedf1d4678eeef438ac4f03a61f5f91f3a225c3fd
2020-07-30 14:07:49 +02:00
2020-07-30 14:07:49 +02:00
2020-07-30 14:07:49 +02:00
2020-06-02 20:35:29 +02:00
2016-04-20 15:52:31 +00:00
2019-04-19 19:34:25 +00:00
2015-01-22 19:09:30 +00:00
2017-10-02 17:35:26 -05:00
2019-01-18 21:30:00 -05:00
2015-01-22 19:09:30 +00:00
2016-04-04 18:02:19 -04:00
2020-05-03 14:08:49 +00:00
2020-04-05 17:43:12 +02:00
2020-07-16 10:06:41 -04: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:

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

Description
Volume discovery and local storage management lib
Readme 32 MiB
Languages
Python 99.6%
Shell 0.4%