[ovirt-users] Re: Uncaught exception occurred - NS_ERROR_FILE_CORRUPTED

2018-07-26 Thread Michael Seidel
Hi,

a brief update on this. The error only occurs with Firefox version
61.0.1. Earlier versions of Firefox I tested work just fine as do other
browsers (e.g. Chromium).

Best,
- Michael

On 07/24/2018 02:33 PM, Michael Seidel wrote:
> Hi,
> 
> I am running oVirt in version 4.2 and just started getting this error
> message upon login:
> 
> Uncaught exception occurred. Please try reloading the page. Details:
> (NS_ERROR_FILE_CORRUPTED) :
> Please have your administrator check the UI logs
> 
> 
> The relevant content of the ui.log is given below (or, nicely formatted
> at https://paste.ee/p/LUrbt).
> 
> 
> I am able to access the js file directly using a browser so the file is
> definitely not missing and is readable. However, the side-bar of the
> ovirt webadmin is not showing (or more precisely: it loads and shows for
> a split-second and then disappears).
> 
> 
> The Web Console shows a similar error message as the one below,
> referring to the same js file and in addition says:
> 
> Tue Jul 24 14:28:03 GMT+200 2018
> com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor
> SEVERE: Warning: You're using an untyped slot!
> Untyped slots are dangerous! Please upgrade your slots using
> the Arcbee's easy upgrade tool at
> https://arcbees.github.io/gwtp-slot-upgrader
> 
> The github-URL however is not working.
> 
> I also upgraded and rebooted the ovirt engine, but the error remains.
> 
> 
> Do you have any suggestions what might cause this issue and how I can
> fix it.
> 
> Best,
> - Michael
> 
> 
> 
> 
> 
> 2018-07-24 14:19:24,582+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-1) [] Permutation name: 2029DD69C3B3D95611AAF9AC05D7EF9B
> 2018-07-24 14:19:24,582+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-1) [] Uncaught exception:
> com.google.gwt.core.client.JavaScriptException: (NS_ERROR_FILE_CORRUPTED) :
> at
> Unknown.loadFromLocalStorage(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
> at
> Unknown.init(https:/X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
> at
> Unknown.fn.setupVerticalNavigation(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
> at
> org.ovirt.engine.ui.webadmin.section.main.view.MainSectionView$lambda$0$Type.execute(MainSectionView.java:45)
> at
> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
> [gwt-servlet.jar:]
> at
> com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338)
> [gwt-servlet.jar:]
> at
> com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76)
> [gwt-servlet.jar:]
> at
> com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
> [gwt-servlet.jar:]
> at Unknown.Ju/<(https://X/ovirt-engine/webadmin/?locale=en_US)
> at Unknown.d(https://X/ovirt-engine/webadmin/?locale=en_US)
> at Unknown.anonymous(Unknown)
> 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
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/HRGGBKLOF4LKWTDQ63VIZC52AU4K6RNV/
> 
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

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IBEP3TOIWHHTDJY7P3RPIIPOWGBZNJD2/


[ovirt-users] Uncaught exception occurred - NS_ERROR_FILE_CORRUPTED

2018-07-24 Thread Michael Seidel
Hi,

I am running oVirt in version 4.2 and just started getting this error
message upon login:

Uncaught exception occurred. Please try reloading the page. Details:
(NS_ERROR_FILE_CORRUPTED) :
Please have your administrator check the UI logs


The relevant content of the ui.log is given below (or, nicely formatted
at https://paste.ee/p/LUrbt).


I am able to access the js file directly using a browser so the file is
definitely not missing and is readable. However, the side-bar of the
ovirt webadmin is not showing (or more precisely: it loads and shows for
a split-second and then disappears).


The Web Console shows a similar error message as the one below,
referring to the same js file and in addition says:

Tue Jul 24 14:28:03 GMT+200 2018
com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor
SEVERE: Warning: You're using an untyped slot!
Untyped slots are dangerous! Please upgrade your slots using
the Arcbee's easy upgrade tool at
https://arcbees.github.io/gwtp-slot-upgrader

The github-URL however is not working.

I also upgraded and rebooted the ovirt engine, but the error remains.


Do you have any suggestions what might cause this issue and how I can
fix it.

Best,
- Michael





2018-07-24 14:19:24,582+02 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-1) [] Permutation name: 2029DD69C3B3D95611AAF9AC05D7EF9B
2018-07-24 14:19:24,582+02 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-1) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (NS_ERROR_FILE_CORRUPTED) :
at
Unknown.loadFromLocalStorage(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
Unknown.init(https:/X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
Unknown.fn.setupVerticalNavigation(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
org.ovirt.engine.ui.webadmin.section.main.view.MainSectionView$lambda$0$Type.execute(MainSectionView.java:45)
at
com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
[gwt-servlet.jar:]
at Unknown.Ju/<(https://X/ovirt-engine/webadmin/?locale=en_US)
at Unknown.d(https://X/ovirt-engine/webadmin/?locale=en_US)
at Unknown.anonymous(Unknown)
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

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HRGGBKLOF4LKWTDQ63VIZC52AU4K6RNV/


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

2018-03-12 Thread Michael Seidel
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@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@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@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@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 kvm1048576 Mar  9 09:02
3909a6b6-2cf7-4bca-81e0-56959e8ec9b5.lease
-rw-r--r-- 1 vdsm kvm320 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.sei...@helmholtz-muenchen.de
> <mailto:michael.sei...@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 ] ( 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/...
> Exe

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

2018-03-09 Thread Michael Seidel
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 ] ():
[ 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


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users