summaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-07 15:42:36 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-10 15:37:47 +0400
commitb9e85b20595a7b4d0580657e75a1a92ee615a106 (patch)
tree38c74ac8e8324fbb9485c8a51e6b95e27caf58f0 /mcp/config/states
parent911afead7d1f3ff1cf1b3c44f282e80140d45785 (diff)
Align reclass cluster model of dpdk scenario
Change-Id: I4fc0c0e040c97e91c79aae2f0142fb6f025081f2 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-xmcp/config/states/dpdk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mcp/config/states/dpdk b/mcp/config/states/dpdk
index 3e8b22345..8834d47c1 100755
--- a/mcp/config/states/dpdk
+++ b/mcp/config/states/dpdk
@@ -1,4 +1,6 @@
-salt -C 'I@nova:compute' system.reboot
-salt -C 'I@nova:compute' test.ping
+salt -I 'nova:compute' system.reboot
+while true; do salt -I 'nova:compute' test.ping | fgrep -q 'Not connected' || break; done
+salt -I 'nova:compute' state.sls linux.network.dpdk
-salt -C 'I@nova:compute' state.sls linux
+salt -I 'nova:compute' pkg.install libvirt-bin
+salt -I 'nova:compute' file.chown /var/run/openvswitch libvirt-qemu kvm