1 Reply Latest reply on Jul 20, 2018 7:35 PM by Krebstar

    NFS error in /var/log/ovs-agent.log

    Krebstar

      I have installed Oracle VM Server and after figuring out that you can't use a USB, it has worked just fine. I then spun up an Oracle Linux VM and installed Oracle VM Manager on that. It is able to locate the VM Server and that is fine. The problem that we are having now is adding storage. I want to use an array on the actual VM server for storing all the VMs. So I created an NFS share on the Oracle VM Server and I am trying to get VM Manager to pick up that share, however that is failing. On the VM Manager server, I can manually add the NFS share and mount it, but when I try to "Scan File Systems" and point it to the IP, I get this error on the Oracle VM Server:

       

      "

      [2018-07-20 08:26:18 12441] DEBUG (service:75) call start: storage_plugin_listFileSystems('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900004cae67b8e31545ad', 'total_sz': 0, 'admin_passwd': '******', 'free_sz': 0, 'name': '0004fb00000900004cae67b8e31545ad', 'access_host': 'localserverip', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'storage_desc': ''}, True)

      [2018-07-20 08:26:18 12441] INFO (storageplugin:109) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)

      [2018-07-20 08:26:18 12441] DEBUG (NFSPlugin:150) ENTER: listFileSystems()

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:38) cmd = /usr/sbin/showmount --export localserverip

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:44) opened subprocess pid 12444

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:48) cmd = /usr/sbin/showmount --export localserverip DONE; status 0

      [2018-07-20 08:26:18 12441] DEBUG (NFSPlugin:200) Number of exports: 1

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:38) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,tcp,vers=3

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:44) opened subprocess pid 12445

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:48) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,tcp,vers=3 DONE; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:89) mount output: mount.nfs: timeout set for Fri Jul 20 08:27:18 2018

      ; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:94) mount failed, error mount.nfs: rpc.statd is not running but is required for remote locking.

      mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

      mount.nfs: an incorrect mount option was specified

       

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:38) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,udp,vers=3

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:44) opened subprocess pid 12450

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:48) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,udp,vers=3 DONE; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:89) mount output: mount.nfs: timeout set for Fri Jul 20 08:27:18 2018

      ; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:94) mount failed, error mount.nfs: rpc.statd is not running but is required for remote locking.

      mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

      mount.nfs: an incorrect mount option was specified

       

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:38) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,vers=4

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:44) opened subprocess pid 12455

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:48) cmd = /bin/mount -t nfs -v localserverip:/mnt/StorageArray /ovs_mount_tempei3B9z -o nosharecache,soft,fg,retry=1,vers=4 DONE; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:89) mount output: mount.nfs: timeout set for Fri Jul 20 08:27:18 2018

      mount.nfs: trying text-based options 'nosharecache,soft,fg,retry=1,vers=4,addr=localserverip,clientaddr=localserverip'

      ; status 32

      [2018-07-20 08:26:18 12441] DEBUG (nfs_linux:94) mount failed, error mount.nfs: mount(2): Permission denied

      mount.nfs: access denied by server while mounting localserverip:/mnt/StorageArray

       

      [2018-07-20 08:26:18 12441] ERROR (nfs_linux:99) Unable to mount "localserverip:/mnt/StorageArray" on "/ovs_mount_tempei3B9z": mount.nfs: mount(2): Permission denied

      mount.nfs: access denied by server while mounting localserverip:/mnt/StorageArray

       

      [2018-07-20 08:26:18 12441] DEBUG (NFSPlugin:253) Exports: 1; mounts: tcp: 1;udp: 0, failed: 1

      [2018-07-20 08:26:18 12441] DEBUG (NFSPlugin:256) EXIT : listFileSystems()

      [2018-07-20 08:26:18 12441] DEBUG (service:77) call complete: storage_plugin_listFileSystems

      [2018-07-20 08:26:18 12460] DEBUG (service:77) call start: discover_pool_filesystem

      [2018-07-20 08:26:18 12460] DEBUG (service:77) call complete: discover_pool_filesystem"

       

      From OVM:

       

      showmount -e nfsserverip

      Export list for nfsserverip:

      /mnt/StorageArray OracleVMManagerIP

       

      /etc/exports from OracleVMServer

       

      # /etc/exports file for OracleVMServer

      #

      /mnt/StorageArray localserverip(rw,sync,no_root_squash)

       

      Has anyone else run into this?

       

      Message was edited by: dcddf45b-65e5-490d-b40e-672f300aa617