diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-27 12:38:23 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-27 12:38:23 +0000 |
commit | 5bcfc8c2a758eced575cf5edf79ab3c19a96c952 (patch) | |
tree | 7a4d8b11511c2078862df589a73d2c0c85b9926e /overcloud.j2.yaml | |
parent | 82db6ab608b29e455fb2036aeb36537148b97cf9 (diff) | |
parent | fd15a091f7ab6927833275df17b96ecacc2b1827 (diff) |
Merge "Pick dynamically the first node for stack validation"
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r-- | overcloud.j2.yaml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index e99f770f..7b780112 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -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 |