Skip to content
Snippets Groups Projects
  1. Apr 14, 2021
  2. Apr 13, 2021
  3. Apr 12, 2021
  4. Apr 09, 2021
  5. Apr 08, 2021
  6. Apr 07, 2021
    • Michal Arbet's avatar
      Refactor mariadb to support shards · 09b3c6ca
      Michal Arbet authored
      
      Kolla-ansible is currently installing mariadb
      cluster on hosts defined in group['mariadb']
      and render haproxy configuration for this hosts.
      
      This is not enough if user want to have several
      service databases in several mariadb clusters (shards).
      
      Spread service databases to multiple clusters (shards)
      is usefull especially for databases with high load
      (neutron,nova).
      
      How it works ?
      
      It works exactly same as now, but group reference 'mariadb'
      is now used as group where all mariadb clusters (shards)
      are located, and mariadb clusters are installed to
      dynamic groups created by group_by and host variable
      'mariadb_shard_id'.
      
      It also adding special user 'shard_X' which will be used
      for creating users and databases, but only if haproxy
      is not used as load-balance solution.
      
      This patch will not affect user which has all databases
      on same db cluster on hosts in group 'mariadb', host
      variable 'mariadb_shard_id' is set to 0 if not defined.
      
      Mariadb's task in loadbalancer.yml (haproxy) is configuring
      mariadb default shard hosts as haproxy backends. If mariadb
      role is used to install several clusters (shards), only
      default one is loadbalanced via haproxy.
      
      Mariadb's backup is working only for default shard (cluster)
      when using haproxy as mariadb loadbalancer, if proxysql
      is used, all shards are backuped.
      
      After this patch will be merged, there will be way for proxysql
      patches which will implement L7 SQL balancing based on
      users and schemas.
      
      Example of inventory:
      
      [mariadb]
      server1
      server2
      server3 mariadb_shard_id=1
      server4 mariadb_shard_id=1
      server5 mariadb_shard_id=2
      server6 mariadb_shard_id=3
      
      Extra:
      wait_for_loadbalancer is removed instead of modified as its role
      is served by check already. The relevant refactor is applied as
      well.
      
      Change-Id: I933067f22ecabc03247ea42baf04f19100dffd08
      Co-Authored-By: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      09b3c6ca
    • Doug Szumski's avatar
      Nit fixes for change 776219 · 19095475
      Doug Szumski authored
      Minor corrections to doc and release note.
      
      Change-Id: I8a90cbac0b9a1eaa5f6c02271515f2357547f908
      19095475
    • Mark Goddard's avatar
      masakari: fix minor issues with instance monitor · 0b0dd358
      Mark Goddard authored
      * Don't generate masakari.conf for instance monitor
      * Don't generate masakari-monitors.conf for API or engine
      * Use a consistent name for dimensions -
        masakari_instancemonitor_dimensions
      * Fix source code paths in dev mode
      
      Change-Id: I551f93c9bf1ad6712b53c316074ae1df84e4352b
      0b0dd358
    • Zuul's avatar
      0d153af8
  7. Apr 06, 2021
  8. Apr 02, 2021
  9. Mar 30, 2021
  10. Mar 29, 2021
  11. Mar 26, 2021
Loading