Description of problem: Timelines button is clickable and redirecting to the Timelines view, even when there are no events available for an entity. Version-Release number of selected component (if applicable): cfme-5.5.0.13-1.el7cf.x86_64 How reproducible: 100% in cases when there are no events for an entity. Steps to Reproduce: 1. navigate to Pods (Containers tab > Pods) 2. choose a Pod without events data (verify in rails console/API/Openshift CLI) 3. click the Monitoring drop-down and choose Timelines Actual results: redirection to Timelines page with a message: "No events available for this timeline" Expected results: Timelines button should be disabled, as it is for replication controllers (replicators) Additional info: Entities sharing the problem: container, pods and nodes.
proposed fix: https://github.com/ManageIQ/manageiq/pull/5882
verified on atomic-openshift-node-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64 cfme-5.6.0.4-beta2.3.1.el7cf.x86_64
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/RHBA-2016:1348