Created attachment 1108874 [details] Screenshot 1 Description of problem: Since oVirt 3.6.1 the hosted-engine storage domain is visible in the engine but it's still not active due to another bug. As I select it in the webadmin portal, I start getting Uncaught JS exception (see screenshot 1). Than I got an execption every a few seconds (see screenshot 2). From the browser console the exception is: Wed Dec 23 10:05:15 GMT+100 2015 SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: Cannot read property 'k' of null at Unknown.twq(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@688) at Unknown.lNn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@49) at Unknown.oNn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@438) at Unknown.fRn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@40) at Unknown.iRn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25647) at Unknown.NPn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@25) at Unknown.QPn(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@23872) at Unknown.cIe(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@18964) at Unknown.nwk(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@8016) at Unknown.L3(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@137) at Unknown.c4(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@6679) at Unknown.<anonymous>(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@65) at Unknown._t(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@29) at Unknown.du(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@57) at Unknown.<anonymous>(https://192.168.1.207/ovirt-engine/webadmin/407923C7C0980987EE42F541B756E846.cache.html@54) Prior events: I deployed hosted-engine from 3.6.0 and I upgraded it to 3.6.1. As for this one: https://bugzilla.redhat.com/show_bug.cgi?id=1290518 hosted-engine storage domain is here but it's not active. As for this one: https://bugzilla.redhat.com/show_bug.cgi?id=1293338 ovirt-engine-extension-aaa-jdbc requires another run of engine-setup but as for this one: https://bugzilla.redhat.com/show_bug.cgi?id=1293689 some leftovers were in business_entity_snapshot table and I had to manually cleanup before being able to execute engine-setup again. Version-Release number of selected component (if applicable): ovirt-engine.noarch 3.6.1.3-1.el7.centos @ovirt-3.6 How reproducible: Not sure, it has been reported also by another user on the user mailing list. Steps to Reproduce: 1. deploy hosted-engine from 3.6.0 on NFS 2. upgrade to 3.6.1 Actual results: The NFS hosted-engine storage domain is in the engine but it's not active. When I select it I got an uncaught JS exception from the webadmin portal. Expected results: I can successfully select the hosted-engine storage domain. Additional info:
Created attachment 1108875 [details] Screenshot 2
I confirm what detailed by Simone. If it can be of any help I also updated the originale 3.6.0 system from CentOS 7.1 to CentOS 7.2, after updating engne to 3.6.1. I don't know if in Simone's tests the base system has been left in 7.1 or not.
Its a side effect of the Bug 1290518 In the bug above the domain is inserted but the StorageServerConnection details from the DB are missing. So the storage domain object is not complete and there is a an NPE that the GWT raises.
(In reply to Gianluca Cecchi from comment #2) > I confirm what detailed by Simone. > If it can be of any help I also updated the originale 3.6.0 system from > CentOS 7.1 to CentOS 7.2, after updating engne to 3.6.1. > I don't know if in Simone's tests the base system has been left in 7.1 or > not. So you can't activate your hosted engine domain at that point?
So you can't activate your hosted engine domain at that point?
Roy, I cannot.
(In reply to Roy Golan from comment #3) > Its a side effect of the Bug 1290518 > based on that, marking as 'sla' (maybe make sense to close on duplicate, not sure). please contact awels if you need assistance specifically with javascript-exception investigation.
I had this same issue upgrading from 3.5.x to 3.6.1. "hosted_storage" was there, but not active. Clicking the hosted_storage domain on the Storage tab came up with the JS exception, plus the "path:" field was absent from the General pane. I was able to resolve by detaching "hosted_storage", then using "Attach Data" on the Data Centers tab to add it again.
*** This bug has been marked as a duplicate of bug 1290518 ***