<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> </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! => {"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 « /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 »: Permission non accordée", "stderr_lines": ["dd: impossible d'ouvrir « /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 »: Permission non accordée"], "stdout": "", "stdout_lines": []}<br />[ ERROR ] Failed to execute stage 'Closing up': 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.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 set a shell for "vdsm", so I could login : </span></div>
<div> </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" && echo "OK"<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 "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 && echo "OK"<br />touch: impossible de faire un 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 »: Permission non accordé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> </p>
<p><br /><br /> Le 20-Mar-2018 12:22:50 +0100, stirabos@redhat.com 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"><<a href="mailto:spfma.tech@e.mail.fr" target="_blank" rel="noreferrer noopener">spfma.tech@e.mail.fr</a>></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="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> </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 "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012 serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 103, in serve_clients#012 cif = clientIF.getInstance(irs, log, scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 250, in getInstance#012 cls._instance = clientIF(irs, log, scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 self._prepareJSONRPCServer()#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in _prepareJSONRPCServer#012 bridge = Bridge.DynamicBridge()#012 File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012 self._schema = vdsmapi.Schema(paths, api_strict_mode)#012 File "/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in __init__#012 raise SchemaNotFound("Unable to find API schema file")#012SchemaNotFound: Unable to find API schema file</p>
</blockquote>
<div> </div>
<div>Thanks, it's tracked here:</div>
<div><a href="https://bugzilla.redhat.com/1552565" target="_blank">https://bugzilla.redhat.com/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'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" target="_blank" rel="noreferrer noopener">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="gmail-">On Mon, Mar 19, 2018 at 4:56 PM, <span dir="ltr"><<a href="mailto:spfma.tech@e.mail.fr" target="_blank" rel="noreferrer noopener">spfma.tech@e.mail.fr</a>></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 "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> </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> </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> </div>
<div> </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! => {"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! => {"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> </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'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> </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" 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">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">mail.fr</a>