Created attachment 1217984 [details] excerpt from event_streams Description of problem: F.e. when I deploy some instance in Amazon's EC2 Provider to CFME, I see appropriate Instance create event in event streams. If I open timelines for this instance's azone, I see "No records found for this timeline" warning message. Version-Release number of selected component (if applicable): 5.7.0.9 How reproducible: 100% Steps to Reproduce: 1. Add Amazon as a cloud provider to CFME 2. Deploy any instance and make sure event_streams table contains appropriate provider's events 3. go to this instance's Availability Zone and open Timelines for it 4. Select All Management Event's Categories and click Apply Actual results: "No records found for this timeline" message Expected results: All supported provider's events should displayed in Timelines Additional info: excerpt from event streams and appliance logs are attached
Marcel can you take a look at this one?
*** Bug 1398023 has been marked as a duplicate of this bug. ***
This issue is also present in 5.6.
Ievgen, what exactly do you mean by "Timelines are disabled for Amazon Provider and Instances." The buttons are greyed out or not present?
Marcel, the buttons aren't present.
Ievgen, can you share a screenshot? For me the buttons are present (at 5.7) - see attachment You are right that the buttons should not be present for 5.6 though, which is correct
Created attachment 1226868 [details] screenshot
Marcel, are you sure you've checked this in 5.7 ? 1) CF 4.2 documentation states opposite - https://access.redhat.com/documentation/en/red-hat-cloudforms/4.2-beta/paged/monitoring-alerts-and-reporting/chapter-6-timelines It may turn out that this is just bug in documentation but I've just checked EC2 provider and instance entities in CFME 5.7.0.13 (rc3) and see that Timelines control is absent there as well. Please take a look at two attached screenshots.
Created attachment 1227308 [details] ec2 instance timelines
Created attachment 1227309 [details] ec2 provider timelines
Ok, you are right. I've been using master and was thinking https://github.com/ManageIQ/manageiq/pull/10588 made it also into euwe, but alas no. So, back to the original description, we should disable Timelines for AvailabilityZones. Right? This is caused here https://github.com/durandom/manageiq/blob/c24e764af1848be2656393946e47563fccbb3ba1/app/helpers/application_helper/toolbar_builder.rb#L864-L864 If you still think we should disable timelines for availabilityzones, I'd move this over to the UI team again. But tbh, I'd consider this rather low prio
CFME should either provide fully working timelines for Availability Zone or shouldn't provide it at all. From my perspective, second is preferable because other Amazon entities don't have timelines.
Ok, as this BZ is slated for 5.8 aka cfme-future I think we can leave this and wait until we make the events in the db presentable for timelines. In case we want timelines to be disabled for 5.7 and 5.6 see comment #16 and we probably need a BZ for the respective z streams then
Now timelines are just a setting away. Current master adds those events https://github.com/ManageIQ/manageiq-providers-amazon/pull/93/files#diff-76a3d411ea65d630e0146f51eae5f649 Now the question is, under what category should we display them?
https://github.com/ManageIQ/manageiq-providers-amazon/pull/163
cannot verify because Timelines is completely broken since 5.8.0.4.
Blocked by: 1443529
in 5.8.0.12
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367