regular tenants cannot validate auto-allocate requirements

Bug #1552059 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Armando Migliaccio

Bug Description

Change [1], introduced the ability to validate auto-allocate requirements, however the command does not seem to be working for regular users. When invoked, that's the outcome:

neutron auto-allocated-topology-show -F dry-run
Failed to check policy tenant_id:%(tenant_id)s because Unable to verify match:%(tenant_id)s as the parent resource: tenant was not found.

The call works fine as admin.

[1] https://review.openstack.org/#/c/284307/

Changed in neutron:
status: New → Confirmed
assignee: nobody → Armando Migliaccio (armando-migliaccio)
importance: Undecided → High
milestone: none → mitaka-3
tags: added: auto-allocated-topology
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/286954

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/286954
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1091eea1fd502dfc094fa02501a449842bd10196
Submitter: Jenkins
Branch: master

commit 1091eea1fd502dfc094fa02501a449842bd10196
Author: Armando Migliaccio <email address hidden>
Date: Tue Mar 1 19:16:36 2016 -0800

    Allow auto-allocate's dry-run API call to work for regular users

    Add tenant_id to allow for policy check to succeed.

    Change-Id: I4f470e683406564aaed91faebb010bce27655b39
    Closes-bug: #1552059

Changed in neutron:
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.