Volume discovery and local storage management lib
Go to file
Lucian Petrut 6b847ffd94 Windows remotefs: create mountpoints at the expected location
In order to support running inside a Scale-Out File Server cluster,
when 'mounting' a local share, we're creating a symlink to the local
export path without actually creating a SMB mapping.

The issue is that instead of creating a symlink using the hash of
the share UNC path, we're using the local export path instead. This
is undesired behavior, in which case the caller will not be able
to find the 'mountpoint'.

This change addresses this issue, ensuring that we're using the
mountpoint expected by the caller (e.g. the Cinder SMB driver)
when mounting SMB shares.

Closes-Bug: #1631351

Change-Id: I6bf909da559a745596f7d4c30d12e794b0b156de
2016-10-19 19:32:03 +03:00
doc/source Add reno for release notes management 2016-01-20 19:19:36 -06:00
etc/os-brick/rootwrap.d Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
os_brick Windows remotefs: create mountpoints at the expected location 2016-10-19 19:32:03 +03:00
releasenotes Add Windows Fibre Channel connector 2016-08-04 23:12:09 +03:00
tools Add fast8 to quickly test pep8 changes 2016-06-09 14:17:48 -07: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
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
MANIFEST.in Created the Brick library from Cinder 2015-01-22 19:09:30 +00:00
README.rst Add fancy pypi version and download images 2015-09-15 15:52:10 +00:00
babel.cfg 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
requirements.txt Updated from global requirements 2016-07-29 02:33:32 +00:00
setup.cfg remove python 2.6 trove classifier 2015-12-23 01:31:13 +00:00
setup.py Updated from global requirements 2015-09-17 12:15:39 +00:00
test-requirements.txt Updated from global requirements 2016-07-06 08:49:23 +00:00
tox.ini Upgrade tox to 2.0 2016-07-12 15:05:20 -07:00

README.rst

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 imformation, refer to the parent project, Cinder:

https://github.com/openstack/cinder