6b847ffd945044bc86540884230db10873efc731
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
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 imformation, 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
Description
Languages
Python
99.6%
Shell
0.4%