yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83831
[Bug 1875418] Re: Generated policy.json in Ussuri is broken by default
Reviewed: https://review.opendev.org/748059
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fe545dbe5fb434d5fce2d4d0f24c6c4a6bdd7d21
Submitter: Zuul
Branch: master
commit fe545dbe5fb434d5fce2d4d0f24c6c4a6bdd7d21
Author: Ghanshyam Mann <gmann@xxxxxxxxxxxxxxxxx>
Date: Thu Sep 3 14:25:43 2020 -0500
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
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1875418
Title:
Generated policy.json in Ussuri is broken by default
Status in OpenStack Compute (nova):
Fix Released
Status in oslo.policy:
New
Bug description:
Looks like the generated policy.json is broken by default and can't be
used by operators as-is, as it doesn't include the deprecated options
which are unfortunately needed for it to work.
With the default policy.json as generated by the nova namespace, the
admin user can't even do simple things like:
- openstack flavor create
- openstack hypervisor list
and probably many more...
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1875418/+subscriptions
References