<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 23, 2015 at 5:13 AM, Einav Cohen <span dir="ltr">&lt;<a href="mailto:ecohen@redhat.com" target="_blank">ecohen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Simon/Gianluca[/all],<br>
<br>
Many thanks for reporting the issues that you have encountered.<br>
<br>
In order to better track them, please file a BZ for each scenario<br>
in which you encounter such an alert in the UI.<br>
<br></blockquote><div><br></div><div>Thanks, done:</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1293853">https://bugzilla.redhat.com/show_bug.cgi?id=1293853</a><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
For each such BZ, please include:<br>
<br>
- Exact oVirt version in which the alert has appeared.<br>
<br>
- Steps to reproduce (that lead to the displayed alert).<br>
<br>
- The full exception stack-trace from the client side (javascript)<br>
log [like the one that Simone has provided in his last response<br>
[1] / like the one that appears in the screen-shot provided by<br>
Gianluca [2]] - please provide the actual text though, rather<br>
than a screen-shot of the text, as it will ease the problem-<br>
tracing process for us.<br>
<br>
- If relevant: server side engine.log.<br>
<br>
----<br>
Regards,<br>
Einav<br>
<br>
[1] ...<br>
<span class="">Tue Dec 22 23:25:46 GMT+100 2015<br>
SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError)<br>
 __gwt$exception: &lt;skipped&gt;: Cannot read property &#39;k&#39; of null<br>
        at Unknown.twq(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688</a>)<br>
        at Unknown.lNn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49</a>)<br>
        at Unknown.oNn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438</a>)<br>
        at Unknown.fRn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40</a>)<br>
        at Unknown.iRn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647</a>)<br>
        at Unknown.NPn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25</a>)<br>
        at Unknown.QPn(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872</a>)<br>
        at Unknown.cIe(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964</a>)<br>
        at Unknown.nwk(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016</a>)<br>
        at Unknown.L3(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137</a>)<br>
        at Unknown.c4(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679</a>)<br>
        at Unknown.&lt;anonymous&gt;(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65</a>)<br>
        at Unknown._t(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29</a>)<br>
        at Unknown.du(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57</a>)<br>
        at Unknown.&lt;anonymous&gt;(<a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54</a>)<br>
</span>...<br>
<br>
[2] <a href="https://drive.google.com/file/d/0BwoPbcrMv8mvclA3dmdMaG5QMjg/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/d/0BwoPbcrMv8mvclA3dmdMaG5QMjg/view?usp=sharing</a><br>
<div class=""><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Simone Tiraboschi&quot; &lt;<a href="mailto:stirabos@redhat.com">stirabos@redhat.com</a>&gt;<br>
&gt; To: &quot;Alexander Wels&quot; &lt;<a href="mailto:awels@redhat.com">awels@redhat.com</a>&gt;<br>
&gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
&gt; Sent: Tuesday, December 22, 2015 5:27:31 PM<br>
&gt; Subject: Re: [ovirt-users] uncaught exception with engine vm in 3.6.1 selecting hosted_storage<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Dec 22, 2015 at 8:23 PM, Alexander Wels &lt; <a href="mailto:awels@redhat.com">awels@redhat.com</a> &gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tuesday, December 22, 2015 03:17:40 PM Gianluca Cecchi wrote:<br>
&gt; &gt; On Tue, Dec 22, 2015 at 2:54 PM, Alexander Wels &lt; <a href="mailto:awels@redhat.com">awels@redhat.com</a> &gt; wrote:<br>
&gt; &gt; &gt; If you can provide us with the obfuscated stack trace, we can point to<br>
&gt; &gt; &gt; you<br>
&gt; &gt; &gt; what to look for in the mapping file.<br>
&gt; &gt;<br>
&gt; &gt; Hello,<br>
&gt; &gt; I&#39;m going to try.<br>
&gt; &gt; In the mean time, do you think it could be related somehow with what below?<br>
&gt; &gt;<br>
&gt;<br>
&gt; I don&#39;t think so, I think something went wrong on the backend which caused<br>
&gt; some empty object or null object to be returned, which caused the UI to blow<br>
&gt; up. Using the stack trace we can figure out what part of the UI blew up and<br>
&gt; maybe from that figure out what went wrong on the backend.<br>
&gt;<br>
&gt;<br>
&gt; It happens also here:<br>
&gt;<br>
&gt; Tue Dec 22 23:25:46 GMT+100 2015<br>
&gt; SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException:<br>
&gt; (TypeError)<br>
&gt; __gwt$exception: &lt;skipped&gt;: Cannot read property &#39;k&#39; of null<br>
&gt; at Unknown.twq(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688</a><br>
&gt; )<br>
&gt; at Unknown.lNn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49</a><br>
&gt; )<br>
&gt; at Unknown.oNn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438</a><br>
&gt; )<br>
&gt; at Unknown.fRn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40</a><br>
&gt; )<br>
&gt; at Unknown.iRn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647</a><br>
&gt; )<br>
&gt; at Unknown.NPn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25</a><br>
&gt; )<br>
&gt; at Unknown.QPn(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872</a><br>
&gt; )<br>
&gt; at Unknown.cIe(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964</a><br>
&gt; )<br>
&gt; at Unknown.nwk(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016</a><br>
&gt; )<br>
&gt; at Unknown.L3(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137</a><br>
&gt; )<br>
&gt; at Unknown.c4(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679</a><br>
&gt; )<br>
&gt; at Unknown.&lt;anonymous&gt;(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65</a><br>
&gt; )<br>
&gt; at Unknown._t(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29</a><br>
&gt; )<br>
&gt; at Unknown.du(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57</a><br>
&gt; )<br>
&gt; at Unknown.&lt;anonymous&gt;(<br>
&gt; <a href="https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54" rel="noreferrer" target="_blank">https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54</a><br>
&gt; )<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; After engine upgrade to 3.6.1 from 3.6.0 I updated via yum the package<br>
&gt; &gt; ovirt-engine-extension-aaa-jdbc, without running its own update phase (in<br>
&gt; &gt; practice another engine-setup as I only have internal profile)<br>
&gt; &gt; And this caused problems with the internal profile.<br>
&gt; &gt; See also<br>
&gt; &gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1293338" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1293338</a><br>
&gt; &gt;<br>
&gt; &gt; So I reverted the package to its previous version.<br>
&gt; &gt; I&#39;m now testing upgrade internal profile passing from<br>
&gt; &gt; ---&gt; Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.1-1.el7 will be<br>
&gt; &gt; updated<br>
&gt; &gt;<br>
&gt; &gt; to<br>
&gt; &gt; ---&gt; Package ovirt-engine-extension-aaa-jdbc.noarch 0:1.0.4-1.el7 will be<br>
&gt; &gt; an update<br>
&gt; &gt;<br>
&gt; &gt; and following<br>
&gt; &gt; /usr/share/doc/ovirt-engine-extension-aaa-jdbc-1.0.4/README.admin<br>
&gt; &gt;<br>
&gt; &gt; So I put env in global maintenance, stopped engine and then run<br>
&gt; &gt; engine-setup<br>
&gt; &gt;<br>
&gt; &gt; But it seems it remains stuck at<br>
&gt; &gt; ...<br>
&gt; &gt; Please confirm installation settings (OK, Cancel) [OK]:<br>
&gt; &gt; [ INFO ] Cleaning async tasks and compensations<br>
&gt; &gt; The following system tasks have been found running in the system:<br>
&gt; &gt; The following commands have been found running in the system:<br>
&gt; &gt; The following compensations have been found running in the system:<br>
&gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand<br>
&gt; &gt; org.ovirt.engine.core.common.businessentities.StorageDomainStatic<br>
&gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand<br>
&gt; &gt; org.ovirt.engine.core.common.businessentities.StorageDomainDynamic<br>
&gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand<br>
&gt; &gt; org.ovirt.engine.core.common.businessentities.StorageDomainDynamic<br>
&gt; &gt; Would you like to try to wait for that?<br>
&gt; &gt; (Answering &quot;no&quot; will stop the upgrade (Yes, No) Yes<br>
&gt; &gt; Waiting for the completion of 3 running tasks during the next 20<br>
&gt; &gt; seconds.<br>
&gt; &gt; Press Ctrl+C to interrupt.<br>
&gt; &gt; Waiting for the completion of 3 running tasks during the next 20<br>
&gt; &gt; seconds.<br>
&gt; &gt; Press Ctrl+C to interrupt.<br>
&gt; &gt; Waiting for the completion of 3 running tasks during the next 20<br>
&gt; &gt; seconds.<br>
&gt; &gt; Press Ctrl+C to interrupt.<br>
&gt; &gt; Waiting for the completion of 3 running tasks during the next 20<br>
&gt; &gt; seconds.<br>
&gt; &gt; Press Ctrl+C to interrupt.<br>
&gt; &gt;<br>
&gt; &gt; With &quot;Ctrl+C&quot; I interrupt engine-setup:<br>
&gt; &gt; ^C[ ERROR ] Failed to execute stage &#39;Setup validation&#39;: SIG2<br>
&gt; &gt; [ INFO ] Stage: Clean up<br>
&gt; &gt; Log file is located at<br>
&gt; &gt; /var/log/ovirt-engine/setup/ovirt-engine-setup-20151222145043-phm0eh.log<br>
&gt; &gt; [ INFO ] Generating answer file<br>
&gt; &gt; &#39;/var/lib/ovirt-engine/setup/answers/20151222145643-setup.conf&#39;<br>
&gt; &gt; [ INFO ] Stage: Pre-termination<br>
&gt; &gt; [ INFO ] Stage: Termination<br>
&gt; &gt; [ ERROR ] Execution of setup failed<br>
&gt; &gt;<br>
&gt; &gt; If I see the log and compare with the output and execute the query<br>
&gt; &gt; indicated inside the log I can effectively see inside the database:<br>
&gt; &gt; engine=# select command_type, entity_type<br>
&gt; &gt; engine-# from business_entity_snapshot<br>
&gt; &gt; engine-# ;<br>
&gt; &gt; command_type |<br>
&gt; &gt;<br>
&gt; &gt; entity_type<br>
&gt; &gt; -----------------------------------------------------------------------+----<br>
&gt; &gt; ------------------------ ----------------------------------------<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |<br>
&gt; &gt; org.ovirt.engine.core.commo<br>
&gt; &gt; n.businessentities.StorageDomainStatic<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |<br>
&gt; &gt; org.ovirt.engine.core.commo<br>
&gt; &gt; n.businessentities.StorageDomainDynamic<br>
&gt; &gt; org.ovirt.engine.core.bll.storage.AddExistingFileStorageDomainCommand |<br>
&gt; &gt; org.ovirt.engine.core.commo<br>
&gt; &gt; n.businessentities.StorageDomainDynamic<br>
&gt; &gt; (3 rows)<br>
&gt; &gt;<br>
&gt; &gt; Can this in some way influence the exception I&#39;m getting? O that perhaps it<br>
&gt; &gt; is better to first solve this problem?<br>
&gt; &gt;<br>
&gt; &gt; Let me know. I can downgrade again the ovirt-engine-extension-aaa-jdbc<br>
&gt; &gt; package and try your suggestions instead and let see after the problem with<br>
&gt; &gt; the extension.<br>
&gt; &gt;<br>
&gt; &gt; Gianluca<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
</div></div></blockquote></div><br></div></div>