Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 883892

Summary: [rhevm-reports] Webadmin Dashboard - Dashboards are not loaded when Dashboard tab stops responding
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-reportsAssignee: Alexey Chub <achub>
Status: CLOSED INSUFFICIENT_DATA QA Contact: David Botzer <dbotzer>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, dyasny, iheim, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-02 12:06:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dashboardTAB none

Description David Botzer 2012-12-05 14:14:53 UTC
Created attachment 658223 [details]
dashboardTAB

Description of problem:
No specific scenario, The Dashboard tab is not responding, though the link is shown in the status bar (lower part of the browser)

No dashboard is loaded
-----
1. When leaving the Webadmin connected for long time (30min) than pressing the Dash. Tab)

2. Creating a setup - DC,Cluster, Hosts, VMs and finally pressing Dash. Tab)
-----

Version-Release number of selected component (if applicable):
3.1/si24.5

How reproducible:
always

Steps to Reproduce:
1.Install rhevm+reports+Dwh
2.open Webadmin
3.Press the Dashboard Tab
  
Actual results:
No Dashboard is loaded

Expected results:
Should load the requested Dashboard

Additional info:
Need to close browser and reopen it,
- Refresh doesnt solve this issue

Exception while dispatching incoming RPC call: java.lang.SecurityException: Blocked request without GWT permutation header (XSRF attack?)


From fireBug
---------------
Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
Use of attributes' nodeName attribute is deprecated. Use name instead.
Use of attributes' nodeValue attribute is deprecated. Use value instead.
--------------
"NetworkError: 500 Internal Server Error - https://10.35.64.150:4433/webadmin/webadmin/GenericApiGWTService"
Generi...Service
---------------------------------
The call failed on the server; see server log for details

======================================================
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin]] (ajp-/127.0.0.1:8702-3) Exception while dispatching incoming RPC call: java.lang.SecurityException: Blocked request without GWT permutation header (XSRF attack?)
        at com.google.gwt.rpc.server.RpcServlet.getClientOracle(RpcServlet.java:90) [gwt-servlet-2.3.0.jar:]
        at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:194) [gwt-servlet-2.3.0.jar:]
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.3.0.jar:]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec.jar:1.0.1.Final-redhat-2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec.jar:1.0.1.Final-redhat-2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb.jar:]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb.jar:]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb.jar:]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb.jar:]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb.jar:]
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web.jar:7.1.3.Final-redhat-3]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb.jar:]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb.jar:]
        at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466) [jbossweb.jar:]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb.jar:]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb.jar:]
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb.jar:]
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:453) [jbossweb.jar:]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb.jar:]
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]

Comment 1 David Botzer 2012-12-05 14:29:09 UTC
Connection	close
Content-Length	1018
Content-Type	application/json;charset=UTF-8
Date	Wed, 05 Dec 2012 14:15:00 GMT
Request Headers
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding	gzip, deflate
Accept-Language	en-us,en;q=0.5
Connection	keep-alive
Content-Length	247
Content-Type	text/x-gwt-rpc; charset=utf-8
Cookie	JSESSIONID=Jp0lLj0n5uI85PK9BT8l3Md1
Host	ip.ip.ip.ip:4433
Referer	https:/ip.ip.ip.ip:4433/webadmin/webadmin/WebAdmin.html
User-Agent	Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20120714 Firefox/10.0.6
X-GWT-Module-Base	https://10.35.64.150:4433/webadmin/webadmin/
X-GWT-Permutation	D21747F094B6D36FE9E682A25F1A1ED8

Comment 2 David Botzer 2012-12-17 12:57:16 UTC
2012-12-17 14:56:08,833 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-59) XML RPC error in command GetCapabilitiesVDS ( HostName = magenta-vds4.qa.lab.tlv.redhat.com ), the error was: java.util.concurrent.TimeoutException, TimeoutException:

Comment 3 David Botzer 2012-12-17 12:58:49 UTC
3.1/si25
Google Chrome gives the following error:

This webpage is not available
The webpage at https://x.x.x.x/rhevm-reports/flow.html?viewAsDashboardFrame=true might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.

Comment 4 David Botzer 2012-12-17 13:02:36 UTC
(In reply to comment #2)
> 2012-12-17 14:56:08,833 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
> (QuartzScheduler_Worker-59) XML RPC error in command GetCapabilitiesVDS (
> HostName = magenta-vds4.qa.lab.tlv.redhat.com ), the error was:
> java.util.concurrent.TimeoutException, TimeoutException:

Disregard

Comment 5 David Botzer 2012-12-17 13:04:07 UTC
The bug was opened on Firefox 10.0.6
While I saw the error on the chrome browser (22.0.1229.8)
I had the same issue with firefox without any error mnessage or log.

Comment 6 Barak 2013-01-01 16:16:58 UTC
is it 100% reproducible ?

Did you verify your session (webadmin) is still active ?

Comment 7 David Botzer 2013-01-02 09:06:42 UTC
It is happening (% reproduicable), but no clear scenario
The session is active, as I can do everything via webadmin
rhevm actions & open reports portal as well,
except from getting dashboard,

Has anyone else reported this ?

Comment 8 Barak 2013-01-02 12:06:37 UTC
We can't reproduce the above scenario so until reproduce scenario is given I'm moving this BZ to CLOSE INSUFFICIENT_DATA