[ovirt-users] Re: Issue with NFS and Storage domain setup

2018-08-16 Thread Tony Brian Albers
On Tue, 14 Aug 2018 11:21:35 +0800
Inquirer Guy  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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/44TK3FLRMWJRSSNYVGTROHYELT75ZNOK/


[ovirt-users] Re: Issue with NFS and Storage domain setup

2018-08-15 Thread Greg Sheremeta
Hi,

Wild guess, but it could be selinux. Try permissive mode or check ausearch?

Greg


On Wed, Aug 15, 2018 at 10:25 AM Douglas Duckworth 
wrote:

>
> https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/
>
> Try the script outlined in section "nfs-check-program."
>
>
>
> Thanks,
>
> Douglas Duckworth, MSc, LFCS
> HPC System Administrator
> Scientific Computing Unit
> Weill Cornell Medicine
> E: d...@med.cornell.edu
> O: 212-746-6305
> F: 212-746-8690
>
> On Mon, Aug 13, 2018 at 11:21 PM, Inquirer Guy 
> 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  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!
>>>
>>
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/LKLOBS67TJY23JZ4RA2FVQSUV5BYURVO/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/K2M673IZROZ67L4SEFV6IBV5I3RH7NKL/


[ovirt-users] Re: Issue with NFS and Storage domain setup

2018-08-15 Thread Douglas Duckworth
https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/

Try the script outlined in section "nfs-check-program."



Thanks,

Douglas Duckworth, MSc, LFCS
HPC System Administrator
Scientific Computing Unit
Weill Cornell Medicine
E: d...@med.cornell.edu
O: 212-746-6305
F: 212-746-8690

On Mon, Aug 13, 2018 at 11:21 PM, Inquirer Guy 
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  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/document
>> ation/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!
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/LKLOBS67TJY23JZ4RA2FVQSUV5BYURVO/


[ovirt-users] Re: Issue with NFS and Storage domain setup

2018-08-15 Thread Benny Zlotnik
Can you attach the vdsm log?

On Wed, Aug 15, 2018 at 5:16 PM Inquirer Guy  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  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!
>>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/4UVDHNLSFSDHUZU3VXSZVUYUCUR55YI2/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/2QUK3EAPP6R3VG7NZNGTZQAQSGSIGQTQ/


[ovirt-users] Re: Issue with NFS and Storage domain setup

2018-08-15 Thread Inquirer Guy
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  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!
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/4UVDHNLSFSDHUZU3VXSZVUYUCUR55YI2/