From cc6cfdf4df990cf40185ee03ad412c33eae2ea1a Mon Sep 17 00:00:00 2001 From: SamYaple Date: Tue, 15 Mar 2016 21:34:28 +0000 Subject: [PATCH] Mariadb upgrade Minor versions of mariadb upgrade do not require full cluster stop. Full cluster stop will need to be address during the move to 10.1 at some time in the future. Change-Id: Ia048a3fd4d79921f827f3b88c623d26db506bfc3 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-mariadb --- ansible/roles/mariadb/tasks/do_upgrade.yml | 4 ++++ ansible/roles/mariadb/tasks/upgrade.yml | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 ansible/roles/mariadb/tasks/do_upgrade.yml diff --git a/ansible/roles/mariadb/tasks/do_upgrade.yml b/ansible/roles/mariadb/tasks/do_upgrade.yml new file mode 100644 index 0000000000..3f395feecd --- /dev/null +++ b/ansible/roles/mariadb/tasks/do_upgrade.yml @@ -0,0 +1,4 @@ +--- +- include: start.yml + +- include: register.yml diff --git a/ansible/roles/mariadb/tasks/upgrade.yml b/ansible/roles/mariadb/tasks/upgrade.yml index ed97d539c0..9fcfd10210 100644 --- a/ansible/roles/mariadb/tasks/upgrade.yml +++ b/ansible/roles/mariadb/tasks/upgrade.yml @@ -1 +1,8 @@ --- +- include: config.yml + +- include: do_upgrade.yml + serial: "30%" + +# Test haproxy user through VIP +- include: check.yml