aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2016-03-15 21:34:28 +0000
committerSamYaple <sam@yaple.net>2016-03-16 15:53:27 +0000
commitcc6cfdf4df990cf40185ee03ad412c33eae2ea1a (patch)
treec7139a815068e10da7a6832ac189d9e6a7a72bd4 /ansible
parentf4d6aaf0979754b6198f702e309e4a4688b4645b (diff)
downloadkolla-cc6cfdf4df990cf40185ee03ad412c33eae2ea1a.tar.gz
kolla-cc6cfdf4df990cf40185ee03ad412c33eae2ea1a.zip
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
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/mariadb/tasks/do_upgrade.yml4
-rw-r--r--ansible/roles/mariadb/tasks/upgrade.yml7
2 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/mariadb/tasks/do_upgrade.yml b/ansible/roles/mariadb/tasks/do_upgrade.yml
new file mode 100644
index 000000000..3f395feec
--- /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 ed97d539c..9fcfd1021 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