Bug 1384844

Summary: Monitoring->Timelines page not rendered properly in middleware provider
Product: Red Hat CloudForms Management Engine Reporter: Sunil Kondkar <skondkar>
Component: ProvidersAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED NOTABUG QA Contact: Sunil Kondkar <skondkar>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: hkataria, jfrey, jhardy, mmahoney, obarenbo, skondkar
Target Milestone: GAKeywords: Triaged
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: hawkular
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-28 11:32:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Attachments:
Description Flags
Screenshot
none
evm.log
none
default_timeline_view
none
Timeline-event_view
none
Screenshot_Timeline_Latest_View none

Description Sunil Kondkar 2016-10-14 09:01:20 UTC
Created attachment 1210442 [details]
Screenshot

Description of problem:

Monitoring->Timelines view is not properly rendered. Labels are not displayed and the dropdowns and buttons are not aligned on the page. Its difficult for user to select the event groups and the 'Level' dropdown is not shown.

Please find the attached screenshot.

Version-Release number of selected component (if applicable):

Version 5.7.0.4-alpha1.20161005153002_cfc8a23
DR5

How reproducible:

Always

Steps to Reproduce:

1. Navigate to Middleware provider summary page
2. Click on Monitoring->Timelines
3. Observe that the timeline view is not rendered properly

Actual results:

Monitoring->Timelines view is not properly rendered. 

Expected results:

Monitoring->Timelines view is properly rendered and user should be able to select the values for event groups and levels from the dropdowns.

Additional info:

Comment 2 Sunil Kondkar 2016-10-14 09:05:50 UTC
Created attachment 1210443 [details]
evm.log

Comment 3 Sunil Kondkar 2016-10-14 09:08:32 UTC
Additional information: CFME is installed using the instructions in the quick-start guide:

https://docs.engineering.redhat.com/display/JP/CloudForms+Middleware+-+Quickstart+Guide#CloudFormsMiddleware-QuickstartGuide-CloudFormswithMiddlewareIntegrationEnabled

Comment 4 Heiko W. Rupp 2016-10-14 09:27:41 UTC
Sunil - did you actually do anything to create any events to be shown?
If there is nothing to show, then it will only show the message like what you've shown in the screenshot.

Heiko W. Rupp @pilhuhn 11:21
Anyone knows if the new timeline chart itself should show even if there are no events to be shown?
See https://bugzilla.redhat.com/show_bug.cgi?id=1384844

Dan Clarizio @dclarizio 11:23
@pilhuhn I'm pretty sure it doesn't actually show the control, just a message saying nothing available
at least from the demos I've seen

Heiko W. Rupp @pilhuhn 11:24
@dclarizio Ok, that is what the BZ reports. (it also nags about bad alignment of stuff). So I close with „works as designed“ 

Dan Clarizio @dclarizio 11:24
@pilhuhn so the screenshot in the BZ looks like working as designed
aha!
alignment of some stuff was already fixed, but not sure if it's the same "stuff"

Comment 5 Sunil Kondkar 2016-10-14 10:33:13 UTC
Created attachment 1210472 [details]
default_timeline_view

Comment 6 Sunil Kondkar 2016-10-14 10:33:51 UTC
Created attachment 1210473 [details]
Timeline-event_view

Comment 7 Sunil Kondkar 2016-10-14 10:34:50 UTC
Done some testing on middleware timelines. Added a deployment to EAP server and navigated to Middleware provider summary page->Monitoring->Timelines

Attached is 'default_timeline_view' which is shown after visiting Middleware provider summary page->Monitoring->Timelines

Then I selected 'Application' from the dropdown and selected 'Show Detailed Events' checkbox and then clicked on 'Apply' button. It shows the event for successful deployment as shown in another screenshot 'Timeline-event_view'

However, i could not see the option to select 'Summary' level as it was used previously to show events for unsuccessful deployments.

Comment 8 Harpreet Kataria 2016-10-19 18:03:56 UTC
Sunil,

On new timelines options screen "Show Detailed Events" checkbox is equivalent to "Details" in the drop down on the older timelines screen, when this checkbox is unchecked that will be equivalent to "Summary" in the drop down on the older timelines screen.
Let me know if you have further questions on timelines options.

Thanks,
~Harpreet

Comment 9 Sunil Kondkar 2016-10-21 11:47:34 UTC
Thanks Harpreet,

Thanks for the clarification on the new timelines options.  I will update the existing test cases accordingly.

On the lastest CFME version (5.7.0.6-alpha3.20161019140041_ea8e259 ) the timelines alignment looks good. Attaching the screenshot for the same.

This bug can be closed as timeline alignment looks fine and options are clarified.

Comment 10 Sunil Kondkar 2016-10-21 11:48:49 UTC
Created attachment 1212814 [details]
Screenshot_Timeline_Latest_View