| 1 | --- |
| 2 | upgrade: |
| 3 | - | |
| 4 | The default value of ``[oslo_policy] policy_file`` config option has been |
| 5 | changed from ``policy.json`` |
| 6 | to ``policy.yaml``. Cyborg policy new defaults since 5.0.0 and current |
| 7 | default value of ``[oslo_policy] policy_file`` config option (``policy.json``) |
| 8 | does not work when ``policy.json`` is generated by |
| 9 | `oslopolicy-sample-generator <https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-sample-generator.html>`_ tool. |
| 10 | Refer to `bug 1875418 <https://bugs.launchpad.net/nova/+bug/1875418>`_ |
| 11 | for more details. |
| 12 | Also check `oslopolicy-convert-json-to-yaml <https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html>`_ |
| 13 | tool to convert the JSON to YAML formatted policy file in |
| 14 | backward compatible way. |