allow_admin_api flag has been superseded by the policy "admin_api"

Bug #1054119 reported by Anne Gentle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Tom Fifield

Bug Description

It looks like allow_admin_api flag has been superseded by the policy "admin_api": [["role:admin"]] in /etc/nova/policy.json

The docs at http://docs.openstack.org/essex/openstack-compute/admin/content/specify-host-to-boot-instances-on.html still indicate that allow_admin_api is needed.

I tested on stable/essex and only needed to have admin role, and I don't find any occurrence of allow_admin_api in the source.

Not sure the procedure for doc updates. I can file a LP bug if that's the thing to do.

Ps. I filed a bug for ignore_hosts and force_hosts not working: https://bugs.launchpad.net/nova/+bug/1053754 --you need to apply that if you're going to test.

Revision history for this message
Tom Fifield (fifieldt) wrote :
Changed in openstack-manuals:
status: Confirmed → In Progress
assignee: nobody → Tom Fifield (fifieldt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/13939
Committed: http://github.com/openstack/openstack-manuals/commit/1e56af2723d3c30fa9951d86bd2095f15ffb7135
Submitter: Jenkins
Branch: master

commit 1e56af2723d3c30fa9951d86bd2095f15ffb7135
Author: Tom Fifield <email address hidden>
Date: Tue Oct 2 17:51:34 2012 +1000

    remove references to allow_admin_api flag

    fixes bug 1054119

    As in the bug report, allow_admin_api no longer exists and has been
    replaced by a line in policy.json, in which what was effectively
    allow_admin_api is enabled by default. So, this patch just removes
    the no longer needed references.

    Change-Id: I1951332d46696c3a832bdc401c5e343e5a27854c

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.