diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-03-07 13:38:37 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-03-07 13:38:37 +0000 |
commit | 55fb175bed3a020bbc5cb1c41235f0893ac43cc4 (patch) | |
tree | 026cab6a3cf207f1783436fb786fc3267e823647 /extraconfig/tasks/major_upgrade_pacemaker_migrations.sh | |
parent | 98224f0b511f5387a64e1871f2142236ee1c7712 (diff) | |
parent | 3894f1c0ae8f865ea760455edc40f00dc100805d (diff) |
Merge "Function library for major upgrades"
Diffstat (limited to 'extraconfig/tasks/major_upgrade_pacemaker_migrations.sh')
-rw-r--r-- | extraconfig/tasks/major_upgrade_pacemaker_migrations.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh b/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh new file mode 100644 index 00000000..7fd26945 --- /dev/null +++ b/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Special pieces of upgrade migration logic go into this +# file. E.g. Pacemaker cluster transitions for existing deployments, +# matching changes to overcloud_controller_pacemaker.pp (Puppet +# handles deployment, this file handles migrations). +# +# This file shouldn't execute any action on its own, all logic should +# be wrapped into bash functions. Upgrade scripts will source this +# file and call the functions defined in this file where appropriate. +# +# The migration functions should be idempotent. If the migration has +# been already applied, it should be possible to call the function +# again without damaging the deployment or failing the upgrade. |