Shared filesystem management project for OpenStack.
Go to file
Tom Barron 9b1b3957b9 Enforce policy checks getting share-type by name
Policy checks are skipped when looking up a share-type
by name.  This causes share creation attempts that specify
a valid share-type to pass the early API check on share type
even if the share type named is private and not shared with
the user's project.  The share creation fails later, but after
the database record for the share is created.  Although the
operation fails with an ERROR, the share is stuck in CREATING
state.

Fix this issue by checking the user's project in the database
API just as we do for share type lookups by uuid.

Closes-bug: #1885956
Change-Id: If5fe32c155fe0861b3ed86b862335e062796056b
(cherry picked from commit f877deed51)
(cherry picked from commit e02cc6d6bc)
(cherry picked from commit 2f2ed258f7)
(cherry picked from commit 644cdf4e4f)
(cherry picked from commit 11971a94d3)
2020-07-25 11:07:55 +00:00
api-ref/source Allow setting test API microversions in gate tests 2018-07-16 22:49:59 +00:00
contrib Merge "[devstack][ci] Modify firewall in ds-plugin" into stable/queens 2020-05-26 13:25:58 +00:00
devstack Merge "[devstack][ci] Modify firewall in ds-plugin" into stable/queens 2020-05-26 13:25:58 +00:00
doc Adding documentation for User Messages in Manila Documentation 2019-10-23 14:58:08 +00:00
etc [LVM] Run filesystem check before assigning UUID 2019-02-18 16:56:56 +00:00
manila Enforce policy checks getting share-type by name 2020-07-25 11:07:55 +00:00
playbooks/legacy [devstack][ci] Modify firewall in ds-plugin 2020-05-21 07:29:43 -07:00
rally-jobs [Rally] fix jobs 2017-03-30 15:12:22 +03:00
releasenotes Enforce policy checks getting share-type by name 2020-07-25 11:07:55 +00:00
tools Remove run_tests.sh 2018-10-16 14:09:38 +00:00
.coveragerc Impove coverage job accuracy 2017-10-25 11:57:46 -04:00
.gitignore Use stestr for coverage 2018-01-14 13:26:53 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:27:41 +00:00
.stestr.conf tests: replace .testr.conf with .stestr.conf 2017-09-13 07:56:21 -04:00
.zuul.yaml [stable/queens-only][ci] Enable LVM job 2019-07-26 08:59:11 -07:00
CONTRIBUTING.rst Added CONTRIBUTING file in .rst format 2015-11-15 23:45:38 +05:30
HACKING.rst Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
README.rst Update links in README 2017-08-04 11:23:30 +08:00
babel.cfg Initialize from cinder 2013-08-08 10:34:06 -04:00
bindep.txt [CI] Add bindep.txt 2019-07-04 00:16:05 +00:00
requirements.txt Revert Id905d47600bda9923cebae617749c8286552ec94 2018-02-07 17:13:52 -05:00
run_tests.sh Remove --omit argument in run_tests.sh 2017-07-04 18:21:48 +07:00
setup.cfg Merge "Remove in-tree tempest plugin" 2017-12-22 13:40:44 +00:00
setup.py Updated from global requirements 2017-03-03 22:51:04 +00:00
test-requirements.txt Follow the new PTI for document build 2018-01-17 09:53:00 +00:00
tox.ini [CI] Add bindep.txt 2019-07-04 00:16:05 +00:00

README.rst

Team and repository tags

image

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 https://bugs.launchpad.net/manila

Python client

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