diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-22 11:58:32 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-22 11:58:32 +0000 |
commit | 58f3d248bab6ea0ed3433fd3aa485d8c93060f56 (patch) | |
tree | 31885a68b376bdb5064cee63254f4ec4d3a378e5 /overcloud.j2.yaml | |
parent | 33bdba26d668d91f213515a91f8797b9b249d84a (diff) | |
parent | 8d796ea0e4afd69f9776d07f491b1a0d83e34128 (diff) |
Merge "Add a per service bootstrap node variable"
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r-- | overcloud.j2.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index f7e6f37f..f53a99af 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -444,6 +444,14 @@ resources: {% for role in roles %} - {get_attr: [{{role.name}}IpListMap, short_service_hostnames]} {% endfor %} + short_service_bootstrap_node: + yaql: + expression: dict($.data.l.where($ != null).selectMany($.items()).groupBy($[0], $[1], [$[0], $[1].flatten().first()])) + data: + l: +{% for role in roles %} + - {get_attr: [{{role.name}}IpListMap, short_service_bootstrap_hostnames]} +{% endfor %} # FIXME(shardy): These require further work to move into service_ips memcache_node_ips: {get_attr: [ControllerIpListMap, net_ip_map, {get_attr: [ServiceNetMap, service_net_map, MemcachedNetwork]}]} NetVipMap: {get_attr: [VipMap, net_ip_map]} |