[ovirt-users] Re: Administration Portal "Uncaught Exception" Issue

2019-05-29 Thread Tomasz Barański
This bug is tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1709773

Tomasz

On 19/05/27 10:27, Strahil Nikolov wrote:
>  Well, in the older versions I have similar to your issue which was resolved 
> by updating to the latest at that time version.
> Best Regards,Strahil Nikolov
> В понеделник, 27 май 2019 г., 23:31:13 ч. Гринуич+3, Zachary Winter 
>  написа:  
>  
>   
> Yes, I am planning to do so.  Is this fixed in that version?  Do you mind 
> explaining what the issue was for future reference?
>  
>  On 5/27/2019 2:03 PM, Strahil Nikolov wrote:
>   
>  
>  Are you considering updating to 4.3.7 ? 
>   Best Regards, Strahil Nikolov
>   
>   В понеделник, 27 май 2019 г., 20:51:13 ч. Гринуич+3, Zachary Winter 
>  написа:  
>   
>  
> Thank you for the log location.  With apologies, it happens "consistently" on 
> some pages but not constantly everywhere.  It generally occurs on pages that 
> are attempting to auto-update.  For instance, it happens on the dashboard 
> home page and on the Hosts page when a host is installing and then activating 
> and changing statuses on screen.
>  
> The error log records the following, which is consistent with the property 
> 'a' warning seen prior:
>  
> 
>  
>  
> 
>  
>  2019-05-27 12:36:48,008-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
> task-2) [] Permutation name:  C2713AD3F5A2D6197F7340BE88B50A14
>  2019-05-27 12:36:48,008-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
> task-2) [] Uncaught exception: 
> com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read 
> property 'a' of null
>      
> atorg.ovirt.engine.core.common.businessentities.VDS.$hasSmtDiscrepancyAlert(VDS.java:1731)
>  [common.jar:]
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.$updateAlerts(HostGeneralModel.java:1046)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.onEntityChanged(HostGeneralModel.java:912)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.EntityModel.$setEntity(EntityModel.java:35)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.$setEntity(HostGeneralModel.java:117)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.setEntity(HostGeneralModel.java:117)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.ListWithDetailsModel.$onSelectedItemChanged(ListWithDetailsModel.java:89)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.onSelectedItemChanged(HostListModel.java:1773)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:708)
>      
> atorg.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel$lambda$2$Type.run(HostListModel.java:525)
>      
> atorg.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.lambda$55(AsyncDataProvider.java:3341)
>      
> atorg.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider$lambda$55$Type.executed(AsyncDataProvider.java:3341)
>      at 
> org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:319) 
> [frontend.jar:]
>      at 
> org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:319) 
> [frontend.jar:]
>      
> atorg.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:170)
>  [frontend.jar:]
>      
> atorg.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:170)
>  [frontend.jar:]
>      
> atorg.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270)
>  [frontend.jar:]
>      
> atorg.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270)
>  [frontend.jar:]
>      
> atcom.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198)
>  [gwt-servlet.jar:]
>      
> atcom.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233)
>  [gwt-servlet.jar:]
>      
> atcom.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
>  [gwt-servlet.jar:]
>      at Unknown.eval(webadmin-0.js)
>      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.eval(webadmin-0.js)
>  
>  
> 
>  
>   On 5/27/2019 1:25 PM, Lucie Leistnerova wrote:
>   
>  
>  
> Hi Zachary,
>  
>  On 5/27/19 6:43 PM, Zachary Winter wrote:
>   
>  
>  
> I am consistently receiving error warnings in the Administration Portal the 
> read as follows:
>  
>  
>  
> "Uncaught exception occurred. Please try reloading the page. Details: 
> (TypeError) : Cannot read property 'a' of null
>
> Please have your 

[ovirt-users] Re: [4.3.0] VNC Virt-viewer console not opening

2019-02-05 Thread Tomasz Barański
On 19/02/04 04:59, Nicolas Ecarnot wrote:
> Hello,
> 
> First, congratulations to all of you who worked for this 4.3.0 release, and
> obviously thank you.
> 
> Today, I upgraded 4 oVirt setups (4 DC) from 4.2.7 to 4.3.0.
> I went well on all 4 DCs.
> 
> But on one of them, when I try to open a console, I see it open as a flash
> (it opens and closes immediately).
> 
> I'm using Firefox 64.0 with Ubuntu 18.10, and all my VMs are setup like this
> :
> - video type : QXL
> - Gfx protocol : VNC
> - VNC Kbd layout : fr
> and I'm using virt-viewer
> 
> On the problematic DC, all the VMs are showing the same issue.
> 
> When I try to use Spice instead of VNc, it is working nicely.
> When I try to use noVNC, the additional tab opens and shows "Unsupported
> security types: 19"
> 
> I tried to track down this issue thanks to the firefox dev console, but it's
> beyond my understanding.
> 
> Trying the same with Chromium does the same blinking open/close.
> 
> I'd rather learn how to provide additionnal debug messages, but
> /var/log/ovirt-engine/engine.log does not give any useful hint :
> 
> 2019-02-04 16:57:04,150+01 INFO
> [org.ovirt.engine.core.bll.SetVmTicketCommand] (default task-24) [1fb01d42]
> Running command: SetVmTicketCommand internal: false. Entities affected :
> ID: 0c3e02b3-7fec-4bb1-b3d6-2e6c228e7278 Type:
>  VMAction group CONNECT_TO_VM with role type USER
> 2019-02-04 16:57:04,155+01 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default
> task-24) [1fb01d42] START, SetVmTicketVDSCommand(HostName =
> hv01.prd.sdis38.fr, SetVmTicketVDSCommandParameters:{hostId='
> 687c1c01-a5e1-449c-89d2-9713ccfc2487',
> vmId='0c3e02b3-7fec-4bb1-b3d6-2e6c228e7278', protocol='VNC',
> ticket='IivrpGHx5zSw', validTime='120', userName='admin',
> userId='4a340386-851a-11e8-863d-3417ebeef1af', disconnectAction='NONE'}
> ), log id: 2a897f30
> 2019-02-04 16:57:04,188+01 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default
> task-24) [1fb01d42] FINISH, SetVmTicketVDSCommand, return: , log id:
> 2a897f30
> 2019-02-04 16:57:04,211+01 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-24) [1fb01d42] EVENT_ID: VM_SET_TICKET(164), User
> admin@internal-authz initiated console session for VM ad02.ct
> at.sdis38.fr
> 
> What could I give to help you help me?

The problem has been recreated and a bugzilla has been opened for it:
https://bugzilla.redhat.com/show_bug.cgi?id=1672587

It contains a workaround to use until it's fixed.

> 
> -- 
> Nicolas ECARNOT

Tomo
___
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/IZL7WFSTALUJOQVGKBNK6RCQV5CG5KFA/