Get rid of hardcoded node names in pipeline library
Change-Id: I151ff8a2b5b163c3961b6487c0ace7af56eed094
Related-prod: PROD-25517
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 509fe87..34c5f4b 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -158,7 +158,7 @@
}
common.infoMsg("All minions are up.")
- salt.fullRefresh(master, "* and not kvm* ${extra_tgt}")
+ salt.fullRefresh(master, "* and not I@salt:control ${extra_tgt}")
}
@@ -976,7 +976,7 @@
salt.enforceStateWithTest([saltId: master, target: "I@sphinx:server ${extra_tgt}", state: 'sphinx'])
//Configure Grafana
- pillar = salt.getPillar(master, "ctl01* ${extra_tgt}", '_param:stacklight_monitor_address')
+ pillar = salt.getPillar(master, "I@keystone:server:role:primary ${extra_tgt}", '_param:stacklight_monitor_address')
common.prettyPrint(pillar)
def stacklight_vip
@@ -1271,7 +1271,7 @@
def salt = new com.mirantis.mk.Salt()
//Get oss VIP address
- def pillar = salt.getPillar(master, "cfg01* ${extra_tgt}", '_param:stacklight_monitor_address')
+ def pillar = salt.getPillar(master, "I@salt:master ${extra_tgt}", '_param:stacklight_monitor_address')
common.prettyPrint(pillar)
def oss_vip