[Openstack-devel] Safe access to /etc/nova/nova*.conf from Ceilometer

Julien Danjou acid at debian.org
Fri Nov 16 14:59:15 UTC 2012


On Fri, Nov 16 2012, Thomas Goirand wrote:

Hi Thomas,

> Could you tell what it needs to read in nova*.conf?

Yes. It used to read SQL connection settings from Nova, because it used
the Service class from Nova, and that classes registers services in the
database as you might know.
Now, this part have been migrated to oslo.service and should not require
this information. But I think some part of Ceilometer code hasn't been
updated yet. But I'll look at this.

What's left that we really need in nova.conf is the virt API used by
Nova. But only ceilometer-compute-agent needs to know that, so we can
imagine that only this package installation would trigger the ceilometer
addition to the nova group in a near future.

We are currently discussing with the Nova team about how to improve
ceilometer-compute-agent so it's not virt-dependant on its side. That'll
take some time, but in the end, when that's done, nova.conf shouldn't be
required at all by Ceilometer.

> Also, I've noticed there's a /etc/ceilometer, but it's empty. Don't you
> have any configuration file? Or is the package not doing what it should?

We don't generate any default configuration file, but we should. There's
a bug¹ about that. I assigned it to myself, so I'll take care. In the
meantime, you can steal the configuration file generated by devstack as
a start.

¹  https://bugs.launchpad.net/ceilometer/+bug/1057473

-- 
Julien Danjou
// Free Software hacker & freelance
// http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20121116/cf97cfce/attachment.pgp>


More information about the Openstack-devel mailing list