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.
Can you please also share version of ovirt-engine-dwh and ovirt-engine-ui-extensions ?
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?
Also as i wrote in the description, this bug seen on env with grafana installed and on env without grafana installed.
(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
Please use the latest ovirt-engine-dwh-4.4.1.2-1.el8ev.noarch
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.
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.
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
*** Bug 1854418 has been marked as a duplicate of this bug. ***
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
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.