From 450f103b23d0e27d6d40d394c0bf40185f91a212 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Wed, 16 Jan 2019 04:39:28 -0800 Subject: 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 Issue-ID: MULTICLOUD-301 --- vagrant/setup.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.2.3-korg