aboutsummaryrefslogtreecommitdiffstats
path: root/environments/major-upgrade-remove-sahara.yaml
diff options
context:
space:
mode:
authormarios <marios@redhat.com>2016-09-23 17:19:07 +0300
committermarios <marios@redhat.com>2016-10-05 16:32:31 +0300
commit2e6cc07c1a74c2dd7be70568f49834bace499937 (patch)
tree0d8c5d672c97024dccc92f3d47ed910374076555 /environments/major-upgrade-remove-sahara.yaml
parentccbc75a814e059f63453c2b40cc100709e858927 (diff)
Adds Environment File for Removing Sahara during M/N upgrade
The default path if the operator does nothing is to keep the sahara services on mitaka to newton upgrades. If the operator wishes to remove sahara services then they need to specify the provided major-upgrade-remove-sahara.yaml environment file in the stack upgrade commands. The existing migration to ha arch already removes the constraints and pcs resource for sahara api/engine so we just need to stop it from starting again if we want to remove it. This adds a KeepSaharaServiceOnUpgrade parameter to determine if Sahara is disabled from starting up after the controllers are upgraded (defaults true). Finally it is worth noting that we default the sahara services as 'on' during converge here in the resource_registry of the converge environment file; any subsequent stack updates where the deployment contains sahara services will need to include the -e /environments/services/sahara.yaml environment file. Related-Bug: 1630247 Change-Id: I59536cae3260e3df52589289b4f63e9ea0129407
Diffstat (limited to 'environments/major-upgrade-remove-sahara.yaml')
-rw-r--r--environments/major-upgrade-remove-sahara.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/environments/major-upgrade-remove-sahara.yaml b/environments/major-upgrade-remove-sahara.yaml
new file mode 100644
index 00000000..e0aaf130
--- /dev/null
+++ b/environments/major-upgrade-remove-sahara.yaml
@@ -0,0 +1,6 @@
+parameter_defaults:
+ KeepSaharaServicesOnUpgrade: false
+resource_registry:
+ OS::TripleO::Services::SaharaApi: OS::Heat::None
+ OS::TripleO::Services::SaharaEngine: OS::Heat::None
+