Description of problem: Content of some widget disappears when changing user's Timezone Version-Release number of selected component (if applicable): Issue replicated on master branch, but I think it exists for some time How reproducible: 100% Steps to Reproduce: 1. make sure that widgets "EVM: Recently Discovered Hosts" or "Top CPU Consumers (weekly)" show some data in "Cloud Intel" -> "Dashboard" 2. change Timezone for logged-in user: "My Settings" -> "Display Settings: Time Zone" 3. go to "Cloud Intel" -> "Dashboard" Actual results: "No data found" in above widgets (screen shot attached) Expected results: widgets should have data
https://github.com/ManageIQ/manageiq/pull/18448
Created attachment 1534428 [details] No data in some widgets
*** Bug 1676583 has been marked as a duplicate of this bug. ***
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1cc4672853a91ac6a53499e52b51fed2192a3580 commit 1cc4672853a91ac6a53499e52b51fed2192a3580 Author: Yuri Rudman <yrudman> AuthorDate: Tue Feb 12 11:22:21 2019 -0500 Commit: Yuri Rudman <yrudman> CommitDate: Tue Feb 12 11:22:21 2019 -0500 issue: when user changing display Timezone than widget content for new Timezone was not generated yet and some widgets on dasgboard does not show any data since Timezone is present in condition. Fix: if contents with respect to Timezone not found than try to search for widgets content without Timezone filter. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1676584 app/models/miq_widget.rb | 26 +- 1 file changed, 14 insertions(+), 12 deletions(-)
Hi. For the verification, can I somehow create the data in a way that wouldn't require waiting several days for the widget to display the data? I tried changing time by day and by week but I didn't get anything displayed in the Top CPU consumers.
Hi. If you are asking about widget scheduler: Cloud Intel => Reports => Dashboard Widgets => All Widgets => Reports => <Selected Report> => Configuration Edit this Widget), there is "Starting Date" and "Starting Time UTC" fields which are controlling when widget will be run the very first time. Make sure you have metrics latest data if you are testing metric dependent widgets, like "Top CPU ...", "Top Memory ..."
I was unable to reproduce this for the Top CPU consumers, but it did reproduce for EVM: Recently Discovered Hosts in Version 5.10.0.33.20190129203322_85a1e4e In Version 5.11.0.11.20190625161125_392c61e this didn't reproduce -- the Discovered hots widget data survived timezone change.