Skip to content
Snippets Groups Projects
  1. Aug 14, 2019
    • Scott Solkhon's avatar
      HAProxy backend connection limits · 46f9ad3a
      Scott Solkhon authored
      The default connection limits for backends is 2000
      however, mariadb defaults to a max of 10000 conections,
      therefore changing this limit to match the mariadb limit.
      
      'haproxy_max_connections' also needs to be bumped
      for this to work.
      
      Change-Id: I5ded328485855f3f3d4390282040b0d89d08d997
      46f9ad3a
  2. Sep 26, 2018
    • Adam Harwell's avatar
      Refactor haproxy config (split by service) V2.0 · f1c81365
      Adam Harwell authored
      Having all services in one giant haproxy file makes altering
      configuration for a service both painful and dangerous. Each service
      should be configured with a simple set of variables and rendered with a
      single unified template.
      
      Available are two new templates:
      
      * haproxy_single_service_listen.cfg.j2: close to the original style, but
      only one service per file
      * haproxy_single_service_split.cfg.j2: using the newer haproxy syntax
      for separated frontend and backend
      
      For now the default will be the single listen block, for ease of
      transition.
      
      Change-Id: I6e237438fbc0aa3c89a3c8bd706a53b74e71904b
      f1c81365
  3. Sep 13, 2018
  4. Jul 20, 2018
  5. Jul 11, 2018
  6. Jun 27, 2018
  7. Jun 19, 2018
  8. May 24, 2018
  9. May 21, 2018
  10. May 16, 2018
  11. May 11, 2018
    • Jorge Niedbalski's avatar
      [haproxy] Enable global optimization options · 48231e1d
      Jorge Niedbalski authored
      
      This patch enables 3 new configuration options for haproxy.cfg
      global section.
      
        - haproxy_processes: number of haproxy processes (default:1).
        - haproxy_max_connections: number of concurrent connections (default:4000)
        - haproxy_process_cpu_map: enforces 1:1 mapping/affinity between
      process and core. (default: no).
      
      Closes-Bug: #1770060
      Change-Id: I33fc499b083c7bcc548133498e44406a479389f1
      Signed-off-by: default avatarJorge Niedbalski <jorge.niedbalski@linaro.org>
      48231e1d
  12. Apr 19, 2018
    • Mathias Ewald's avatar
      Add role to deploy prometheus · 4d1f3735
      Mathias Ewald authored
      This patch adds the ansible role to deploy the prometheus service which
      can be used to collect performance metrics accross the environment
      
      Partially-Implements: blueprint prometheus
      Change-Id: I908b9c9dad63ab5c9b80be1e3a80a4fc8191cb9e
      4d1f3735
  13. Apr 18, 2018
    • Kevin TIBI's avatar
      Fix SSL api for multiple services · a81a5d5d
      Kevin TIBI authored
      If SSL is enabled, api of multiple services returns
      wrong external URL without https prefix.
      
      Removal of condition for deletion of http  header.
      
      Change-Id: I4264e04d0d6b9a3e11ef7dd7add6c5e166cf9fb4
      Closes-Bug: #1749155
      Closes-Bug: #1717491
      a81a5d5d
  14. Apr 06, 2018
    • Doug Szumski's avatar
      Support accessing InfluxDB via HAProxy · b865bada
      Doug Szumski authored
      This change allows access to InfluxDB via HAProxy on the internal
      network.
      
      If HA is required the Enterprise version of InfluxDB will need to
      be installed. This could be implemented by customising the InfluxDB
      Docker file.
      
      There are other alternatives to HA, such as the InfluxDB Relay [1].
      Support for this is considered to be outside of the scope of this
      bugfix.
      
      [1] https://docs.openstack.org/developer/performance-docs/
          methodologies/monitoring/influxha.html
      
      Closes-Bug: #1751283
      Change-Id: I4624efbd99c0cddd1361f2438866ad3a82e5557b
      b865bada
  15. Apr 03, 2018
  16. Mar 29, 2018
    • Jeffrey Zhang's avatar
      Use a large number for haproxy timeout tunnel · 7aeb6825
      Jeffrey Zhang authored
      timeout tunnel is use for WebSocket and CONNECT protocol. Need use a
      larger number for it. Otherwise, novnc will be auto disconnected if no
      action happend in a short time on browser.
      
      Change-Id: If37623e8fda5260ab0b38d2203f5266777dba063
      Closes-Bug: #1759774
      7aeb6825
  17. Mar 27, 2018
    • Joshua Harlow's avatar
      Make it possible to not haproxy memcached · e82fb956
      Joshua Harlow authored
      Clients usually have sophisticated logic for handling
      key redistribution on node failure; so going under the
      covers and messing with that is bad (because then the
      clients and their sophisticated logic is unaware of
      what is going on).
      
      Change-Id: Ica12240440d28f930b917d5d6202f4f9e6675b2a
      e82fb956
  18. Feb 27, 2018
  19. Jan 31, 2018
    • Zhijiang Hu's avatar
      Let haproxy to be ODL websocket's frontend · 98b06a05
      Zhijiang Hu authored
      
      This PS does:
      1) Let haproxy to be ODL websocket's frontend and listen on port 8185.
      2) Add 10-rest-connector.xml config file template for ODL container.
      3) ODL websocket backend listen only on api interface, port is also
      8185.
      
      Closes-Bug: #1745323
      
      Change-Id: Id330d610c7cd8a239b0f77c8f5f47422d48b9977
      Signed-off-by: default avatarZhijiang Hu <hu.zhijiang@zte.com.cn>
      98b06a05
  20. Jan 24, 2018
  21. Jan 23, 2018
    • Alexandru Bogdan Pica's avatar
      Implement external MariaDB and pre-configured Databases support · 8e3b7944
      Alexandru Bogdan Pica authored
      This change allows the following use cases:
      
      1. Using an already-configured MariaDB / MySQL server / Cluster
      2. Using already-created DB users, without requiring root DB access.
      
      Update: added external mariadb precheck
      
      Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824
      Implements: blueprint external-mariadb-support.
      Closes-Bug: #1603121
      8e3b7944
    • Eduardo Gonzalez's avatar
      Fix haproxy with memcached enabled · e44ff538
      Eduardo Gonzalez authored
      Haproxy keeps restarting due memcached servers
      are writen in a single line. adds a empty line
      in the for so each server is in its line
      
      Change-Id: I763a23de7f70e9ebe543b935b175e675ec774f9a
      e44ff538
  22. Jan 21, 2018
    • Jeffrey Zhang's avatar
      Add a active-standby mode memcached in haproxy · a26357ef
      Jeffrey Zhang authored
      Memcached do not support cluster. Then make it work in active-standby
      mode. This will be helpful to implement high available when using memcached
      as tooz backend.
      
      Change-Id: I13722111d8b8d5b066e9a85d4c8d1679704c8caa
      a26357ef
  23. Jan 15, 2018
  24. Jan 09, 2018
    • Ian Kumlien's avatar
      We actually require 'mode http' · ee67917c
      Ian Kumlien authored
      So it turns out that without 'mode http' redirects and rewrites
      will not happen, and we're relying on it for multiple things.
      
      Switch neutron to use http-tunnel mode instead which seems to work,
      we've had no errors in our setup.
      
      See:
      https://www.haproxy.org/download/1.5/doc/configuration.txt
      
      Quoute:
      " - tunnel        : only the first request and response are processed,
                            everything else is forwarded with no analysis."
      
      Fixes: bba80acc
      Change-Id: I0d9abe9731fba1e4deb64932e859f991648bb1ec
      ee67917c
  25. Jan 03, 2018
    • Eduardo Gonzalez's avatar
      Implement blazar ansible role · 31f7732a
      Eduardo Gonzalez authored
      Add ansible role to deploy blazar
      Add nova filters to allow use of blazar
      
      Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652
      Implements: blueprint blazar-ansible-role
      31f7732a
  26. Dec 18, 2017
  27. Nov 29, 2017
  28. Nov 23, 2017
    • Zhijiang Hu's avatar
      Let OVS to connect to the individual IPs of each ODL node · 28b50c22
      Zhijiang Hu authored
      Close-Bug: 1734047
      
      For ODL clustering, one should explicitly points switches to each
      of the ODL instances. The openflowplugin logic will figure out
      which controller should be the master, and which should be the
      slave.
      
      Kolla currently sets the manager to one of the specific ODL over
      ptcp and another one through the VIP. The VIP is probably
      forwarding the traffic to that same ODL so from ODL's perspective
      it's getting two duplicated connection requests from the same OVS
      which will cause re-connection problem.
      
      This PS does:
      1) Let OVS to connect to the individual IPs of each ODL node in
      a ODL cluster instead of only connect to the representative over
      VIP. Devstack is doing the same thing[1]. Further more, there is no
      need for HAProxy to be frontend for ODL southbound.
      
      2) Delete the unusd ptcp connection option.
      
      [1] https://review.openstack.org/#/c/249484/
      
      
      
      Change-Id: Ib57e6fbb5ce64a48be0506904d3c8397ed6f70d9
      Signed-off-by: default avatarZhijiang Hu <hu.zhijiang@zte.com.cn>
      28b50c22
  29. Oct 12, 2017
    • root's avatar
      Allow outward_rabbitmq with enable_outward_rabbitmq · d55f2785
      root authored
      outward_rabbitmq is determined  using enable_outward_rabbitmq
      property rather than current haproxy_enable_external_vip
      
      Change-Id: Iee096ab50fd4d9f5f3fe05880d0e0a7842c59d0a
      Closes-Bug: 1722854
      d55f2785
  30. Sep 28, 2017
    • Tatsuma Matsuki's avatar
      Add fluentd enable option · 03354bc9
      Tatsuma Matsuki authored
      This change adds enable_fluentd option and enables some other log shippers
      to be integrated. When enable_fluentd is "no", syslog server is also disabled.
      Then, this change also adds syslog parameters to use a syslog server
      prepared by users.
      
      Change-Id: I7c83ef7fe30a6b9ab7385bcee953ad07e96b0a83
      Implements: blueprint fluentd-enable-option
      03354bc9
  31. Sep 01, 2017
    • Dan Ardelean's avatar
      HyperV: fix FreeRDP console config · 418d5846
      Dan Ardelean authored
      Console access for HyperV VMs is now done via Kolla VIP.
      The VIP will point to each HyperV compute node IP on which
      FreeRDP-WebConnect is installed.
      
      Closes-Bug: #1714249
      Change-Id: I3a5d23425996a5c347ff21df3f99c3f63dd35173
      418d5846
  32. Aug 19, 2017
    • Sam Yaple's avatar
      Revert "Update Keystone haproxy config to balance based on source ip" · 0fc512e0
      Sam Yaple authored
      This reverts commit 91321ac8.
      
      The reasoning given in this commit is incorrect. Keystone/oslo.cache
      uses memcached hosts based on a hashing of the key to determine which
      memcached host to check. If you have different configured memcached
      servers per keystone deployment you have a mis-configured deployment.
      
      Any RESTapi should be capable of roundrobin load-balancing. I am not
      familiar with the Murano case with uploading a package, but this change
      also does not address Murano at all.
      
      As far as Horizon goes, that hasn't had a problem with shared backends
      since the beginning because we use memcached servers with a shared
      secret key [1].
      
      All this change has done is lowered the efficiency of loadbalancing
      keystone.
      
      [1] https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/horizon/templates/local_settings.j2#L149
      
      Change-Id: Ic0b550e7c96d67c39153933b527ab3edf7d90f27
      0fc512e0
  33. Aug 03, 2017
  34. Jul 18, 2017
  35. Jul 17, 2017
    • Jeffrey Zhang's avatar
      Remove ceilometer-api and ceilometer-collector services · ddad15c0
      Jeffrey Zhang authored
      * remove ceilometer-api and ceilometer-collector service
      * use ceilometer-notification to publish message to proper backend
      * remove useless ceilometer_database_type and ceilometer_event_type
        variables
      * sync event_definitions.yaml, event_pipeline.yaml and pipeline.yaml
        file with upstream
      
      Change-Id: Ib39053cb5f70bd11ee61d3f26d5b28accecd7190
      ddad15c0
  36. Jun 21, 2017
  37. Jun 16, 2017
Loading