aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud.j2.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-28 15:25:44 +0000
committerGerrit Code Review <review@openstack.org>2016-09-28 15:25:44 +0000
commit1b634c21c118a54071abd2bc5181453f3aa8d7a7 (patch)
treec954aff9efef3e01ef7995b0c5ff1e2d0ac1fd99 /overcloud.j2.yaml
parentda53e9c00bd2c1aac2cd2c4118a08ae56e8b7630 (diff)
parent3d05733dd3db118a328a5fcb5199cdd0f1027ea4 (diff)
Merge "Fix predictable placement indexing"
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r--overcloud.j2.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index e2ff4c14..bd699f50 100644
--- a/overcloud.j2.yaml
+++ b/overcloud.j2.yaml
@@ -147,6 +147,15 @@ parameters:
List of resources to be removed from {{role.name}} ResourceGroup when
doing an update which requires removal of specific resources.
Example format ComputeRemovalPolicies: [{'resource_list': ['0']}]
+
+{% if role.name != 'Compute' %}
+ {{role.name}}SchedulerHints:
+{% else %}
+ NovaComputeSchedulerHints:
+{% endif %}
+ type: json
+ description: Optional scheduler hints to pass to nova
+ default: {}
{% endfor %}
# Identifiers to trigger tasks on nodes
@@ -255,6 +264,11 @@ resources:
params:
'%stackname%': {get_param: 'OS::stack_name'}
NodeIndex: '%index%'
+ {% if role.name != 'Compute' %}
+ {{role.name}}SchedulerHints: {get_param: {{role.name}}SchedulerHints}
+ {% else %}
+ NovaComputeSchedulerHints: {get_param: NovaComputeSchedulerHints}
+ {% endif %}
ServiceConfigSettings:
map_merge:
- get_attr: [{{role.name}}ServiceChain, role_data, config_settings]