<div dir="ltr"><div>Hi Wodel,<br><br></div>Can you please verify that the patch that Nir sent [1] indeed solves the problem?<br><div class="gmail_extra">You can use "git fetch <a href="https://gerrit.ovirt.org/vdsm">https://gerrit.ovirt.org/vdsm</a> refs/changes/79/61579/2 && git checkout FETCH_HEAD".<br><br></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br></div>Idan<br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 27, 2016 at 11:36 PM, Nir Soffer <span dir="ltr"><<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Wed, Jul 27, 2016 at 10:41 PM, Nir Soffer <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br>
> On Wed, Jul 27, 2016 at 6:07 PM, Nir Soffer <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br>
>> On Wed, Jul 27, 2016 at 4:57 PM, Idan Shaby <<a href="mailto:ishaby@redhat.com">ishaby@redhat.com</a>> wrote:<br>
>>> Hi,<br>
>>><br>
>>> Can you please attach the vdsm log so we can get all the details?<br>
>>><br>
>>><br>
>>> Thanks,<br>
>>> Idan<br>
>>><br>
>>> On Wed, Jul 27, 2016 at 4:24 PM, wodel youchi <<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> I wanted to test the new version of oVirt the 4.0.1 on FC23, using HE<br>
>>>> method and using NFSv4 for storage.<br>
>>>><br>
>>>> When launching the deploy command, and choosing nfsv4 and filling the<br>
>>>> mount point, the setup exits with error : Connection to storage server<br>
>>>> failed.<br>
>>>><br>
>>>> In vdsm log I have this error:<br>
>>>> Could not connect to storageServer<br>
>>>> Traceback (most recent call last):<br>
>>>> ...<br>
>>>> OSError: [Errno 2] Mount of `noveria.wodel.wd:/engine_vm` at<br>
>>>> `/rhev/data-center/mnt/noveria.wodel.wd:_engine__vm` does not exist<br>
>>>><br>
>>>> the df -h command shows that the nfs mount was done, but the device path<br>
>>>> contains a double slash.<br>
>>>> noveria.wodel.wd://vmengine 656G 111G 513G 18%<br>
>>>> /rhev/data-center/mnt/noveria.wodel.wd:_vmengine<br>
>><br>
>> Can you share the output of:<br>
>><br>
>> cat /proc/mounts<br>
>><br>
>> This is what vdsm is using the check if a mount exists.<br>
>><br>
>>>><br>
>>>><br>
>>>> I am not sure of the problem, but I think it's the double slash on the<br>
>>>> nfs4 path when using fsid=0: noveria.wodel.wd://vmengine<br>
>><br>
>> Vdsm is normalizing the mount path - when you try to mount:<br>
>><br>
>> noveria.wodel.wd://vmengine<br>
>><br>
>> Vdsm normalize the path to:<br>
>><br>
>> noveria.wodel.wd:/vmengine<br>
>><br>
>> And it pass this value to the mount command.<br>
>><br>
>> Vdsm expect that the kernel will not modify the value and return unormalized<br>
>> paths.<br>
>><br>
>> This looks like an issue reported in the util-linux list:<br>
>> <a href="http://www.spinics.net/lists/util-linux-ng/msg13078.html" rel="noreferrer" target="_blank">http://www.spinics.net/lists/util-linux-ng/msg13078.html</a><br>
>><br>
>> According to the report, this is known issue in the kernel and unlikely to<br>
>> be fixed soon.<br>
>><br>
>> So it seems that we do need to normalize also what the kernel returns<br>
>> in /proc/mounts.<br>
><br>
> I posted these patches that should fix this issue.<br>
> <a href="https://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:ovirt-4.0+topic:backport/4.0/normalize-mounts" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:ovirt-4.0+topic:backport/4.0/normalize-mounts</a><br>
<br>
</div></div>Testing the nfs4 patch show that we need more work.<br>
<br>
In the meantime, can you check if using mount path with double slash<br>
(e.g. server://path) in engine works?<br>
<br>
Also, can you file a bug about this?<br>
<br>
Cheers,<br>
Nir<br>
</blockquote></div><br></div></div>