Fix issue where 2 Redis VIPs are assigned, but only one used.
authorDan Sneddon <dsneddon@redhat.com>
Thu, 14 Sep 2017 17:20:54 +0000 (11:20 -0600)
committerAlex Schultz <aschultz@redhat.com>
Fri, 22 Sep 2017 21:59:08 +0000 (15:59 -0600)
There is an extra RedisVipPort defined in network-isolation.j2.yaml
which is unused. This will waste an IP address, and can lead to
confusion if there are multiple ports named RedisVipPort.

This patch removes the extra (unneeded) instance of the VIP.

Change-Id: I222873859af1b4ed1050cfffe55687b2f8d4c528
Closes-bug: 1717017
(cherry picked from commit f543752da6e1df3537ffa68d86806e11ac380375)

environments/network-isolation.j2.yaml

index 1b792af..2db1a82 100644 (file)
@@ -22,9 +22,6 @@ resource_registry:
   {%- endfor %}
   OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip.yaml
 
-
-  OS::TripleO::{{primary_role_name}}::Ports::RedisVipPort: ../network/ports/vip.yaml
-
 {%- for role in roles %}
   # Port assignments for the {{role.name}}
   {%- for network in networks %}