[ovirt-users] ovirt 4.2.1 pre hosted engine deploy failure

Michael Seidel michael.seidel at helmholtz-muenchen.de
Mon Mar 12 08:45:51 UTC 2018


Hi,

thanks for your response. I checked the permissions and ownership of the
filesm, they seem okay to me. However, the installation still fails:

[root at plantfiler02 ovirt]# ll
total 0
drwxr-xr-x 5 vdsm kvm 61 Mar  9 09:02 017fcf64-45c8-4289-87f7-c1195f7ec584
-rwxr-xr-x 1 vdsm kvm  0 Mar  9 22:07 __DIRECT_IO_TEST__

[root at plantfiler02 ovirt]# ll 017fcf64-45c8-4289-87f7-c1195f7ec584/
total 4
drwxr-xr-x 2 vdsm kvm  111 Mar  9 09:01 dom_md
drwxr-xr-x 6 vdsm kvm 4096 Mar  9 09:04 images
drwxr-xr-x 4 vdsm kvm   40 Mar  9 09:02 master

[root at plantfiler02 ovirt]# ll 017fcf64-45c8-4289-87f7-c1195f7ec584/images/
total 16
drwxr-xr-x 2 vdsm kvm 4096 Mar  9 09:02 3780dd3c-c248-4bbd-ae5d-5977780853dc
drwxr-xr-x 2 vdsm kvm 4096 Mar  9 09:04 66aadb48-31c5-49a6-a5ea-cc7a66b388eb
drwxr-xr-x 2 vdsm kvm 4096 Mar  9 09:03 e158fb00-c885-4443-9288-184045d6ab1d
drwxr-xr-x 2 vdsm kvm 4096 Mar  9 09:03 f36c079b-ba17-4c14-96a2-2b2beea7d989

[root at plantfiler02 ovirt]# ll
017fcf64-45c8-4289-87f7-c1195f7ec584/images/3780dd3c-c248-4bbd-ae5d-5977780853dc/
total 1049604
-rw-rw---- 1 vdsm kvm 1073741824 Mar  9 09:02
3909a6b6-2cf7-4bca-81e0-56959e8ec9b5
-rw-rw---- 1 vdsm kvm    1048576 Mar  9 09:02
3909a6b6-2cf7-4bca-81e0-56959e8ec9b5.lease
-rw-r--r-- 1 vdsm kvm        320 Mar  9 09:02
3909a6b6-2cf7-4bca-81e0-56959e8ec9b5.meta


Cheers,
- Michael


On 03/09/2018 07:09 PM, Simone Tiraboschi wrote:
> 
> 
> On Fri, Mar 9, 2018 at 9:16 AM, Michael Seidel
> <michael.seidel at helmholtz-muenchen.de
> <mailto:michael.seidel at helmholtz-muenchen.de>> wrote:
> 
>     Hi,
> 
>     I found the messages at
>     http://lists.ovirt.org/pipermail/users/2018-January/086631.html
>     <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
>     <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).
> 
> 
> It's will be solved in the next build but it's not the root cause of
> your issue but just a consequence.
>  
> 
> 
> 
>     Am I missing the obvious somewhere regarding permissions? Is there a
>     known solution/workaround to this?
> 
> 
> Can you please check the permissions and the ownership of the files
> created at storage domain creation time?
>  
> 
> 
>     Best,
>     - Michael
>     Helmholtz Zentrum Muenchen
>     Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
>     Ingolstaedter Landstr. 1
>     85764 Neuherberg
>     www.helmholtz-muenchen.de <http://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
> 
> 
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>     <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
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