Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use yaml for policy file by default #1108

Merged
merged 1 commit into from
Jan 3, 2021
Merged

Use yaml for policy file by default #1108

merged 1 commit into from
Jan 3, 2021

Conversation

kajinamit
Copy link
Contributor

In OpenStack projects we are deprecating usage of json for policy file
and will use yaml by default[1]. This change introduces the default
yaml file and replace the default of policy_file to follow that
migration because Gnocchi depends on the same oslo.policy library.

The old json file is kept because there are several distros like RDO
which uses the file, but it will be removed in a future release.

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

Copy link
Member

@jd jd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a release note?

In OpenStack projects we are deprecating usage of json for policy file
and will use yaml by default[1]. This change introduces the default
yaml file and replace the default of policy_file to follow that
migration because Gnocchi depends on the same oslo.policy library.

The old json file is kept because there are several distros like RDO
which uses the file, but it will be removed in a future release.

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
@kajinamit kajinamit requested a review from jd December 29, 2020 15:58
@kajinamit
Copy link
Contributor Author

@jd Thanks for your feedback. I added a release note to explain the change as requested.

@kajinamit kajinamit closed this Jan 3, 2021
@kajinamit kajinamit reopened this Jan 3, 2021
@mergify mergify bot merged commit 0d610f6 into gnocchixyz:master Jan 3, 2021
@kajinamit kajinamit deleted the policy-yaml branch January 4, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants