What is the default policy for nova , keystone , etc when nova policy.json is empty and how to edit policy.json in Red Hat OpenStack Platform 10 and later

Solution In Progress - Updated -

Issue

  • The /etc/nova/policy.json file is empty after a default installation of OpenStack Platform 10 and later. The only thing in this file is empty brackets"{}"

  • undercloud default policy.json

[root@instack ~]# grep ^[^#] /etc/nova/policy.json
{
}
[root@instack ~]#
  • Overcloud default policy.json
[root@overcloud-controller-0 ~]# grep ^[^#] /etc/nova/policy.json
{
}
[root@overcloud-controller-0 ~]#
  • What is the default policy for nova?

Environment

  • Red Hat OpenStack Platform 13 (RHOSP)
  • Red Hat OpenStack Platform 12 (RHOSP)
  • Red Hat OpenStack Platform 10 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.