Skip to content
Snippets Groups Projects
  1. Jul 25, 2018
  2. Jun 26, 2018
    • Doug Szumski's avatar
      Expire mysql binary logs out of the box · f450dd97
      Doug Szumski authored
      As reported in the bug, these can grow to 10s to 100s of GB
      in a month. To reduce the chance of filling the disk and
      bringing down the control plane this change defines
      an expiry time.
      
      Closes-Bug: 1720113
      Change-Id: I508aad1f515d5108a3d08c90318b70d0a918908c
      f450dd97
  3. Jun 08, 2018
  4. May 30, 2018
    • MinSun's avatar
      Mariadb bootstrap_cluster enhancement · bee02d36
      MinSun authored
      Using mariadb service defined in default when boot bootstrap_mariadb
      Not a bug here, just an enhancement.
      
      Change-Id: I1f8b51fb6177a8524483e600701924dbfc3403cb
      bee02d36
  5. May 11, 2018
    • Jeffrey Zhang's avatar
      Fix ansible warning · c5670551
      Jeffrey Zhang authored
      - rename action and serial to kolla_ansible and kolla_serial
      - use become instead of "sudo <command>" in shell
      - Remove quota for failed_when and changed_when in rabbitmq tasks
      
      Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c
      Implements: blueprint migrate-to-ansible-2-2-0
      c5670551
  6. Apr 12, 2018
    • Eduardo Gonzalez's avatar
      Fix mariadb recover seqnum regex · 8a63c801
      Eduardo Gonzalez authored
      Regex used to find the recover seqnum partition is not
      returning the real num id rather a None.
      Task fails due seqnum[0] is not iterable.
      
      Change-Id: I1be55b6ebfc17c6d423e638662ec2a9f4b9b49a2
      Closes-Bug: #1752128
      8a63c801
  7. Mar 26, 2018
    • Eduardo Gonzalez's avatar
      Verify YAML syntax in gates · ea1a1dee
      Eduardo Gonzalez authored
      This patchset implements yamllint test to all *.yml
      files.
      
      Also fixes syntax errors to make jobs to pass.
      
      Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
      ea1a1dee
  8. Jan 31, 2018
  9. Jan 30, 2018
  10. Jan 08, 2018
    • Xinliang Liu's avatar
      Change debian mariadb backup tool to mariabackup · 2f903bf4
      Xinliang Liu authored
      Current debian stretch use mariadb 10.1.26 which integrates
      a backup tool call 'MariaDB Backup' [1]. It is based on
      Percona XtraBackup and support full backup capability for
      MariaDB Server that includes encrypted and compressed data.
      
      This patch also fixs muti-node deployment failed on Debian
      aarch64. Percona's repo has no XtraBackup package for Debian
      aarch64. In such case we can use MariaDB builtin backup tool
      'MariaDB Backup'.
      
      [1] https://mariadb.com/kb/en/library/mariadb-backup-overview/
      
      Change-Id: I7271d3f93b41d4839670a2c4a358744333411cd7
      2f903bf4
  11. Dec 28, 2017
  12. Dec 20, 2017
  13. Dec 12, 2017
    • Borne Mace's avatar
      Increased mariadb and kibana timeouts · f27d89aa
      Borne Mace authored
      In some deployment scenarios the current timeouts
      for mariadb bootstrap and kibana registration with
      elasticsearch have been found to be too short. These
      timeout increases shouldn't introduce any deployment
      slowdown in current environment and eliminate
      deployment failures in environments with slower
      systems.
      
      Change-Id: If33dfff2b42b23eff7ec2230c9b0c5a4c010072e
      f27d89aa
  14. Nov 27, 2017
  15. Nov 02, 2017
  16. Sep 25, 2017
    • Mark Goddard's avatar
      Fix kolla-ansible genconfig for mariadb · de56340f
      Mark Goddard authored
      
      For the genconfig command, master_host will not be defined as it is
      defined dynamically in bootstrap.yml.
      
      Co-Authored-By: default avatarStig Telfer <stig@stackhpc.com>
      Change-Id: Ib988c8e2de475e9b973fed2f7f752cb2500953c3
      Closes-Bug: #1707856
      de56340f
    • Duong Ha-Quang's avatar
      Specify 'become' to necessary tasks (general roles) · 26b2c2d9
      Duong Ha-Quang authored
      Add config_owner_user and config_owner_group to group_vars/all,
      which is user and group of Kolla configuration files in /etc/kolla.
      
      Add become to post-deploy playbook.
      
      Add become to only neccesary tasks in roles:
      - certificate
      - common
      - destroy
      - haproxy
      - mariadb
      - memcached
      - rabbitmq
      
      Change-Id: I2aba745a6e3928c52642f64551470fd08cbfd058
      Partial-Implements: blueprint ansible-specific-task-become
      26b2c2d9
  17. Jul 22, 2017
  18. Jul 18, 2017
  19. Jun 15, 2017
    • Jeffrey Zhang's avatar
      Use unified vars in task · 03e1b05f
      Jeffrey Zhang authored
      Ansible task support vars directive, no need implement another one in
      merge_config. This patch remove the vars directive in merge_config
      action plugin.
      
      Change-Id: I33648a2b6e39b4d49ce76eb66fbf2522721f8c68
      03e1b05f
    • Duong Ha-Quang's avatar
      Replace always_run by check_mode · 41686edb
      Duong Ha-Quang authored
      always_run is deprecated and removed in Ansible 2.4
      check_mode is introduced in Ansible 2.2 and Kolla-ansible bump Ansible to
      2.2.0 so it's safe to replace always_run by check_mode now.
      
      Change-Id: Id1028d38b7bde30a6afe17b319dcdc77907914ab
      Closes-Bug: #1643633
      Implements: blueprint migrate-to-ansible-2-2-0
      41686edb
  20. May 23, 2017
  21. May 04, 2017
    • Jeffrey Zhang's avatar
      Add timeout parameter for precheck tasks · b1f01561
      Jeffrey Zhang authored
      wait_for module waits 300 seconds for the port started or stopped.  This
      is meaningless and useless in precheck. This patch change timeout to 1
      seconds.
      
      Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
      Closes-Bug: #1688152
      b1f01561
  22. Apr 10, 2017
  23. Mar 19, 2017
    • Bertrand Lallau's avatar
      Activate binary-logs in MariaDB/MySQL · dff062b3
      Bertrand Lallau authored
      The binary log contains a record of all changes to the databases, both
      data and structure. It consists of a set of binary log files and an
      index.
      Activate it in MariaDB will fix Telegraf error on Mysql/MariaDB inputs
      retrieval.
      
      Change-Id: I040ed75ffbf1afded87ba0f8f63a3e384707d1fb
      Closes-Bug: #1673969
      dff062b3
  24. Feb 05, 2017
  25. Jan 13, 2017
  26. Nov 25, 2016
  27. Nov 22, 2016
  28. Nov 03, 2016
    • Jeffrey Zhang's avatar
      Move precheck into its own role · fa458019
      Jeffrey Zhang authored
      * Merge prechecks.yml and site.yml playbook
      * Create empty precheck.yml into all roles.
      
      Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
      Implements: blueprint condition-pre-check
      fa458019
  29. Oct 24, 2016
  30. Oct 14, 2016
  31. Oct 09, 2016
    • Jeffrey Zhang's avatar
      Choose node with largest seqno number for mariadb recovery · 1bcb1393
      Jeffrey Zhang authored
      When all mariadb nodes are stopped gracefully, mariadb galera will
      write it's last executed position into the grastate.dat file. Need find
      the node with largest seqno number in that file and recovery from that
      node.
      
      Closes-Bug: #1627717
      Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
      1bcb1393
  32. Oct 02, 2016
  33. Sep 27, 2016
    • Jeffrey Zhang's avatar
      Remove do_reconfigure.yml file for all roles · fa856556
      Jeffrey Zhang authored
      do_reconfigure.yml is introduced to use serial directive. But we use
      it in wrong. Now serial has moved to playbook file. So it is time to
      remove the do_reconfigure.yml file
      
      Closes-Bug: #1628152
      Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
      fa856556
  34. Sep 14, 2016
  35. Sep 13, 2016
    • Christian Berendt's avatar
      Fix permissions of tmp files · 924fbb6f
      Christian Berendt authored
      When running kolla-ansible as non-root users the tmp files will
      be created with become user as owner and mode 0600. This way the user
      running kolla-ansible is not able to read the generated files. This
      is necessary because of the use of the lookup method, which will
      not run as become user.
      
      TrivialFix
      
      Change-Id: If86d114c05a9b2e7fa240718611d78e93100ebdf
      924fbb6f
    • Mick Thompson's avatar
      Added serial option to site.yml. · 4c1482b9
      Mick Thompson authored
      Useful for upgrade etc., which is preferablly done serially.
      
      Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade
      
      Closes-Bug: #1576708
      
      DocImpact
      
      Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
      4c1482b9
  36. Aug 09, 2016
    • Duong Ha-Quang's avatar
      Port with_ loop variable syntax to Ansbile 2 · 34975e29
      Duong Ha-Quang authored
      Migrate to full variable syntax in with_ loop
      instead of bare variables for:
      - ceph
      - ceilometer
      - glance
      - heat
      - horizon
      - keystone
      - mariadb
      - memcached
      - neutron
      - nova
      - rabbitmq
      
      Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08
      Partial-Implements: blueprint ansible2
      34975e29
  37. Jul 28, 2016
    • Michal (inc0) Jastrzebski's avatar
      Enable kolla k8s to override bind api bind address in genconfig · 5838bd0b
      Michal (inc0) Jastrzebski authored
      
      It's good if k8s reuses ansible templates, but we need to abstract all
      ansible specific variables to achieve that.
      
      - Implements ansible override variable api_interface_address.
      - Adds api_interface_address setting and comments to globals.yml
      - Makes changes to mariadb templates to accept this new setting.
      - Disabled Galera when api_interface_address==0.0.0.0 in the
        case of Kubernetes.  Otherwise, mariadb fails to start.
      - Tested with and without setting to ensure kolla genconfig output
        does not change when setting is disabled or undefined.
      
      Change-Id: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
      Partially-implements: blueprint api-interface-bind-address-override
      Co-authored-by: default avatarDavid Wang <dcwangmit01@gmail.com>
      Co-authored-by: default avatarRyan Hallisey <rhallise@redhat.com>
      Co-authored-by: default avatarKevin Fox <kevin@efox.cc>
      5838bd0b
Loading