← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1548604] [NEW] Can not modify default settings of lbaas haproxy template

 

Public bug reported:

I've changed haproxy base template jinja  file, set value of "timeout
connect" option in  "defaults" entry from 5000 to 4000.

the file is located at 
/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/templates/haproxy_base.j2.

'''
..... 
defaults
    log global
    retries 3
    option redispatch
    timeout connect 4000
    timeout client 50000
    timeout server 50000
.....
'''

then i restarted neutron-server service and neutron-lbaas-agent service.

then  i submit a new lbaas ceate job, it generated haproxy config file,
/var/lib/neutron/lbaas/2a320b6d-bc86-4304-ab89-98438377ac83/conf,

and the  "timeout connect" value still show 5000.

'''
..... 
defaults
	log global
	retries 3
	option redispatch
	timeout connect 5000
	timeout client 50000
	timeout server 50000
.....
'''

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: haproxy jinja neutron-lbaas template

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1548604

Title:
  Can not modify default settings of lbaas haproxy template

Status in neutron:
  New

Bug description:
  I've changed haproxy base template jinja  file, set value of "timeout
  connect" option in  "defaults" entry from 5000 to 4000.

  the file is located at 
  /usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/templates/haproxy_base.j2.

  '''
  ..... 
  defaults
      log global
      retries 3
      option redispatch
      timeout connect 4000
      timeout client 50000
      timeout server 50000
  .....
  '''

  then i restarted neutron-server service and neutron-lbaas-agent
  service.

  then  i submit a new lbaas ceate job, it generated haproxy config
  file,  /var/lib/neutron/lbaas/2a320b6d-
  bc86-4304-ab89-98438377ac83/conf,

  and the  "timeout connect" value still show 5000.

  '''
  ..... 
  defaults
  	log global
  	retries 3
  	option redispatch
  	timeout connect 5000
  	timeout client 50000
  	timeout server 50000
  .....
  '''

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1548604/+subscriptions


Follow ups