Add/change HAproxy backend options

Bug #1444521 reported by Gaëtan Trellu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-openstack-cloud
Won't Fix
Medium
Unassigned

Bug Description

Hi,

At this point, we are not able to add or change options in an HAproxy backend.
For example for RabbitMQ backend we would like to add:

  option clitcpka
  timeout client 3h
  timeout server 3h

But values are hardcoded as here: https://github.com/stackforge/puppet-openstack-cloud/blob/J.1.0.0/manifests/loadbalancer.pp#L698

Only option available is rabbitmq_bind_options, maybe it could be nice to add an rabbitmq_backend_options

Thanks,

Gaëtan

Tags: haproxy
Revision history for this message
Emilien Macchi (emilienm) wrote :

Thanks for bug report.
First of all, could you give a bit more of context in why you would need clitcpka option?

That case only affects RabbitMQ I think, not API services.
Except if you want a lot of new parameters for that, I think the best way to satisfy this need would be to patch RabbitMQ binding options [1] either in adding a new hard-coded option (if we think this is a required option every time) or add a new parameter specially for that if we feel we need to be able to disable that. Though I don't see any use-case of #2.

[1] https://github.com/stackforge/puppet-openstack-cloud/blob/master/manifests/loadbalancer.pp#L799

Changed in puppet-openstack-cloud:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Gaëtan Trellu (goldyfruit) wrote :

Emilien,

The option clitcpka was just an example to illustrate my words.

Currently, we are using RabbitMQ with a VIP and because of that, we have some client timeout.
To fix that, we just have to add timeout options in HAproxy but we can't easily do it as for binding option.

RabbitMQ is just an example, it could be nice to have more flexibility about backend options.

Feel free to close this bug if you think it's useless.

Changed in puppet-openstack-cloud:
status: Triaged → Won't Fix
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.