<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">Hi,<br /></span></div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">I made some progress : by allowing my NAS to map any user to admin (not the best for security, but it is a dedicated infrastructure), this weird permissions problem disappeared. Maybe a NFS bug somewhere ? I don't know.</span></div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">I was able to redeploy a new hosted engine, and after a cleanup and some other manual cleaning tasks, restore my latest backup.</span></div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">So the new engine vm is able to startup, but it seems there is a problem for communicating with hosts.</span></div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">I get a lot of errors like this one :</span></div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">vdsm[3008]: ERROR ssl handshake: SSLError, address: ::ffff:10.100.1.100 <br /></span></div>
<p><span style="font-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;">10.100.1.100&nbsp; is the IP of the engine vm.</span></p>
<p>vdsm.log is not more helpful :</p>
<p>2018-03-21 17:10:10,769+0100 ERROR (Reactor thread) [ProtocolDetector.SSLHandshakeDispatcher] ssl handshake: SSLError, address: ::ffff:10.100.1.100 (sslutils:258)</p>
<p>Is there something to update or generate after a restore ? I don't know whether keys and certificates were kept or if new ones are now used.</p>
<p>I also tried to add the SSH public key showed in the GUI to the authorized_keys on a node, even reboot, but no change.</p>
<p>&nbsp;</p>
<p>Regards</p>
<p><br /><br /><br /> Le 20-Mar-2018 16:12:40 +0100, spfma.tech@e.mail.fr a &eacute;crit:</p>
<div>&nbsp;</div>
<blockquote style="margin-left: 0; padding-left: 5px; border-left: 2px solid navy;">
<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 "/rhev/data-center/mnt/" and ran the installer again.<br /></span></div>
<div>&nbsp;</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>&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">[ INFO&nbsp; ] TASK [Copy configuration archive to storage]<br />[ ERROR ] fatal: [localhost]: FAILED! =&gt; {"changed": true, "cmd": ["dd", "bs=20480", "count=1", "oflag=direct", "if=/var/tmp/localvmVBRLpL/b1884198-69e6-4096-939d-03c87112de10", "of=/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"], "delta": "0:00:00.004468", "end": "2018-03-20 15:57:34.199405", "msg": "non-zero return code", "rc": 1, "start": "2018-03-20 15:57:34.194937", "stderr": "dd: impossible d'ouvrir &laquo;&nbsp;/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10&nbsp;&raquo;: Permission non accord&eacute;e", "stderr_lines": ["dd: impossible d'ouvrir &laquo;&nbsp;/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10&nbsp;&raquo;: Permission non accord&eacute;e"], "stdout": "", "stdout_lines": []}<br />[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook<br /></span></div>
<div>&nbsp;</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>&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">-rw-rw----. 1 vdsm kvm 1,0G 20 mars&nbsp;&nbsp; 2018 /rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-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&nbsp; set a shell for "vdsm", so I could login :&nbsp;</span></div>
<div>&nbsp;</div>
<div>su - vdsm -c "touch /rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10" &amp;&amp; echo "OK"<br />OK</div>
<div>&nbsp;</div>
<div>As far as I can see,still&nbsp; no permission problem</div>
<p>But if I try the same as "root" :</p>
<p>touch /rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10 &amp;&amp; echo "OK"<br />touch: impossible de faire un touch &laquo;&nbsp;/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10&nbsp;&raquo;: Permission non accord&eacute;e</p>
<p>Of course, "root" and "vdsm" 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>
<p>&nbsp;</p>
<p><br /><br /> Le 20-Mar-2018 12:22:50 +0100, stirabos@redhat.com a &eacute;crit:</p>
<div>&nbsp;</div>
<blockquote style="margin-left: 0; padding-left: 5px; border-left: 2px solid #000080;">
<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" target="_blank" rel="noreferrer noopener">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;">&nbsp;</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">Hi,<br /></span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</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>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>
<pre id="gmail-m_-4123427470926593816comment_text_8" class="gmail-m_-4123427470926593816bz_comment_text gmail-m_-4123427470926593816bz_wrap_comment_text">chmod 644 /var/cache/vdsm/schema/*</pre>
</div>
<div>&nbsp;</div>
<p>As the only thing looking like a weird error I have found was :</p>
<div>&nbsp;</div>
<div>&nbsp;</div>
<p>ERROR Exception raised#012Traceback (most recent call last):#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012&nbsp;&nbsp;&nbsp; serve_clients(log)#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 103, in serve_clients#012&nbsp;&nbsp;&nbsp; cif = clientIF.getInstance(irs, log, scheduler)#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 250, in getInstance#012&nbsp;&nbsp;&nbsp; cls._instance = clientIF(irs, log, scheduler)#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012&nbsp;&nbsp;&nbsp; self._prepareJSONRPCServer()#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in _prepareJSONRPCServer#012&nbsp;&nbsp;&nbsp; bridge = Bridge.DynamicBridge()#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012&nbsp;&nbsp;&nbsp; self._schema = vdsmapi.Schema(paths, api_strict_mode)#012&nbsp; File "/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in __init__#012&nbsp;&nbsp;&nbsp; raise SchemaNotFound("Unable to find API schema file")#012SchemaNotFound: Unable to find API schema file</p>
</blockquote>
<div>&nbsp;</div>
<div>Thanks, it's tracked here:</div>
<div><a href="https://bugzilla.redhat.com/1552565" target="_blank" rel="noreferrer noopener">https://bugzilla.redhat.com/1552565</a></div>
<div>&nbsp;</div>
<div>A fix will come in the next build.</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px .8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>&nbsp;</div>
<div>&nbsp;</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't indeed touch or get informations even logged in root. But I can create and delete files in the same directory.</div>
<div>&nbsp;</div>
<div>Is there a workaround for this too ?</div>
</blockquote>
<div>&nbsp;</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>&nbsp;</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px .8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>&nbsp;</div>
<div>Regards</div>
<p><br /><br /> Le 19-Mar-2018 17:48:41 +0100, <a href="mailto:stirabos@redhat.com" target="_blank" rel="noreferrer noopener">stirabos@redhat.com</a> a &eacute;crit:</p>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</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="gmail-">On Mon, Mar 19, 2018 at 4:56 PM, <span dir="ltr">&lt;<a href="mailto:spfma.tech@e.mail.fr" target="_blank" rel="noreferrer noopener">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>&nbsp;</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>&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">So the server was not reinstalled, I just runned "ovirt-hosted-engine-cleanup". The network setup generated by vdsm seems to be still in place, so I haven't changed anything there.</span></div>
<div>&nbsp;</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 "ovirt-hosted-engine-setup".</span></div>
<div>&nbsp;</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 "<span class="gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Wait for the host to be up]</span>"</span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"><span class="gmail-"><span class="gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ ERROR ] fatal: [localhost]: FAILED! =&gt; {"ansible_facts": {"ovirt_hosts": [{"address": "pfm-srv-virt-1.pfm-ad.pfm.loc", "affinity_labels": [], "auto_numa_status": "unknown", "certificate": {"organization": "pfm.loc", "subject": "O=pfm.loc,CN=pfm-srv-virt-1.pfm-ad.pfm.loc"}, "cluster": {"href": "/ovirt-engine/api/clusters/d6c9358e-2b8b-11e8-bc86-00163e152701", "id": "d6c9358e-2b8b-11e8-bc86-00163e152701"}, "comment": "", "cpu": {"speed": 0.0, "topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], "external_network_provider_configurations": [], "external_status": "ok", "hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": "/ovirt-engine/api/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id": "542566c4-fc85-4398-9402-10c8adaa9554", "katello_errata": [], "kdump_status": "unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, "name": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics": [], "numa_nodes": [], "numa_supported": false, "os": {"custom_kernel_cmdline": ""}, "permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": "stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": {"fingerprint": "SHA256:J75BVLFnmGBGFosXzaxCRnuIYcOc75HUBQZ4pOKpDg8", "port": 22}, "statistics": [], "status": "non_responsive", "storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], "transparent_huge_pages": {"enabled": false}, "type": "rhel", "unmanaged_networks": [], "update_available": false}]}, "attempts": 120, "changed": false}<br /></span><span class="gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Remove local vm dir]<br /></span><span class="gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Notify the user about a failure]<br /></span></span><span class="gmail-m_-4123427470926593816gmail-m_-3726384503116450878ansible-output-line">[ ERROR ] fatal: [localhost]: FAILED! =&gt; {"changed": false, "msg": "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"}</span></span></div>
<div>&nbsp;</div>
<div>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div>I suppose that your host was condifured with DHCP, if so it's this one:</div>
<div><a href="https://bugzilla.redhat.com/1549642" target="_blank" rel="noreferrer noopener">https://bugzilla.redhat.com/1549642</a></div>
<div>&nbsp;</div>
<div>The fix will come with 4.2.2.</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px .8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">Regards</span></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<br /><hr />FreeMail powered by <a href="https://mail.fr" target="_blank" rel="noreferrer noopener">mail.fr</a> <br /><span class="gmail-">_______________________________________________<br /> Users mailing list<br /><a href="mailto:Users@ovirt.org" target="_blank" rel="noreferrer noopener">Users@ovirt.org</a><br /><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank" rel="noreferrer noopener">http://lists.ovirt.org/mailman/listinfo/users</a><br /><br /></span></blockquote>
</div>
</div>
</div>
</blockquote>
<div class="gmail-HOEnZb">
<div class="gmail-h5"><br /><hr />FreeMail powered by <a href="https://mail.fr" target="_blank" rel="noreferrer noopener">mail.fr</a></div>
</div>
<br />_______________________________________________<br /> Users mailing list<br /><a href="mailto:Users@ovirt.org" target="_blank" rel="noreferrer noopener">Users@ovirt.org</a><br /><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank" rel="noreferrer noopener">http://lists.ovirt.org/mailman/listinfo/users</a><br /><br /></blockquote>
</div>
</div>
</div>
</blockquote>
<br /><hr />FreeMail powered by <a href="https://mail.fr" target="_blank" rel="noreferrer noopener">mail.fr</a></blockquote>
                    <br/><hr>FreeMail powered by <a href="https://mail.fr" target="_blank">mail.fr</a>