<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2018 at 4:12 PM,  <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" target="_blank">spfma.tech@e.mail.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">I tried to make a cleaner install : after cleanup, I recreated &quot;/rhev/data-center/mnt/&quot; and ran the installer again.<br></span></div></blockquote><div><br></div><div>It should be automatically created by vdsm, can you please avoid that?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000"></span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">As you can see, it crashed again with the same access denied error on this file : </span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">[ INFO  ] TASK [Copy configuration archive to storage]<br>[ ERROR ] fatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: true, &quot;cmd&quot;: [&quot;dd&quot;, &quot;bs=20480&quot;, &quot;count=1&quot;, &quot;oflag=direct&quot;, &quot;if=/var/tmp/localvmVBRLpL/<wbr>b1884198-69e6-4096-939d-<wbr>03c87112de10&quot;, &quot;of=/rhev/data-center/mnt/10.<wbr>100.2.132:_volume3_ovirt__<wbr>engine__self__hosted/015d9546-<wbr>af01-4fb2-891e-e28683db3387/<wbr>images/589d0768-c935-4495-<wbr>aa57-45b9b2a18526/b1884198-<wbr>69e6-4096-939d-03c87112de10&quot;], &quot;delta&quot;: &quot;0:00:00.004468&quot;, &quot;end&quot;: &quot;2018-03-20 15:57:34.199405&quot;, &quot;msg&quot;: &quot;non-zero return code&quot;, &quot;rc&quot;: 1, &quot;start&quot;: &quot;2018-03-20 15:57:34.194937&quot;, &quot;stderr&quot;: &quot;dd: impossible d&#39;ouvrir « /rhev/data-center/mnt/10.<wbr>100.2.132:_volume3_ovirt__<wbr>engine__self__hosted/015d9546-<wbr>af01-4fb2-891e-e28683db3387/<wbr>images/589d0768-c935-4495-<wbr>aa57-45b9b2a18526/b1884198-<wbr>69e6-4096-939d-03c87112de10 »: Permission non accordée&quot;, &quot;stderr_lines&quot;: [&quot;dd: impossible d&#39;ouvrir « /rhev/data-center/mnt/10.<wbr>100.2.132:_volume3_ovirt__<wbr>engine__self__hosted/015d9546-<wbr>af01-4fb2-891e-e28683db3387/<wbr>images/589d0768-c935-4495-<wbr>aa57-45b9b2a18526/b1884198-<wbr>69e6-4096-939d-03c87112de10 »: Permission non accordée&quot;], &quot;stdout&quot;: &quot;&quot;, &quot;stdout_lines&quot;: []}<br>[ ERROR ] Failed to execute stage &#39;Closing up&#39;: Failed executing ansible-playbook<br></span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">But the file permissions look ok to me : </span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">-rw-rw----. 1 vdsm kvm 1,0G 20 mars   2018 /rhev/data-center/mnt/10.100.<wbr>2.132:_volume3_ovirt__engine__<wbr>self__hosted/015d9546-af01-<wbr>4fb2-891e-e28683db3387/images/<wbr>589d0768-c935-4495-aa57-<wbr>45b9b2a18526/b1884198-69e6-<wbr>4096-939d-03c87112de10<br><br></span></div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">So I decided to test something : I  set a shell for &quot;vdsm&quot;, so I could login : </span></div>
<div> </div>
<div>su - vdsm -c &quot;touch /rhev/data-center/mnt/10.100.<wbr>2.132:_volume3_ovirt__engine__<wbr>self__hosted/015d9546-af01-<wbr>4fb2-891e-e28683db3387/images/<wbr>589d0768-c935-4495-aa57-<wbr>45b9b2a18526/b1884198-69e6-<wbr>4096-939d-03c87112de10&quot; &amp;&amp; echo &quot;OK&quot;<br>OK</div>
<div> </div>
<div>As far as I can see,still  no permission problem</div>
<p>But if I try the same as &quot;root&quot; :</p>
<p>touch /rhev/data-center/mnt/10.100.<wbr>2.132:_volume3_ovirt__engine__<wbr>self__hosted/015d9546-af01-<wbr>4fb2-891e-e28683db3387/images/<wbr>589d0768-c935-4495-aa57-<wbr>45b9b2a18526/b1884198-69e6-<wbr>4096-939d-03c87112de10 &amp;&amp; echo &quot;OK&quot;<br>touch: impossible de faire un touch « /rhev/data-center/mnt/10.<wbr>100.2.132:_volume3_ovirt__<wbr>engine__self__hosted/015d9546-<wbr>af01-4fb2-891e-e28683db3387/<wbr>images/589d0768-c935-4495-<wbr>aa57-45b9b2a18526/b1884198-<wbr>69e6-4096-939d-03c87112de10 »: Permission non accordée</p>
<p>Of course, &quot;root&quot; and &quot;vdsm&quot; can create, touch and delete other files flawlessly in this share.</p>
<p>It looks like some kind of immutable file, but is is not suppose to exist on NFS, does it ?</p>
<p>Regards</p><div class="HOEnZb"><div class="h5">
<p> </p>
<p><br><br> Le 20-Mar-2018 12:22:50 +0100, <a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a> a écrit:</p>
<div> </div>
<blockquote style="margin-left:0;padding-left:5px;border-left:2px solid navy">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 20, 2018 at 11:44 AM, <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" rel="noreferrer noopener" target="_blank">spfma.tech@e.mail.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000"> </span></div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Hi,<br></span></div>
<div> </div>
<div> </div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">In fact it is a workaround coming from you I found in the bugtrack that helped me : </span></div>
<div> </div>
<div> </div>
<div> </div>
<div>
<pre id="m_3642752428400018059gmail-m_-4123427470926593816comment_text_8" class="m_3642752428400018059gmail-m_-4123427470926593816bz_comment_text m_3642752428400018059gmail-m_-4123427470926593816bz_wrap_comment_text">chmod 644 /var/cache/vdsm/schema/*</pre>
</div>
<div> </div>
<p>As the only thing looking like a weird error I have found was :</p>
<div> </div>
<div> </div>
<p>ERROR Exception raised#012Traceback (most recent call last):#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/vdsmd.py&quot;, line 156, in run#012    serve_clients(log)#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/vdsmd.py&quot;, line 103, in serve_clients#012    cif = clientIF.getInstance(irs, log, scheduler)#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/clientIF.py&quot;, line 250, in getInstance#012    cls._instance = clientIF(irs, log, scheduler)#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/clientIF.py&quot;, line 144, in __init__#012    self._prepareJSONRPCServer()#<wbr>012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/clientIF.py&quot;, line 307, in _prepareJSONRPCServer#012    bridge = Bridge.DynamicBridge()#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/rpc/Bridge.py&quot;, line 67, in __init__#012    self._schema = vdsmapi.Schema(paths, api_strict_mode)#012  File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/api/vdsmapi.py&quot;, line 217, in __init__#012    raise SchemaNotFound(&quot;Unable to find API schema file&quot;)#012SchemaNotFound: Unable to find API schema file</p>
</blockquote>
<div> </div>
<div>Thanks, it&#39;s tracked here:</div>
<div><a href="https://bugzilla.redhat.com/1552565" target="_blank">https://bugzilla.redhat.com/<wbr>1552565</a></div>
<div> </div>
<div>A fix will come in the next build.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div> </div>
<div> </div>
<div>So I can go one step futher, but the installation still fails in the end, with file permission problems in datastore files (i chose NFS 4.1). I can&#39;t indeed touch or get informations even logged in root. But I can create and delete files in the same directory.</div>
<div> </div>
<div>Is there a workaround for this too ?</div>
</blockquote>
<div> </div>
<div>Everything should get wrote and read on the NFS export as vdsm:kvm (36:36); can you please ensure that everything is fine with that?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div> </div>
<div>Regards</div>
<p><br><br> Le 19-Mar-2018 17:48:41 +0100, <a href="mailto:stirabos@redhat.com" rel="noreferrer noopener" target="_blank">stirabos@redhat.com</a> a écrit:</p>
<div> </div>
<div> </div>
<div> </div>
<blockquote style="margin-left:0px;padding-left:5px;border-left:2px solid #000080">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span class="m_3642752428400018059gmail-">On Mon, Mar 19, 2018 at 4:56 PM, <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" rel="noreferrer noopener" target="_blank">spfma.tech@e.mail.fr</a>&gt;</span> wrote:<br></span>
<blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Hi,<br></span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">I wanted to rebuild a new hosted engine setup, as the old was corrupted (too much violent poweroff !)</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">So the server was not reinstalled, I just runned &quot;ovirt-hosted-engine-cleanup&quot;. The network setup generated by vdsm seems to be still in place, so I haven&#39;t changed anything there.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Then I decided to update the packages to the latest versions avaible, rebooted the server and run &quot;ovirt-hosted-engine-setup&quot;.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">But the process never succeeds, as I get an error after a long time spent in &quot;<span class="m_3642752428400018059gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Wait for the host to be up]</span>&quot;</span></div>
<div> </div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000"><span class="m_3642752428400018059gmail-"><span class="m_3642752428400018059gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ ERROR ] fatal: [localhost]: FAILED! =&gt; {&quot;ansible_facts&quot;: {&quot;ovirt_hosts&quot;: [{&quot;address&quot;: &quot;pfm-srv-virt-1.pfm-ad.pfm.<wbr>loc&quot;, &quot;affinity_labels&quot;: [], &quot;auto_numa_status&quot;: &quot;unknown&quot;, &quot;certificate&quot;: {&quot;organization&quot;: &quot;pfm.loc&quot;, &quot;subject&quot;: &quot;O=pfm.loc,CN=pfm-srv-virt-1.<wbr>pfm-ad.pfm.loc&quot;}, &quot;cluster&quot;: {&quot;href&quot;: &quot;/ovirt-engine/api/clusters/<wbr>d6c9358e-2b8b-11e8-bc86-<wbr>00163e152701&quot;, &quot;id&quot;: &quot;d6c9358e-2b8b-11e8-bc86-<wbr>00163e152701&quot;}, &quot;comment&quot;: &quot;&quot;, &quot;cpu&quot;: {&quot;speed&quot;: 0.0, &quot;topology&quot;: {}}, &quot;device_passthrough&quot;: {&quot;enabled&quot;: false}, &quot;devices&quot;: [], &quot;external_network_provider_<wbr>configurations&quot;: [], &quot;external_status&quot;: &quot;ok&quot;, &quot;hardware_information&quot;: {&quot;supported_rng_sources&quot;: []}, &quot;hooks&quot;: [], &quot;href&quot;: &quot;/ovirt-engine/api/hosts/<wbr>542566c4-fc85-4398-9402-<wbr>10c8adaa9554&quot;, &quot;id&quot;: &quot;542566c4-fc85-4398-9402-<wbr>10c8adaa9554&quot;, &quot;katello_errata&quot;: [], &quot;kdump_status&quot;: &quot;unknown&quot;, &quot;ksm&quot;: {&quot;enabled&quot;: false}, &quot;max_scheduling_memory&quot;: 0, &quot;memory&quot;: 0, &quot;name&quot;: &quot;pfm-srv-virt-1.pfm-ad.pfm.<wbr>loc&quot;, &quot;network_attachments&quot;: [], &quot;nics&quot;: [], &quot;numa_nodes&quot;: [], &quot;numa_supported&quot;: false, &quot;os&quot;: {&quot;custom_kernel_cmdline&quot;: &quot;&quot;}, &quot;permissions&quot;: [], &quot;port&quot;: 54321, &quot;power_management&quot;: {&quot;automatic_pm_enabled&quot;: true, &quot;enabled&quot;: false, &quot;kdump_detection&quot;: true, &quot;pm_proxies&quot;: []}, &quot;protocol&quot;: &quot;stomp&quot;, &quot;se_linux&quot;: {}, &quot;spm&quot;: {&quot;priority&quot;: 5, &quot;status&quot;: &quot;none&quot;}, &quot;ssh&quot;: {&quot;fingerprint&quot;: &quot;SHA256:<wbr>J75BVLFnmGBGFosXzaxCRnuIYcOc75<wbr>HUBQZ4pOKpDg8&quot;, &quot;port&quot;: 22}, &quot;statistics&quot;: [], &quot;status&quot;: &quot;non_responsive&quot;, &quot;storage_connection_<wbr>extensions&quot;: [], &quot;summary&quot;: {&quot;total&quot;: 0}, &quot;tags&quot;: [], &quot;transparent_huge_pages&quot;: {&quot;enabled&quot;: false}, &quot;type&quot;: &quot;rhel&quot;, &quot;unmanaged_networks&quot;: [], &quot;update_available&quot;: false}]}, &quot;attempts&quot;: 120, &quot;changed&quot;: false}<br></span><span class="m_3642752428400018059gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Remove local vm dir]<br></span><span class="m_3642752428400018059gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Notify the user about a failure]<br></span></span><span class="m_3642752428400018059gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ ERROR ] fatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.n&quot;}</span></span></div>
<div> </div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">I made another try with Cockpit, it is the same.</span></div>
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Am I doing something wrong or is there a bug ?</span></div>
</blockquote>
<div> </div>
<div>I suppose that your host was condifured with DHCP, if so it&#39;s this one:</div>
<div><a href="https://bugzilla.redhat.com/1549642" rel="noreferrer noopener" target="_blank">https://bugzilla.redhat.com/<wbr>1549642</a></div>
<div> </div>
<div>The fix will come with 4.2.2.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left:1px solid #cccccc;padding-left:1ex">
<div> </div>
<div><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000">Regards</span></div>
<div> </div>
<div> </div>
<br><hr>FreeMail powered by <a href="https://mail.fr" rel="noreferrer noopener" target="_blank">mail.fr</a> <br><span class="m_3642752428400018059gmail-">______________________________<wbr>_________________<br> Users mailing list<br><a href="mailto:Users@ovirt.org" rel="noreferrer noopener" target="_blank">Users@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer noopener" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br><br></span></blockquote>
</div>
</div>
</div>
</blockquote>
<div class="m_3642752428400018059gmail-HOEnZb">
<div class="m_3642752428400018059gmail-h5"><br><hr>FreeMail powered by <a href="https://mail.fr" rel="noreferrer noopener" target="_blank">mail.fr</a></div>
</div>
<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 noopener" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br><br></blockquote>
</div>
</div>
</div>
</blockquote>
                    <br><hr>FreeMail powered by <a href="https://mail.fr" target="_blank">mail.fr</a>

</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>