Comment 2 for bug 1012242

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Re: [Bug 1012242] Re: remove database access from agent pollsters

The pollster needs to know which instances are on the compute node where
the pollster is running so it knows which UUID values to pass to libvirt
when asking for details. It also needs to include a bunch of other metadata
from the instance in the metering messages it sends so the collector can
save them. Some providers will bill differently for an instance depending
on where it is located within the data center, for instance.

On Tue, Jun 12, 2012 at 6:22 PM, Yaguang Tang <email address hidden> wrote:

> when nova finish ec2-id to uuid translate,we may need not to access
> the db ,since at that time,the uuid is the only identifier of an
> instance .
>
> --
> You received this bug notification because you are a member of
> Ceilometer Drivers, which is the registrant for Ceilometer.
> https://bugs.launchpad.net/bugs/1012242
>
> Title:
> remove database access from agent pollsters
>
> Status in Openstack Metering (ceilometer):
> New
>
> Bug description:
> The libvirt agent pollsters connect to the database directly to get a
> list of instances on the current host. We should use some other
> mechanism to ask nova (or at least our own central service) for that
> information.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ceilometer/+bug/1012242/+subscriptions
>