
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
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: https://git.openstack.org/cgit/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick
Description
Languages
Python
99.6%
Shell
0.4%