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