nova/nova/cmd
Ghanshyam Mann fe545dbe5f Migrate default policy file from JSON to YAML
Default value of 'CONF.oslo_policy.policy_file' config option
has been changed from 'policy.json' to 'policy.yaml'. If new default
file 'policy.yaml' does not exist but old default 'policy.json' exist
then fallback to use old default file.

An upgrade checks is added to check the policy_file format and
fail upgrade checks if it is JSON formatted.

Added a warning in policy doc about JSON formatted file is deprecated,
also removed all the reference to policy.json file in doc as well as
in tests.

Related Blueprint: policy-json-to-yaml

Closes-Bug: #1875418

Change-Id: Ic4d3b998bb9701cb1e3ef12d9bb6f4d91cc19c18
2020-09-09 08:09:38 -05:00
..
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
api_metadata.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
api_os_compute.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
baseproxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
common.py Remove future imports 2020-03-24 15:05:36 +00:00
compute.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
conductor.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
manage.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
novncproxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
policy.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
scheduler.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
serialproxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
spicehtml5proxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
status.py Migrate default policy file from JSON to YAML 2020-09-09 08:09:38 -05:00