Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ceilometer behind HAproxy loadbalancer

Guys, anyone can pleasse help me to setup ceilometer behind a HAproxy, I tried that but horizon not able to communicate with ceilometer API. It is working fine without loadbalancer. Here config of HA listen ceilometer_api_cluster bind <vip>:8777 balance source option tcpka option httpchk option tcplog server controller1 10.0.0.101:8777 check inter 2000 rise 2 fall 5 server controller2 10.0.0.102:8777 check inter 2000 rise 2 fall 5

Here is exception in horizon.log

2014-05-19 08:38:20,205 11187 ERROR django.request Internal Server Error: /dashboard/admin/metering/ Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response response = callback(request, callback_args, *callback_kwargs) File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec return view_func(request, args, *kwargs) File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec return view_func(request, args, *kwargs) File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec return view_func(request, args, *kwargs) File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec return view_func(request, args, *kwargs)