Bug 1471234

Summary: Unprivileged user can't access to its Gnocchi resources created by Ceilometer
Product: Red Hat OpenStack Reporter: david.costakos
Component: openstack-aodhAssignee: Mehdi ABAAKOUK <mabaakou>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: aaustin, apevec, dlamotta, jschluet, lhh, pkilambi
Target Milestone: zstreamKeywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 13:49:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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):
python-aodh-3.0.2-1.el7ost.noarch

How reproducible:
always

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