<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"><<a href="mailto:michael.seidel@helmholtz-muenchen.de" target="_blank">michael.seidel@helmholtz-muenchen.de</a>></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 ] (<ansible.plugins.callback.1_<wbr>otopi_json.CallbackModule object<br>
at 0x25c86d0>):<br>
[ ERROR ] 'ascii' codec can't encode character u'\u2018' in position<br>
489: ordinal not in<br>
[ ERROR ] range(128)<br>
[ ERROR ] Failed to execute stage 'Closing up': 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'_ansible_parsed': True,<br>
u'stderr_lines': [u'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'], u'cmd': [u'dd', u'bs=20480', u'count=1',<br>
u'oflag=direct',<br>
u'if=/var/tmp/localvmf0uaFh/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a',<br>
u'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'],<br>
u'end': u'2018-03-09 09:05:05.565013', u'_ansible_no_log': False,<br>
u'stdout': u'', u'changed': True, u'start': u'2018-03-09<br>
09:05:05.557703', u'delta': u'0:00:00.007310', u'stderr': u'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', u'rc': 1, u'invocation': {u'module_args': {u'warn':<br>
True, u'executable': None, u'_uses_shell': False, u'_raw_params': u'dd<br>
bs=20480 count=1 oflag=direct<br>
if="/var/tmp/localvmf0uaFh/<wbr>56cd3448-4ecf-490e-99cc-<wbr>ace36b977a9a"<br>
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"',<br>
u'removes': None, u'creates': None, u'chdir': None, u'stdin': None}},<br>
u'stdout_lines': [], u'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's will be solved in the next build but it'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'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>