On Tue, Sep 24 2013, Pendergrass, Eric wrote:

> Hi, I'm struggling with a problem related to tokens.  I have one token for
> which the project ID gets passed to v2.MeterController.get_all() in the
> kwargs:
>
>  
>
> (Pdb) kwargs
>
> {'project': u'10032339952700', 'meter': u'network.outgoing.bytes'}

project_id you meant?

> As far as I can tell the token data is roughly the same, except for the
> details about the tenant.  I'm stepping through the auth_token code trying
> to find the cause.

You rather want to audit ceilometer.api.controllers.v2._query_to_kwargs
which adds the project a user is scoped to if he's not an admin.
I guess that's the difference between your 2 users/tokens.

-- 
Julien Danjou
/* Free Software hacker * independent consultant
   http://julien.danjou.info */

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to