run neutron on 01 nodes and neutron:server
Change-Id: Ifd90057203cf147b6ceb4f9438748b73f2e8af47
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 297cf9b..6a2d7aa 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -335,13 +335,8 @@
// Install neutron service
//runSaltProcessStep(saltMaster, 'I@neutron:server', 'state.sls', ['neutron'], 1)
- if (INSTALL.toLowerCase().contains('kvm')) {
- salt.enforceState(saltMaster, 'ntw01*', 'neutron', true)
- } else {
- salt.enforceState(saltMaster, 'ctl01*', 'neutron', true)
- }
- salt.enforceState(saltMaster, 'I@neutron:server', 'neutron', true)
+ salt.enforceState(saltMaster, '*01* and I@neutron:server', 'neutron', true)
salt.runSaltProcessStep(saltMaster, 'I@keystone:server', 'cmd.run', ['. /root/keystonerc; neutron agent-list'], null, true)
// Install heat service