[all][tc][goals] Migrate RBAC Policy Format from JSON to YAML: Week R-20 Update

Ghanshyam Mann gmann at ghanshyammann.com
Fri Nov 27 06:59:07 UTC 2020


Hello Everyone,

As you all know, 'Migrate RBAC Policy Format from JSON to YAML' is one of the community-wide goals
for Wallaby development cycle.

I am starting this thread to report the progress of this work. 

Tracking: https://etherpad.opendev.org/p/migrate-policy-format-from-json-to-yaml

Gerrit Topic: https://review.opendev.org/q/topic:%22policy-json-to-yaml%22+(status:open%20OR%20status:merged)

Updates:
========
* Common code of upgrade checks and policy.json file fallback logic is moved from nova to oslo.upgradechecks (in version 1.2.0)
and oslo.policy(in version 3.6.0) respectively. 

** For upgrade checks, you just need to enable it from the project side. Example: 
https://review.opendev.org/c/openstack/keystone/+/764240/4/keystone/cmd/status.py

** For olso.policy fallback logic, you just need to bump the min version to 3.6.0. For project who already change the policy_file
default in previous releases (like Cinder ) then you can disable this fallback logic via flag 'fallback_to_json_file'

* I have started few projects to propose the changes and will continue to do that for other projects too. If you are
interested to help, please write it in tracking etherpad [1].

* I am updating the goal documents also for oslo side common code and the latest example.
- https://review.opendev.org/c/openstack/governance/+/764261
- This is an example you can refer: https://review.opendev.org/c/openstack/keystone/+/764240

[1] https://etherpad.opendev.org/p/migrate-policy-format-from-json-to-yaml

-gmann



More information about the openstack-discuss mailing list