summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/openstack
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-13 12:18:19 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-13 12:18:19 +0400
commit75ff9b4407cff88c32c079dde5a23383e3cd8f93 (patch)
treef009551c5f812e77571d13b309fb49203cd0d2be /mcp/config/states/openstack
parentb30697a84ce41ee20a8b6070acda60f3a5cfac26 (diff)
[virtual] Setup nfs for nova instances
Configure nfs shared storage for nova instances to support live migration feature. Change-Id: I777d5725e45d03325507d3ecc8dd59a28cbc188f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/openstack')
-rwxr-xr-xmcp/config/states/openstack4
1 files changed, 4 insertions, 0 deletions
diff --git a/mcp/config/states/openstack b/mcp/config/states/openstack
index eaab1353f..beb6abb63 100755
--- a/mcp/config/states/openstack
+++ b/mcp/config/states/openstack
@@ -1,6 +1,10 @@
#!/bin/bash
set -x
+salt -I 'nfs:server' file.mkdir /srv/nova/instances
+salt -I 'nfs:server' state.sls nfs
+salt -I 'nfs:client' state.sls nfs
+
salt -I 'rabbitmq:server' state.sls rabbitmq
salt -I 'rabbitmq:server' cmd.run "rabbitmqctl status"