overcloud stepped deployment environment
authorSteven Hardy <shardy@redhat.com>
Thu, 5 Mar 2015 22:27:46 +0000 (17:27 -0500)
committerSteven Hardy <shardy@redhat.com>
Fri, 22 May 2015 20:30:57 +0000 (21:30 +0100)
When combined with --with-steps added to devtest_overcloud:
https://review.openstack.org/#/c/162109/ this enables stepped
deployments using heat hooks.

This environment file will break on all *StepN resources in every
*NodesPostDeployment resource, on both create and update.

Change-Id: Ibab567f0a37b832ea2b5966288ad55b5682c31ab

environments/overcloud-steps.yaml [new file with mode: 0644]

diff --git a/environments/overcloud-steps.yaml b/environments/overcloud-steps.yaml
new file mode 100644 (file)
index 0000000..99f7368
--- /dev/null
@@ -0,0 +1,10 @@
+# Specifies hooks/breakpoints where overcloud deployment should stop
+# Allows operator validation between steps, and/or more granular control.
+# Note: the wildcards relate to naming convention for some resource suffixes,
+# e.g see puppet/*-post-puppet.yaml, enabling this will mean we wait for
+# a user signal on every *Deployment_StepN resource defined in those files.
+resource_registry:
+  resources:
+    "*NodesPostDeployment":
+      "*Deployment_Step*":
+          hooks: [pre-create, pre-update]