OpenStack Block Storage (Cinder)
Go to file
Ghanshyam Mann 325001045c [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on project side
via warning in doc and format releasenotes.

1st item if already done by cinder in Stein so this commit
only cover the 2nd item.

Since oslo.policy 3.6.0, by default oslo policy will
fallback to existing policy.json file to give operator some
time to migrate it to new default policy.yaml. But cinder
already changed the default value to policy.yaml long back
since Stein so no need to fallback to default JSON file. To
do that it disable this fallback via flag to oslo.policy.

Also convert the tests/unit/policy.json to policy.yaml file.

Additionally, made some corrections to outdated documentation
when removing references to a "policy.json" file.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Co-Authored-By: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: Iaf8a454e60d1e4b66981b61175f89203cc15e439
2020-12-11 18:31:04 -06:00
api-ref/source Default type overrides 2020-09-16 14:05:31 +00:00
cinder [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
contrib/block-box Add note that block-box is not supported 2020-01-10 08:37:54 -06:00
doc [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
etc/cinder Delete TSM Backup driver 2020-11-03 18:53:39 +02:00
playbooks zuul: collect cinderlib logs from tempest node(s) only 2020-07-16 14:42:29 +02:00
rally-jobs Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
releasenotes [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
tools Add mypy tox env 2020-10-14 08:24:13 -04:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Add mypy tox env 2020-10-14 08:24:13 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:48 +00:00
.pylintrc Pylint: Filter out cinder.objects and requests E1101 2019-02-21 13:28:44 -05:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Add Python3 wallaby unit tests 2020-11-14 18:19:01 +00:00
bindep.txt bindep: Track qemu-img dependency 2020-08-19 15:00:35 +00:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
driver-requirements.txt 3PAR: Set the right minimum client version 2020-07-29 05:27:09 -07:00
HACKING.rst Update HACKING document to match current checks 2020-04-17 15:09:13 +00:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
lower-constraints.txt [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
mypy-files.txt Add mypy tox env 2020-10-14 08:24:13 -04:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
reno.yaml Tell reno to ignore the kilo branch 2020-02-15 14:15:18 -06:00
requirements.txt [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
setup.cfg Merge "Add links to package metadata" 2020-11-29 16:50:42 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Update requirements and lower-constraints 2020-12-08 17:04:46 -05:00
tox.ini Merge "tox: remove bash from whitelist_externals" 2020-11-03 19:27:54 +00:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

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

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient