cinder/doc/source
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
..
_extra Move cinder-manage page to cli doc subtree 2018-10-16 10:13:30 -04:00
_static Fix tox docs failure 2019-08-23 15:08:33 +09:00
admin [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
cli Follow Up: Default type overrides 2020-09-17 09:05:54 +00:00
common [DOC BLD FIX] Add missing glossaries 2017-07-19 16:45:45 +08:00
configuration [goal] Deprecate the JSON formatted policy file 2020-12-11 18:31:04 -06:00
contributor Update Development Environment documentation for Ubuntu 2020-11-03 14:01:41 +02:00
images docs: update cinder system architecture page 2019-10-17 03:01:08 +05:30
install Docs: Make links more robust 2019-08-10 10:49:23 +02:00
reference Merge "Doc:Storwize to Spectrum Virtualize Family" 2020-11-03 08:00:53 +00:00
user [Docs] Add documentation contribution docs 2017-08-10 15:52:46 -05:00
conf.py Switch to newer openstackdocstheme and reno versions 2020-05-27 12:28:24 +00:00
drivers-all-about.rst Clarify 'supported' reinstatement policy 2020-11-17 08:52:25 -05:00
index.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
upgrade.rst Fix cinder-manage args --max_count in docs 2019-04-12 16:06:04 +08:00