Volume discovery and local storage management lib
Go to file
Lucian Petrut 7fcd68b340 Windows SMBFS: avoid mounting local shares by default
In quite a few situations, SMB shares exposed by the local server
cannot be mounted locally (e.g. SoFS shares).

The Nova Hyper-V driver will always pass the 'local_path_for_loopback'
flag to the os-brick connector, but this doesn't happen when Cinder
connects to volumes exposed by the SMB driver. For this reason,
cinder will fail to backup volumes residing on SoFS shares.

To keep it simple, we can just change the default behavior of the SMB
os-brick connector so that local shares are never mounted, using the
shared path directly.

Change-Id: Id5beadce70532fb6b0e56e40fce1f62e6eaa3877
Related-Bug: #1781205
2018-07-11 15:02:14 +03:00
doc/source doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick Windows SMBFS: avoid mounting local shares by default 2018-07-11 15:02:14 +03:00
releasenotes Adding support to extend attached ScaleIO volumes 2018-03-19 09:05:30 -04:00
tools Avoid tox_install.sh for constraints support 2017-12-02 16:51:51 +00:00
.coveragerc Fix coverage generation 2016-04-20 15:52:31 +00:00
.gitignore Add .stestr.conf configuration 2017-10-02 17:35:26 -05: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
.stestr.conf Add .stestr.conf configuration 2017-10-02 17:35:26 -05:00
.zuul.yaml add lower-constraints job 2018-04-17 17:17:38 -04:00
CONTRIBUTING.rst Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
HACKING.rst Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
LICENSE Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Trivial: Update pypi url to new url 2018-04-21 11:27:28 +08:00
babel.cfg Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
bindep.txt Fix bindep for multipath 2018-04-02 14:40:35 -04:00
lower-constraints.txt add lower-constraints job 2018-04-17 17:17:38 -04:00
pylintrc Add pylint tox env 2016-04-04 18:02:19 -04:00
requirements.txt uncap eventlet 2018-04-11 11:52:27 -04:00
setup.cfg Merge "Update and replace http with https for doc links" 2017-09-01 14:22:15 +00:00
setup.py Updated from global requirements 2017-03-10 19:12:09 +00:00
test-requirements.txt Switch to using stestr 2018-06-03 08:19:28 -04:00
tox.ini Merge "Switch to using stestr" 2018-06-12 17:22:10 +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/