Issue with NFS and Storage domain setup

Hi Ovirt, I successfully installed both ovirt-engine(ENGINE01) and ovirt node(NODE01) on a separate machines. I also created a FreeNAS(NAS01) with NFS share and already connected to my NODE01, all of these server though I haven't setup a DNS server, was manually added hostname on every machines and I can lookup and ping on them without a problem, I was able to add the NODE01 to my ENGINE01 as well. My issue was when I tried creating a storage domain on my ENGINE01, I did the below steps before running the engine-setup while also following the guide on the ovirt url: https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-n... #touch /etc/exports #systemctl start rpcbind nfs-server #systemctl enable rpcbind nfs-server #engine-setup #mkdir /var/lib/exports/data #chown vdsm:kvm /var/lib/exports/data I added the 2 just in case but I have tried each alone but all fails #vi /etc/exports /var/lib/exports/data *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) /var/lib/exports/data 0.0.0.0/0.0.0.0(rw) #systemctl restart rpc-statd nfs-server Once I started to add my storage domain I get the below error Attached is the engine log for your reference. Hope you guys can help me with these, Im really interested with this great product. Thanks!

Adding to the below issue, my NODE01 can see the NFS share i created from the ENGINE01 which I don't know how it got through because when I add a storage domain from the ovirt engine I still get the error On 14 August 2018 at 10:22, Inquirer Guy <inquirerguy@gmail.com> wrote:
Hi Ovirt,
I successfully installed both ovirt-engine(ENGINE01) and ovirt node(NODE01) on a separate machines. I also created a FreeNAS(NAS01) with NFS share and already connected to my NODE01, all of these server though I haven't setup a DNS server, was manually added hostname on every machines and I can lookup and ping on them without a problem, I was able to add the NODE01 to my ENGINE01 as well.
My issue was when I tried creating a storage domain on my ENGINE01, I did the below steps before running the engine-setup while also following the guide on the ovirt url: https://www.ovirt.org/documentation/how-to/ troubleshooting/troubleshooting-nfs-storage-issues/
#touch /etc/exports #systemctl start rpcbind nfs-server #systemctl enable rpcbind nfs-server #engine-setup #mkdir /var/lib/exports/data #chown vdsm:kvm /var/lib/exports/data
I added the 2 just in case but I have tried each alone but all fails #vi /etc/exports /var/lib/exports/data *(rw,sync,no_subtree_check, all_squash,anonuid=36,anongid=36) /var/lib/exports/data 0.0.0.0/0.0.0.0(rw)
#systemctl restart rpc-statd nfs-server
Once I started to add my storage domain I get the below error
Attached is the engine log for your reference.
Hope you guys can help me with these, Im really interested with this great product. Thanks!

Can you attach the vdsm log? On Wed, Aug 15, 2018 at 5:16 PM Inquirer Guy <inquirerguy@gmail.com> wrote:
Adding to the below issue, my NODE01 can see the NFS share i created from the ENGINE01 which I don't know how it got through because when I add a storage domain from the ovirt engine I still get the error
On 14 August 2018 at 10:22, Inquirer Guy <inquirerguy@gmail.com> wrote:
Hi Ovirt,
I successfully installed both ovirt-engine(ENGINE01) and ovirt node(NODE01) on a separate machines. I also created a FreeNAS(NAS01) with NFS share and already connected to my NODE01, all of these server though I haven't setup a DNS server, was manually added hostname on every machines and I can lookup and ping on them without a problem, I was able to add the NODE01 to my ENGINE01 as well.
My issue was when I tried creating a storage domain on my ENGINE01, I did the below steps before running the engine-setup while also following the guide on the ovirt url: https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-n...
#touch /etc/exports #systemctl start rpcbind nfs-server #systemctl enable rpcbind nfs-server #engine-setup #mkdir /var/lib/exports/data #chown vdsm:kvm /var/lib/exports/data
I added the 2 just in case but I have tried each alone but all fails #vi /etc/exports /var/lib/exports/data *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) /var/lib/exports/data 0.0.0.0/0.0.0.0(rw)
#systemctl restart rpc-statd nfs-server
Once I started to add my storage domain I get the below error
Attached is the engine log for your reference.
Hope you guys can help me with these, Im really interested with this great product. Thanks!
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4UVDHNLSFSDHUZ...

On Tue, 14 Aug 2018 11:21:35 +0800 Inquirer Guy <inquirerguy@gmail.com> wrote:
Adding to the below issue, my NODE01 can see the NFS share i created from the ENGINE01 which I don't know how it got through because when I add a storage domain from the ovirt engine I still get the error
It looks to me like you're doing it the wrong way around. Let me try to explain how I would set it up: We have the following: 0. (you should consider using this) all hosts are in DNS, you could just use the DNS forwarder in your router and map the names to IP's and vice versa and then tell all the hosts to use the router as the only DNS server. 1. nas01.groms.local to be used as NFS server for storing virtual machines. 2. engine01.groms.local as the oVirt engine 3. node01 as the first hypervisor 4. a NFS share on nas01, i.e. /srv/ovirt/vms Procedure: 1. make sure that nas01 has the user vdsm with uid/gid=36 and that vdsm is allowed read/write access on the share(i.e. /srv/ovirt/vms) that you want to use for vm's. 2. in engine management, create a new storage domain: Type: NFS Host to use: engine01.groms.local Export path: nas01.groms.local:/srv/ovirt/vms That should give you a usable storage domain for your vm's. HTH /tony -- Tony Albers Systems administrator, IT-development Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark. Tel: +45 2566 2383 / +45 8946 2316
participants (3)
-
Benny Zlotnik
-
Inquirer Guy
-
Tony Brian Albers