Fix for failed virt deploy on VIP stage
Current pillars return nothig:
root@cfg01:~# salt -C 'I@prometheus:server:enabled:true' pillar.get keepalived:cluster:instance:VIP:address
mon03.virtual-mcp-ocata-dvr.local:
mon01.virtual-mcp-ocata-dvr.local:
mon02.virtual-mcp-ocata-dvr.local:
So changed pillar to keepalived:cluster:instance:prometheus_server_vip:address
that return actual vip
Change-Id: Id46d863799024fb8d6d2ce7a2e76184c142bc67d
diff --git a/tcp_tests/managers/sl_manager.py b/tcp_tests/managers/sl_manager.py
index bd7249b..3d8de25 100644
--- a/tcp_tests/managers/sl_manager.py
+++ b/tcp_tests/managers/sl_manager.py
@@ -46,7 +46,7 @@
def get_sl_vip(self):
sl_vip_address_pillars = self._salt.get_pillar(
tgt='I@prometheus:server:enabled:True',
- pillar='keepalived:cluster:instance:VIP:address')
+ pillar='keepalived:cluster:instance:prometheus_server_vip:address')
sl_vip_ip = set([ip
for item in sl_vip_address_pillars
for node, ip in item.items() if ip])