[mos] Ceilometer-api is very slow

Bug #1330951 reported by Bogdan Dobrelya
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Vadim Rovachev

Bug Description

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

Ilya Shakhat (shakhat)
Changed in fuel:
assignee: Fuel Hardening Team (fuel-hardening) → MOS Ceilometer (mos-ceilometer)
Dmitry Ilyin (idv1985)
summary: - Ceilometer-api is very slow
+ [mos] Ceilometer-api is very slow
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
Dina Belova (dbelova)
affects: fuel → mos
Changed in mos:
milestone: 5.1 → none
no longer affects: fuel/4.1.x
no longer affects: fuel/5.0.x
Changed in mos:
milestone: none → 5.1
Igor Marnat (imarnat)
tags: added: ceilometer
Changed in mos:
assignee: MOS Ceilometer (mos-ceilometer) → Vadim Rovachev (vrovachev)
Revision history for this message
Vadim Rovachev (vrovachev) wrote :
Changed in mos:
status: Triaged → In Progress
Revision history for this message
Vadim Rovachev (vrovachev) wrote :
Changed in mos:
status: In Progress → Fix Committed
tags: added: customer found
Mike Scherbakov (mihgen)
tags: added: customer-found
removed: customer found
Changed in mos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.