<div dir="ltr">I don't fully understand the architecture of our rating project, but as I understand it we use a service with rights to read ceilometer info (in our case, pollsters and notifications) and then aggregate that into another database which we query to get the actual billing information.   We bill monthly, and getting a month's worth of data for each tenant in one hit would crush our older, Mongo based, Ceilometer into dust.  The tiny database that contains the distilled information is quick and easy to query, to the point where we can display that information to customers as an extra panel in the dashboard.<div><br></div><div>Just a side note - what would happen if you missed an event?  Say, e.g., rabbit had a bad day... or something just wasn't running... We found pollsters gave us the assurance to mean we'd only lose up to 10 mins of data, which is generally OK when we bill by the hour.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2015 at 23:01, Christian Brinker <span dir="ltr"><<a href="mailto:cbrinker@evoila.de" target="_blank">cbrinker@evoila.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
my company is currently starting to implement a public Openstack<br>
cloud. I am part of the developer team creating a billing system<br>
towards our customers. We want to use<br>
Ceilometer's Event API (Liberty release) to retreive the usage<br>
information (as /v2/events) of our customers projects(aka tenants).<br>
Unfortunately, the RBAC filter<br>
prevents REST calls towards the /v2-Web-API from users who are not<br>
member of the project (or are their admin). But adding a user to all<br>
projects with a distinc<br>
ceilometer-reader role or admin role seems not fourtunate to us<br>
because to want to serve admin role users to their own domain to each<br>
customer. So the ceilometer-reader<br>
user could be removed by a customer. Due to this, we ran into some<br>
kind of deadlock of good solutions and would be happy to get any help:<br>
<br>
- Is there another/common way to retrieve the event based usage<br>
information in a way to generate billing information? For example<br>
volume A was created at t1 and deleted<br>
at t2.<br>
- Is there a way to get a project scope token from keystone through<br>
some kind of cloud admin user which is not part of the project?<br>
- Is there a way to change Ceilometers policy.json in a way to<br>
retrieve data from all projects with a admin on the default project or<br>
someone similiar?<br>
<br>
Thanks for your efforts.<br>
<br>
Greetings,<br>
Christian Brinker<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br></div>