Shared filesystem management project for OpenStack.
Go to file
Alyson Rosa b29a0e553f Fix access rules for managed shares in HSP driver
A share managed in HSP could have some access rules that
are not in Manila. Trying to add a rule that already exists
in backend results in an error. Also, rules in backend that
names are not "share_id + ip" can't be deleted.
Additionally, if this share has a rule only in backend and not in
Manila, trying to delete it would fail, because HSP doesn't allow
delete share when it still has rules.

Fix it by adding a check in update access when rules already
exist in backend. Check for access rule name in backend when
denying access. And cleaning all rules from backend before
deleting a share to ensure that it has no children in HSP.

Change-Id: I0c8ee5c47efe22f004692022dd952f301d669b06
Closes-Bug: #1620756
2016-09-13 21:09:33 -03:00
api-ref/source Merge "add access_key to share_access_map" 2016-08-24 17:32:36 +00:00
contrib Merge "[ZFSonLinux] Add share migration support" 2016-09-01 13:56:54 +00:00
devstack Share migration Newton improvements 2016-08-31 12:38:14 -03:00
doc Merge "Add documentation for EMC Unity Driver for Manila" 2016-09-03 12:19:03 +00:00
etc [ZFSonLinux] Add share migration support 2016-09-01 05:45:18 +00:00
install-guide/source In-tree Install Guide 2016-08-12 08:06:38 -04:00
manila Fix access rules for managed shares in HSP driver 2016-09-13 21:09:33 -03:00
manila_tempest_tests Merge "Correct reraising of exception" 2016-09-03 13:12:52 +00:00
releasenotes Fix access rules for managed shares in HSP driver 2016-09-13 21:09:33 -03:00
tools Detect addition of executable files 2016-04-08 14:28:42 +00:00
.coveragerc Fix 'cover' tox job 2015-09-21 15:09:22 +03:00
.gitignore In-tree Install Guide 2016-08-12 08:06:38 -04:00
.gitreview Move from stackforge to openstack 2014-09-19 21:23:02 +00:00
.testr.conf Use oslotest.base.BaseTestCase as test base class 2015-01-04 08:43:52 +01:00
CONTRIBUTING.rst Added CONTRIBUTING file in .rst format 2015-11-15 23:45:38 +05:30
HACKING.rst Do not supply logging arguments as tuple. 2016-06-09 17:22:36 -04:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
README.rst Adapt readme to usual structure 2015-01-23 08:18:06 +01:00
babel.cfg Initialize from cinder 2013-08-08 10:34:06 -04:00
pylintrc docs 2013-09-17 10:57:47 +03:00
requirements.txt Updated from global requirements 2016-08-24 01:33:05 +00:00
run_tests.sh Enable bashate during pep8 run 2015-03-18 13:40:03 +01:00
setup.cfg Add EMC Unity Driver for Manila 2016-07-28 23:13:29 -07:00
setup.py Updated from global requirements 2015-09-18 20:43:19 +00:00
test-requirements.txt Updated from global requirements 2016-09-01 09:16:11 +00:00
tox.ini Merge "In-tree Install Guide" 2016-08-16 08:32:34 +00:00

README.rst

MANILA

You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://github.com/openstack/manila.git

For developer information please see HACKING.rst

You can raise bugs here http://bugs.launchpad.net/manila

Python client

https://github.com/openstack/python-manilaclient.git