From 75ff9b4407cff88c32c079dde5a23383e3cd8f93 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 13 Sep 2017 12:18:19 +0400 Subject: [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 --- mcp/config/states/openstack | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mcp/config/states') 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" -- cgit 1.2.3-korg