- Jul 25, 2018
-
-
Jeffrey Zhang authored
include is marked as deprecated since ansible 2.4[0] [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Co-Authored-By:
confi-surya <singh.surya64mnnit@gmail.com> Change-Id: Ic9d71e1865d1c728890625aeddf424a5734c0a8a
-
- Jun 26, 2018
-
-
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
-
- Jun 08, 2018
-
-
Ha Manh Dong authored
Add become to all tasks that use the module "kolla_docker" Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10 Partial-Implements: blueprint ansible-specific-task-become
-
- May 30, 2018
-
-
MinSun authored
Using mariadb service defined in default when boot bootstrap_mariadb Not a bug here, just an enhancement. Change-Id: I1f8b51fb6177a8524483e600701924dbfc3403cb
-
- May 11, 2018
-
-
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
-
- Apr 12, 2018
-
-
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
-
- Mar 26, 2018
-
-
Eduardo Gonzalez authored
This patchset implements yamllint test to all *.yml files. Also fixes syntax errors to make jobs to pass. Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
-
- Jan 31, 2018
-
-
Alexandru Bogdan Pica authored
The purpose of this change is to improve upon https://review.openstack.org/#/c/531122/ - Moved vars inside the defaults/main.yml file - Made the regex for the lineinfile safer Change-Id: Id581c0b36f3d4bd61d3627b8364b79296b967387 Closes-Bug: 1746567 Related-Bug: 1682153
-
- Jan 30, 2018
-
-
Marian Tudosoiu authored
In recover_cluster.yaml playbook the task to find the highest seqno/Global Transaction ID is no longer relying only on grastate.dat Instead it now follows the recommendations from galera cluster website http://galeracluster.com/documentation-webpages/restartingcluster.html Closes-Bug: 1682153 Change-Id: I5fc3eaa8baee659576c4c39aef9cfd351c8e9af7
-
- Jan 08, 2018
-
-
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
-
- Dec 28, 2017
-
-
Marcin Juszkiewicz authored
Kolla assumes mariadb 10.0 where galera stuff was always enabled. And this works for CentOS and Ubuntu as they use 10.0 on x86-64. Debian uses mariadb 10.1 by default (and CentOS on !x86-64 and Ubuntu/aarch64) where galera stuff is disabled by default. Closes-Bug: 1740060 Co-Authored-By:
Xinliang Liu <xinliang.liu@linaro.org> Change-Id: I8374ac2219ad7880970cd789727d01af7cac1077
-
- Dec 20, 2017
-
-
Marcin Juszkiewicz authored
Change-Id: I235e16e98dab38f20213cc48672c6e862a04d95f
-
- Dec 12, 2017
-
-
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
-
- Nov 27, 2017
-
-
Benjamin Diaz authored
Added 'executable' argument to the shell action in the 'Comparing seqno value' task in the cluster recovery playbook. Change-Id: I3e96a4a76b44ffb558b9a41cde16e66a8d0fab1a Closes-Bug: #1729603
-
- Nov 02, 2017
-
-
Christian Berendt authored
Change-Id: I5e5aaab4fd1ef39de1b1e6fcf5b87ba8b41ba7eb Closes-bug: 1729603
-
- Sep 25, 2017
-
-
Mark Goddard authored
For the genconfig command, master_host will not be defined as it is defined dynamically in bootstrap.yml. Co-Authored-By:
Stig Telfer <stig@stackhpc.com> Change-Id: Ib988c8e2de475e9b973fed2f7f752cb2500953c3 Closes-Bug: #1707856
-
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
-
- Jul 22, 2017
-
-
caoyuan authored
Change-Id: I278609f9832955849bc9381120a1b260f5a03f1b Partially-implements: blueprint better-reconfigure
-
- Jul 18, 2017
-
-
Jeffrey Zhang authored
kolla-kubernetes is using its own configuration generation[0], so it is time for kolla-ansible to remove the related code to simplify the logical. [0] https://github.com/openstack/kolla-kubernetes/tree/master/ansible Change-Id: I7bb0b7fe3b8eea906613e936d5e9d19f4f2e80bb Implements: blueprint clean-k8s-config
-
- Jun 15, 2017
-
-
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
-
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
-
- May 23, 2017
-
-
Bertrand Lallau authored
Useful api_interface_address variable has been define here: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L57 In order to simplify codebase we must use it as much as possible. Change-Id: I18fec19bf69e05a22a4142a9cd1165eccd022455
-
- May 04, 2017
-
-
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
-
- Apr 10, 2017
-
-
Dai Dang Van authored
Now, I see mariadb are using utf8_general_ci as a default collation. - https://mariadb.com/kb/en/mariadb/supported-character-sets-and-collations/ This mean all of Devstack database will be created with utf8_general_ci collation, so may be, one service/project can be deployed successfully via Devstack but will be fail with Kolla deployment. Therefore, we should use above default collation for Kolla-ansible. Change-Id: Icbb6c15f536fc6986816c58f4fd68bfb95813e46 Closes-Bug: 1680783
-
- Mar 19, 2017
-
-
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
-
- Feb 05, 2017
-
-
Jeffrey Zhang authored
Change-Id: I61aa70affc8ff98c7e57160de8da0df3d6be5929
-
- Jan 13, 2017
-
-
Mauricio Lima authored
To avoid many merge conflicts and re-works * Panko * Octavia * Ceph * MariaDB Co-Authored-By:
caoyuan <cao.yuan@99cloud.net> Partially-implements: blueprint condition-pre-check Change-Id: I3d2766d0d9f01ad4052731c7219a2d0635527ac5
-
- Nov 25, 2016
-
-
Eduardo Gonzalez authored
check_mode option is included in Ansible 2.2. Using in our playbooks mean that any other version before Ansible 2.2 can be used This reverts commit 529f202d. Change-Id: I3af96290443d760346264e6d994fd2a44de65543 Closes-Bug: #1644828
-
- Nov 22, 2016
-
-
gardlt authored
* update ceph tasks * update mariadb tasks Closes-Bug: #1643633 Change-Id: Ib81789574843edba6e33394a7f66a2e8077075eb
-
- Nov 03, 2016
-
-
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
-
- Oct 24, 2016
-
-
Mathias Ewald authored
Change-Id: Ic2b44de0ce8e8090318380a0fed3ff1bd51dc791 Closes-Bug: #1633178
-
- Oct 14, 2016
-
-
zhubingbing authored
Change-Id: I356d41d030365b7b4f917b1334f9f68e560b7512 Co-Authored-By:
Michal (inc0) Jastrzebski <inc007@gmail.com> Partial-Bug: #1631503
-
- Oct 09, 2016
-
-
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
-
- Oct 02, 2016
-
-
caoyuan authored
beacause upgrade is not required to recreate the database TrivialFix Change-Id: I50bbb1592dd1fd5262642077bbe3d9bd32503033
-
- Sep 27, 2016
-
-
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
-
- Sep 14, 2016
-
-
Jeffrey Zhang authored
Closes-Bug: #1623307 Change-Id: I364a8345872ae3b0a7ff684edfe9ff0e22f2c26c Signed-off-by:
Jeffrey Zhang <zhang.lei.fly@gmail.com>
-
- Sep 13, 2016
-
-
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
-
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
-
- Aug 09, 2016
-
-
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
-
- Jul 28, 2016
-
-
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:
David Wang <dcwangmit01@gmail.com> Co-authored-by:
Ryan Hallisey <rhallise@redhat.com> Co-authored-by:
Kevin Fox <kevin@efox.cc>
-