<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 9:16 AM, Michael Seidel <span dir="ltr">&lt;<a href="mailto:michael.seidel@helmholtz-muenchen.de" target="_blank">michael.seidel@helmholtz-muenchen.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I found the messages at<br>
<a href="http://lists.ovirt.org/pipermail/users/2018-January/086631.html" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>pipermail/users/2018-January/<wbr>086631.html</a> in your<br>
archive and am running into a similar/identical issue when trying to<br>
install a hosted engine:<br>
<br>
After providing all of the information, the installer does create some<br>
files on the nfs share (plantfiler02:/storage/vmx/<wbr>ovirt) but eventually<br>
dies with:<br>
<br>
[ INFO  ] TASK [Copy configuration files to the right location on host]<br>
[ INFO  ] TASK [Copy configuration archive to storage]<br>
[ ERROR ]  [WARNING]: Failure using method (v2_runner_on_failed) in<br>
callback plugin<br>
[ ERROR ] (&lt;ansible.plugins.callback.1_<wbr>otopi_json.CallbackModule object<br>
at 0x25c86d0&gt;):<br>
[ ERROR ] &#39;ascii&#39; codec can&#39;t encode character u&#39;\u2018&#39; in position<br>
489: ordinal not in<br>
[ ERROR ] range(128)<br>
[ ERROR ] Failed to execute stage &#39;Closing up&#39;: Failed executing<br>
ansible-playbook<br>
[ INFO  ] Stage: Clean up<br>
<br>
The relevant part in the logfile I believe is the following:<br>
<br>
2018-03-09 09:05:05,762+0100 DEBUG<br>
otopi.ovirt_hosted_engine_<wbr>setup.ansible_utils<br>
ansible_utils._process_output:<wbr>94 {u&#39;_ansible_parsed&#39;: True,<br>
u&#39;stderr_lines&#39;: [u&#39;dd: failed to open<br>
\u2018/rhev/data-center/mnt/<wbr>plantfiler02:_storage_vmx_<wbr>ovirt/017fcf64-45c8-4289-87f7-<wbr>c1195f7ec584/images/f36c079b-<wbr>ba17-4c14-96a2-2b2beea7d989/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a\u2019:<br>
Permission denied&#39;], u&#39;cmd&#39;: [u&#39;dd&#39;, u&#39;bs=20480&#39;, u&#39;count=1&#39;,<br>
u&#39;oflag=direct&#39;,<br>
u&#39;if=/var/tmp/localvmf0uaFh/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a&#39;,<br>
u&#39;of=/rhev/data-center/mnt/<wbr>plantfiler02:_storage_vmx_<wbr>ovirt/017fcf64-45c8-4289-87f7-<wbr>c1195f7ec584/images/f36c079b-<wbr>ba17-4c14-96a2-2b2beea7d989/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a&#39;],<br>
u&#39;end&#39;: u&#39;2018-03-09 09:05:05.565013&#39;, u&#39;_ansible_no_log&#39;: False,<br>
u&#39;stdout&#39;: u&#39;&#39;, u&#39;changed&#39;: True, u&#39;start&#39;: u&#39;2018-03-09<br>
09:05:05.557703&#39;, u&#39;delta&#39;: u&#39;0:00:00.007310&#39;, u&#39;stderr&#39;: u&#39;dd: failed<br>
to open<br>
\u2018/rhev/data-center/mnt/<wbr>plantfiler02:_storage_vmx_<wbr>ovirt/017fcf64-45c8-4289-87f7-<wbr>c1195f7ec584/images/f36c079b-<wbr>ba17-4c14-96a2-2b2beea7d989/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a\u2019:<br>
Permission denied&#39;, u&#39;rc&#39;: 1, u&#39;invocation&#39;: {u&#39;module_args&#39;: {u&#39;warn&#39;:<br>
True, u&#39;executable&#39;: None, u&#39;_uses_shell&#39;: False, u&#39;_raw_params&#39;: u&#39;dd<br>
bs=20480 count=1 oflag=direct<br>
if=&quot;/var/tmp/localvmf0uaFh/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a&quot;<br>
of=&quot;/rhev/data-center/mnt/<wbr>plantfiler02:_storage_vmx_<wbr>ovirt/017fcf64-45c8-4289-87f7-<wbr>c1195f7ec584/images/f36c079b-<wbr>ba17-4c14-96a2-2b2beea7d989/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a&quot;&#39;,<br>
u&#39;removes&#39;: None, u&#39;creates&#39;: None, u&#39;chdir&#39;: None, u&#39;stdin&#39;: None}},<br>
u&#39;stdout_lines&#39;: [], u&#39;ms<br>
<br>
<br>
I did create vdsm user and kvm user and group on the NFS server and I<br>
succesfully ran the nfs-check.py script from the host where ovirt should<br>
be installed:<br>
<br>
# python nfs-check.py plantfiler02:/storage/vmx/<wbr>ovirt/<br>
Current hostname: hyena.******.de - IP addr 10.216.60.21<br>
Trying to /bin/mount -t nfs plantfiler02:/storage/vmx/<wbr>ovirt/...<br>
Executing NFS tests..<br>
Removing vdsmTest file..<br>
Status of tests [OK]<br>
Disconnecting from NFS Server..<br>
Done!<br>
<br>
<br>
The target directory has following permissions:<br>
<br>
drwxr-xr-x 3 vdsm      kvm  86 Mar  9 09:12 ovirt<br>
<br>
<br>
I am aware of the issue<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1533500" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1533500</a> but the underlying<br>
problem seems to be the error message issued by dd (as has been<br>
mentioned the earlier posts).<br></blockquote><div><br></div><div>It&#39;s will be solved in the next build but it&#39;s not the root cause of your issue but just a consequence.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Am I missing the obvious somewhere regarding permissions? Is there a<br>
known solution/workaround to this?<br></blockquote><div><br></div><div>Can you please check the permissions and the ownership of the files created at storage domain creation time?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best,<br>
- Michael<br>
Helmholtz Zentrum Muenchen<br>
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)<br>
Ingolstaedter Landstr. 1<br>
85764 Neuherberg<br>
<a href="http://www.helmholtz-muenchen.de" rel="noreferrer" target="_blank">www.helmholtz-muenchen.de</a><br>
Aufsichtsratsvorsitzende: MinDir&#39;in Baerbel Brumme-Bothe<br>
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen<br>
Registergericht: Amtsgericht Muenchen HRB 6466<br>
USt-IdNr: DE 129521671<br>
<br>
<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>
</blockquote></div><br></div></div>