Bug 1471234 - Unprivileged user can't access to its Gnocchi resources created by Ceilometer
Summary: Unprivileged user can't access to its Gnocchi resources created by Ceilometer
Status: CLOSED DUPLICATE of bug 1470134
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-aodh
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
Target Milestone: zstream
: 10.0 (Newton)
Assignee: Mehdi ABAAKOUK
QA Contact: Sasha Smolyak
Depends On:
TreeView+ depends on / blocked
Reported: 2017-07-14 18:57 UTC by david.costakos
Modified: 2020-12-14 09:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-07-17 13:49:21 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1703824 0 None None None 2017-07-14 18:57:55 UTC

Description david.costakos 2017-07-14 18:57:55 UTC
Description of problem:
When an unprivileged user want to access to Gnocchi resources
created by Ceilometer, that doesn't work because the filter scope
the Gnocchi query to resource owner to the user.  this causes autoscaling templates launched by non-admin users to fail

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.create autoscaling template based on cpu_util metric
2. launch as a user/tenant without admin privileges
3. aodh alarms alwasy report 'insufficient data'

Actual results:
autoscaling templates fail to fuction

Expected results:
autoscaling templates would function

Additional info:
seems covered by launchpad bug 1703824  fixe tested on OSP 10 Newton Z3 from the review and it worked in our lab

Note You need to log in before you can comment on or make changes to this bug.