Bug 1853894 - Dashboard is broken and not visible on latest rhvm-4.4.1.7-0.3.el8ev.noarch
Summary: Dashboard is broken and not visible on latest rhvm-4.4.1.7-0.3.el8ev.noarch
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: ovirt-engine-ui-extensions
Version: 4.4.1.7
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ovirt-4.4.1
: ---
Assignee: Sharon Gratch
QA Contact: Michael Burman
URL:
Whiteboard:
: 1854418 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-05 10:17 UTC by Michael Burman
Modified: 2020-08-05 06:24 UTC (History)
4 users (show)

Fixed In Version: rhv-4.1.1-11
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-05 06:24:45 UTC
oVirt Team: UX
Embargoed:
sbonazzo: ovirt-4.4?
mavital: blocker?
sbonazzo: planning_ack?
sgratch: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 110125 0 master MERGED packaging: spec: update requirements 2020-12-13 13:27:59 UTC
oVirt gerrit 110135 0 master MERGED Update jquery to 3.5.1 due to HeatMap tooltip break 2020-12-13 13:27:59 UTC

Description Michael Burman 2020-07-05 10:17:05 UTC
Description of problem:
Dashboard is broken and not visible on latest rhvm-4.4.1.7-0.3.el8ev.noarch

After updating the engine to latest rhvm-4.4.1.7-0.3.el8ev.noarch the dashboard is empty and missing all environment information. 
This is a new and fresh regression and should be fixed before GA.

Version-Release number of selected component (if applicable):
rhvm-4.4.1.7-0.3.el8ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Update or install to latest rhvm-4.4.1.7-0.3.el8ev.noarch
2. Login to thew webadmin and press the dashboard view button.

Actual results:
dashboard is empty

Expected results:
dashboard should work as expected.

Additional info:
This issue is seen on all environments, with grafana installed and without.

Comment 2 Sandro Bonazzola 2020-07-06 07:57:32 UTC
Can you please also share version of ovirt-engine-dwh and ovirt-engine-ui-extensions ?

Comment 3 Sandro Bonazzola 2020-07-06 07:59:34 UTC
I see in log files:
2020-07-05 13:04:31,360+03 ERROR [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-8) [] The property "ENGINE_GRAFANA_FQDN" doesn't have a value.
2020-07-05 13:04:31,360+03 WARN  [org.ovirt.engine.core.branding.BrandingManager] (default task-8) [] Unable to load Grafana access engine conf file: java.lang.IllegalArgumentException: The property "ENGINE_GRAF
ANA_FQDN" doesn't have a value.

can you also share engine-setup logs?

Comment 5 Michael Burman 2020-07-06 08:18:24 UTC
Also as i wrote in the description, this bug seen on env with grafana installed and on env without grafana installed.

Comment 6 Sandro Bonazzola 2020-07-06 08:20:01 UTC
(In reply to Sandro Bonazzola from comment #2)
> Can you please also share version of ovirt-engine-dwh and
> ovirt-engine-ui-extensions ?

ovirt-engine-dwh-4.4.1-1.el8ev.noarch
ovirt-engine-ui-extensions-1.2.1-1.el8ev.noarch

Comment 7 Shirly Radco 2020-07-06 08:22:19 UTC
Please use the latest ovirt-engine-dwh-4.4.1.2-1.el8ev.noarch

Comment 9 Sandro Bonazzola 2020-07-06 08:40:29 UTC
I tried upgrading dwh and running again engine-setup but the issue has not been solved.
Engine has been configured without Grafana:
./ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf:OVESETUP_GRAFANA_CORE/enable=bool:False
./ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf:OVESETUP_GRAFANA_CORE/grafanaDbCreatedByUs=none:None

So the FQDN has not been set.

Engine is not happy about it:

2020-07-06 11:27:10,155+03 ERROR [org.ovirt.engine.core.uutils.config.ShellLikeConfd] (default task-1) [] The property "ENGINE_GRAFANA_FQDN" doesn't have a value.
2020-07-06 11:27:10,156+03 WARN  [org.ovirt.engine.core.branding.BrandingManager] (default task-1) [] Unable to load Grafana access engine conf file: java.lang.IllegalArgumentException: The property "ENGINE_GRAFANA_FQDN" doesn't have a value.
        at org.ovirt.engine.core.uutils//org.ovirt.engine.core.uutils.config.ShellLikeConfd.getProperty(ShellLikeConfd.java:297)
        at org.ovirt.engine.core.uutils//org.ovirt.engine.core.uutils.config.ShellLikeConfd.getProperty(ShellLikeConfd.java:315)
        at org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.EngineLocalConfig.getEngineGrafanaFqdn(EngineLocalConfig.java:275)
        at deployment.engine.ear.welcome.war//org.ovirt.engine.core.branding.BrandingManager.getEngineGrafanaAccessUrl(BrandingManager.java:359)
        at deployment.engine.ear.welcome.war//org.ovirt.engine.core.branding.BrandingManager.getWelcomeSections(BrandingManager.java:290)
        at deployment.engine.ear.welcome.war//org.ovirt.engine.core.WelcomeServlet.doGet(WelcomeServlet.java:147)
        at javax.servlet.api.0.Final-redhat-00001//javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
        at javax.servlet.api.0.Final-redhat-00001//javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
        at org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.servlet.CachingFilter.doFilter(CachingFilter.java:133)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at deployment.engine.ear.welcome.war//org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.30.SP3-redhat-00001//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65)

and so on.

Comment 11 Sandro Bonazzola 2020-07-06 08:44:14 UTC
Despite the setup doesn't seem to be the cause of the issue, I pushed an updated to ovirt-engine spec file requiring newest dwh setup.
Now moving to engine backend for further investigation.

Comment 12 Sandro Bonazzola 2020-07-06 09:11:19 UTC
looks like an issue with latest ovirt-engine-ui-extensions regarding the dashboard component, since I can see the following exceptions in console log:

DataProvider.js:35  error  DataProvider failed to fetch data TypeError: r.hasOwnProperty is not a function
    at l.HIsd.l.getOptions (VM120 vendor.f3b0af47.chunk.js:69)
    at l.HIsd.l.init (VM120 vendor.f3b0af47.chunk.js:69)
    at new l (VM120 vendor.f3b0af47.chunk.js:69)
    at SVGRectElement.<anonymous> (VM120 vendor.f3b0af47.chunk.js:69)
    at Function.each (VM120 vendor.f3b0af47.chunk.js:58)
    at EVdn.E.fn.init.each (VM120 vendor.f3b0af47.chunk.js:58)
    at EVdn.E.fn.init.HIsd.e.fn.tooltip (VM120 vendor.f3b0af47.chunk.js:69)
    at lt._generateHeatMap (VM121 dashboard.cf9dc108.chunk.js:2)
    at lt.componentDidMount (VM121 dashboard.cf9dc108.chunk.js:2)
    at Mi (VM120 vendor.f3b0af47.chunk.js:127)
props.fetchData.then.catch.e @ DataProvider.js:35
Promise.catch (async)
fetchAndUpdateData @ DataProvider.js:34
componentDidMount @ DataProvider.js:17
Mi @ react-dom.production.min.js:216
Fi @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
_u @ react-dom.production.min.js:250
Cu @ react-dom.production.min.js:249
wu @ react-dom.production.min.js:248
gu @ react-dom.production.min.js:245
Vi @ react-dom.production.min.js:243
ku @ react-dom.production.min.js:253
Pu @ react-dom.production.min.js:253
Fu.render @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:264
Su @ react-dom.production.min.js:251
Lu @ react-dom.production.min.js:264
render @ react-dom.production.min.js:266
QoKi.u.a.run.then @ dashboard.js:53
Promise.then (async)
QoKi @ dashboard.js:36
u @ dashboard.html:16
1 @ dashboard.cf9dc108.chunk.js:2
u @ dashboard.html:16
n @ dashboard.html:16
r @ dashboard.html:16
(anonymous) @ dashboard.cf9dc108.chunk.js:2
3HeightMatching.js:41 Uncaught TypeError: Cannot read property 'querySelectorAll' of null
    at e.forEach.e (VM121 dashboard.cf9dc108.chunk.js:2)
    at Array.forEach (<anonymous>)
    at R._matchHeights (VM121 dashboard.cf9dc108.chunk.js:2)
    at setTimeout (VM121 dashboard.cf9dc108.chunk.js:2)
e.forEach.e @ HeightMatching.js:41
_matchHeights @ HeightMatching.js:40
setTimeout @ HeightMatching.js:23
setTimeout (async)
componentDidMount @ HeightMatching.js:23
Mi @ react-dom.production.min.js:216
Fi @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
_u @ react-dom.production.min.js:250
Cu @ react-dom.production.min.js:249
wu @ react-dom.production.min.js:248
gu @ react-dom.production.min.js:245
Vi @ react-dom.production.min.js:243
enqueueSetState @ react-dom.production.min.js:130
w.setState @ react.production.min.js:13
onFetchSuccess @ DataProvider.js:48
props.fetchData.then.e @ DataProvider.js:32
Promise.then (async)
fetchAndUpdateData @ DataProvider.js:31
componentDidMount @ DataProvider.js:17
Mi @ react-dom.production.min.js:216
Fi @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
_u @ react-dom.production.min.js:250
Cu @ react-dom.production.min.js:249
wu @ react-dom.production.min.js:248
gu @ react-dom.production.min.js:245
Vi @ react-dom.production.min.js:243
ku @ react-dom.production.min.js:253
Pu @ react-dom.production.min.js:253
Fu.render @ react-dom.production.min.js:261
(anonymous) @ react-dom.production.min.js:264
Su @ react-dom.production.min.js:251
Lu @ react-dom.production.min.js:264
render @ react-dom.production.min.js:266
QoKi.u.a.run.then @ dashboard.js:53
Promise.then (async)
QoKi @ dashboard.js:36
u @ dashboard.html:16
1 @ dashboard.cf9dc108.chunk.js:2
u @ dashboard.html:16
n @ dashboard.html:16
r @ dashboard.html:16
(anonymous) @ dashboard.cf9dc108.chunk.js:2

Comment 15 Beni Pelled 2020-07-08 06:45:26 UTC
*** Bug 1854418 has been marked as a duplicate of this bug. ***

Comment 16 Michael Burman 2020-07-09 10:44:11 UTC
Dashboard is working now. 

Verified on - rhvm-4.4.1.8-0.7.el8ev.noarch with
ovirt-engine-dwh-4.4.1.2-1.el8ev.noarch
ovirt-engine-ui-extensions-1.2.2-1.el8ev.noarch

Comment 17 Sandro Bonazzola 2020-08-05 06:24:45 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.