aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2019-01-16 04:39:28 -0800
committerVictor Morales <victor.morales@intel.com>2019-01-16 04:39:28 -0800
commit450f103b23d0e27d6d40d394c0bf40185f91a212 (patch)
tree3f66cfac7f5d6eedd394fdefdc612401f848a1c2
parent8db0a40746925ffdd98c6b6718a05e31d17fc755 (diff)
Enable statd service
NFS uses rpc-statd service to provide locks. These service needs to be started separately. This fix enables that service to prevents 'no locks available' message errors. Change-Id: I37263226072db2b064e02811ed397bb3040254b7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
-rwxr-xr-xvagrant/setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/vagrant/setup.sh b/vagrant/setup.sh
index 3bbcc4ce..a135ea96 100755
--- a/vagrant/setup.sh
+++ b/vagrant/setup.sh
@@ -188,5 +188,10 @@ if [ $VAGRANT_DEFAULT_PROVIDER == libvirt ]; then
vagrant plugin install vagrant-libvirt
sudo usermod -a -G $libvirt_group $USER # This might require to reload user's group assigments
sudo systemctl restart libvirtd
+
+ # Start statd service to prevent NFS lock errors
+ sudo systemctl enable rpc-statd
+ sudo systemctl start rpc-statd
+
kvm-ok
fi