Merge "Pick dynamically the first node for stack validation"

This commit is contained in:
Jenkins 2017-03-27 12:38:23 +00:00 committed by Gerrit Code Review
commit 5bcfc8c2a7

View File

@ -579,12 +579,24 @@ resources:
PingTestIps:
list_join:
- ' '
- - {get_attr: [{{primary_role_name}}, resource.0.external_ip_address]}
- {get_attr: [{{primary_role_name}}, resource.0.internal_api_ip_address]}
- {get_attr: [{{primary_role_name}}, resource.0.storage_ip_address]}
- {get_attr: [{{primary_role_name}}, resource.0.storage_mgmt_ip_address]}
- {get_attr: [{{primary_role_name}}, resource.0.tenant_ip_address]}
- {get_attr: [{{primary_role_name}}, resource.0.management_ip_address]}
- - yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, external_ip_address]}
- yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, internal_api_ip_address]}
- yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, storage_ip_address]}
- yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, storage_mgmt_ip_address]}
- yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, tenant_ip_address]}
- yaql:
expression: coalesce($.data, []).first(null)
data: {get_attr: [Controller, management_ip_address]}
UpdateWorkflow:
type: OS::TripleO::Tasks::UpdateWorkflow