cinder/releasenotes/notes/cinder-status-check-policyjson-ef61826eab95372b.yaml
Sean McGinnis 8c6355f3cc
Add upgrade check for presence of policy.json file
Correct file is policy.yaml and only needed if overriding defaults. This
only warns if the file is present in case it was left by a previous
version and not actually needed or used.

Also checks for the policy_file being overridden in config, and if so,
warns if the specified file does not exist.

Change-Id: Ia46e843ad245cf8263b97b773fac9bc6c6fe6647
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-04 13:59:13 -05:00

8 lines
267 B
YAML

---
upgrade:
- |
A warning has been added to the ``cinder-status upgrade check`` CLI if a
``policy.json`` file is present. Documentation has been updated to
correct the file as ``policy.yaml`` if any policies need to be changed from
their defaults.