aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud.yaml
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2016-01-21 13:11:23 +0100
committerJiri Stransky <jistr@redhat.com>2016-02-23 16:28:43 +0100
commit0dd10ffe4fcd9b191eaceabcd7bb124a4db10b06 (patch)
tree8375a7efbc4879b4f289b8ef3f2b8794aa5d9742 /overcloud.yaml
parentaa5d0120f2ec3965f58ad6b8deec342853e840d7 (diff)
Introduce update/upgrade workflow
Change-Id: I7226070aa87416e79f25625647f8e3076c9e2c9a
Diffstat (limited to 'overcloud.yaml')
-rw-r--r--overcloud.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/overcloud.yaml b/overcloud.yaml
index 9b95484e..0499fa67 100644
--- a/overcloud.yaml
+++ b/overcloud.yaml
@@ -1522,10 +1522,23 @@ resources:
config: {get_resource: AllNodesValidationConfig}
servers: {get_attr: [CephStorage, attributes, nova_server_resource]}
+ UpdateWorkflow:
+ type: OS::TripleO::Tasks::UpdateWorkflow
+ properties:
+ controller_servers: {get_attr: [Controller, attributes, nova_server_resource]}
+ compute_servers: {get_attr: [Compute, attributes, nova_server_resource]}
+ blockstorage_servers: {get_attr: [BlockStorage, attributes, nova_server_resource]}
+ objectstorage_servers: {get_attr: [ObjectStorage, attributes, nova_server_resource]}
+ cephstorage_servers: {get_attr: [CephStorage, attributes, nova_server_resource]}
+ input_values:
+ deploy_identifier: {get_param: DeployIdentifier}
+ update_identifier: {get_param: UpdateIdentifier}
+
# Optional ExtraConfig for all nodes - all roles are passed in here, but
# the nested template may configure each role differently (or not at all)
AllNodesExtraConfig:
type: OS::TripleO::AllNodesExtraConfig
+ depends_on: UpdateWorkflow
properties:
controller_servers: {get_attr: [Controller, attributes, nova_server_resource]}
compute_servers: {get_attr: [Compute, attributes, nova_server_resource]}