Ceilometer-api is very slow, always got about 10s to 20s latency.
ceilometer-api uses WSGiRef as it's backend socket server. And if you look into the wsgiref code BaseHTTPServer.py, it calls socket.getfqdn(host) to do reverse dns lookup, though management ips and fqdn are maintained in /etc/hosts for each node, but not for the management vip which is in 'haproxy' namespace. So when Haproxy proxy ceilometer api to a controller node, when doing reverse dns lookup, it always fails which causes latency.
Though I'm not quite understanding what the above mentioned blueprint solves(maybe someone can help us to understand), is there any configuration in fuel that I can use to avoid using 'haproxy' namespace which causes these issues and maybe more.
Original source was https://bugs.launchpad.net/bugs/1324140
Note that the issue is fixed in Ceilometer community. https://bugs.launchpad.net/ceilometer/+bug/1291229
Review: http:// gerrit. mirantis. com/19922