<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 23, 2017 at 4:24 PM, Vinícius Ferrão <span dir="ltr"><<a href="mailto:ferrao@if.ufrj.br" target="_blank">ferrao@if.ufrj.br</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 style="word-wrap:break-word">
<div>Hello Adam,</div>
<div><br>
</div>
<div>Since the NFSv3 server is running on a FreeBSD based system I don’t want to mess with permissions (that installation was only a test). So I’ve mapped all users to root and all groups to wheel: everyone has permission to do anything on any file.</div>
<div><br>
</div>
<div># cat /etc/exports <br>
/mnt/pool/ovirt -alldirs -mapall=root:wheel 146.164.36.137</div></div></blockquote><div><br></div><div>I think this might be part of your problem. The host drops privileges to vdsm:kvm and needs to work with files which may not be world writable. Consider changing the above to:</div><div><br></div><div>/mnt/pool/ovirt -alldirs -mapall=36:36 146.164.36.137<br></div><div><br></div><div>Since the vdsm user is always 36 and the kvm group is always 36.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div>The issue happens on the same point, either on NFS or on iSCSI.</div>
<div><br>
</div>
<div>And finally here are the files:</div>
<div><a href="http://www.if.ufrj.br/~ferrao/ovirt/" target="_blank">http://www.if.ufrj.br/~ferrao/<wbr>ovirt/</a></div>
<div><br></div></div></blockquote><div><br></div><div>From the sanlock log I can see host id renewal failures which are resulting in vdsm being killed. That's why we are seeing the timeouts of the API calls. My first guess is this is a permissions error (although I am not sure why it would also fail with iscsi).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>
</div>
<div>Thanks,</div>
<div>V.</div><div><div class="gmail-h5">
<br>
<div>
<blockquote type="cite">
<div>On 23 Jun 2017, at 17:16, Adam Litke <<a href="mailto:alitke@redhat.com" target="_blank">alitke@redhat.com</a>> wrote:</div>
<br class="gmail-m_5950815613530014932Apple-interchange-newline">
<div>
<div dir="ltr">Please provide links to the files /var/log/vdsm/vdsm.log and /var/log/sanlock.log on the host you are attempting to use. Does the problem happen in the same step when using NFS vs. ISCSI? How are you configuring the NFS export that
you give to hosted-engine to use?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 23, 2017 at 2:53 PM, Vinícius Ferrão <span dir="ltr">
<<a href="mailto:ferrao@if.ufrj.br" target="_blank">ferrao@if.ufrj.br</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">
Hello oVirt folks.<br>
<br>
I’m a traitor of the Xen movement and was looking for some good alternatives for XenServer hypervisors. I was aware of KVM for a long time but I was missing a more professional and appliance feeling of the product, and oVirt appears to deliver exactly what
I’m looking for.<br>
<br>
Don’t get me wrong, I’m not saying that Xen is not good, I’m looking for equal or better alternatives, but I’m starting to get frustrated with oVirt.<br>
<br>
Firstly I’ve tried to install the oVirt Node on a VM in VMware Fusion on my notebook, it was a no go. For whatever reasons I don’t know vdsmd.service and libvirtd failed to start. I make sure that I was running with EPT support enabled to achieve nested virtualization,
but as I said: it was a no go.<br>
<br>
So I’ve decommissioned a XenServer machine that was in production just to try oVirt. The hardware is not new, but’s it’s very capable: Dual Xeon E5506 with 48GB of system RAM, but I can’t get the hosted engine to work, it always insults my hardware: --- Hosted
Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy.<br>
<br>
It’s definitely a problem on the storage subsystem, the error is just random, at this moment I’ve got:<br>
<br>
[ ERROR ] Failed to execute stage 'Misc configuration': [-32605] No response for JSON-RPC StorageDomain.detach request.<br>
<br>
But on other tries it came up with something like this:<br>
<br>
No response for JSON-RPC Volume.getSize request.<br>
<br>
I was thinking that the problem was on the NFSv3 server on our FreeNAS box, so I’ve changed to an iSCSI backend, but the problem continues. This happens at the very end of the ovirt-hosted-engine-setup command, which leads me to believe that’s an oVirt issue.
The OVA was already copied and deployed to the storage:<br>
<br>
[ INFO ] Starting vdsmd<br>
[ INFO ] Creating Volume Group<br>
[ INFO ] Creating Storage Domain<br>
[ INFO ] Creating Storage Pool<br>
[ INFO ] Connecting Storage Pool<br>
[ INFO ] Verifying sanlock lockspace initialization<br>
[ INFO ] Creating Image for 'hosted-engine.lockspace' ...<br>
[ INFO ] Image for 'hosted-engine.lockspace' created successfully<br>
[ INFO ] Creating Image for 'hosted-engine.metadata' ...<br>
[ INFO ] Image for 'hosted-engine.metadata' created successfully<br>
[ INFO ] Creating VM Image<br>
[ INFO ] Extracting disk image from OVF archive (could take a few minutes depending on archive size)<br>
[ INFO ] Validating pre-allocated volume size<br>
[ INFO ] Uploading volume to data domain (could take a few minutes depending on archive size)<br>
[ INFO ] Image successfully imported from OVF<br>
[ ERROR ] Failed to execute stage 'Misc configuration': [-32605] No response for JSON-RPC StorageDomain.detach request.<br>
[ INFO ] Yum Performing yum transaction rollback<br>
[ INFO ] Stage: Clean up<br>
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20170623<wbr>032541.conf'<br>
[ INFO ] Stage: Pre-termination<br>
[ INFO ] Stage: Termination<br>
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy<br>
Log file is located at /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170623023424-o9rbt0.log<br>
<br>
At this point I really don’t know what I should try. And the log file is too verborragic (hoping this word exists) to look for errors.<br>
<br>
Any guidance?<br>
<br>
Thanks,<br>
V.<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail-m_5950815613530014932gmail_signature">
<div dir="ltr">Adam Litke</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Adam Litke</div></div>
</div></div>