[Openstack-operators] Duplicates and confusion in nova policy.json files

Matt Riedemann mriedem at linux.vnet.ibm.com
Thu Jun 16 16:38:02 UTC 2016


On 6/16/2016 12:28 AM, Sam Morrison wrote:
> Now that policy files in nova Liberty apparently work I’m going through the stock example one and see that there are duplicate entries in the policy.json like
>
> compute:create:forced_host

^ is for the v2 API which is deprecated in liberty. The legacy v2 API 
code and policy rules for v2 are removed in newton. People should use v2 
on v2.1 if they want to continue using v2 API after liberty.

> os_compute_api:servers:create:forced_host

^ is for the v2.1 (and v2 on v2.1) API policy checking.

>
> Which one do I use to change who can do forced_host? both or a specific one?
>
> Anyone have any ideas
>
> Cheers,
> Sam
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>


-- 

Thanks,

Matt Riedemann




More information about the OpenStack-operators mailing list