Hide Forgot
Created attachment 1217086 [details] deployment event in Power Activity category Description of problem: When I choose several/many/all categories in timelines for vm/provider/etc, many General Activity or Creation/Addition events appear in Powever Activity timeline and vice versa. So, the events are in mess Version-Release number of selected component (if applicable): 5.7.0.9 How reproducible: 100% Steps to Reproduce: 1. Add f.e. Infra Provider vsphere55 2. Do some activities in provider. f.e. deploy vms, stop/start them 3. Open Timelines for provider 4. Select all management categories there and set date position to centered 5. Click Apply 6. Go thru events for appeared categories and check their real categories Actual results: many events belonging to one category appear in another category. amount of events in appropriate category may change if number of selected categories is changed. see screenshot. Expected results: all the categories should display only relevant events.
The timeline javascript code is handling the data returned correctly. When I add multiple categories - I see the following added to the Power Activity section in the response json (just picked a few for example): "name": "Power Activity", "data": [ [ { "start": "Sat, 17 Sep 2016 02:10:17 +0000", "title": "vcenter6", "icon": "/images/timeline/generaluserevent.png", "image": "/assets/100/os-linux_suse-92ca71c35750f878b439c65ca69668812e765ee630d037213c445092fa9657b6.png", "description": "<b>Event Type:</b> GeneralUserEvent<br/><b>Event Source:</b> VC<br/><b>Provider:</b> <a href=/ems_infra/10r1>vCenter</a><br/><b>Message:</b> User logged event: Console Request Action [vm_reboot_guest], VM [vcenter6]<br/><b>Source Host:</b> <a href=/host/show/10r17>10.9.62.4</a><br/><b>Source VM:</b> <a href=/vm/show/10r759>vcenter6</a><br/><b>Source VM Location:</b> [datastore-esxi1] vcenter6/vcenter6.vmx<br/><b>Provider User Name:</b> VSPHERE.LOCAL\\Administrator<br/><b>Date Time:</b> 2016-09-17 02:10:17 UTC" }, { "start": "Fri, 07 Oct 2016 12:51:29 +0000", "title": "ansible", "icon": "/images/timeline/generaluserevent.png", "image": "/assets/100/os-linux_redhat-c0d4d64bf57b43a5ed8e86109dc00e2dcb4da9b77c715e5fe0cbeb4da39cbfd1.png", "description": "<b>Event Type:</b> GeneralUserEvent<br/><b>Event Source:</b> VC<br/><b>Provider:</b> <a href=/ems_infra/10r1>vCenter</a><br/><b>Message:</b> User logged event: Console Request Action [vm_create_snapshot], VM [ansible]<br/><b>Source Host:</b> <a href=/host/show/10r17>10.9.62.4</a><br/><b>Source VM:</b> <a href=/vm/show/10r753>ansible</a><br/><b>Source VM Location:</b> [Shared-NFS] rhevm_1/rhevm.vmx<br/><b>Provider User Name:</b> VSPHERE.LOCAL\\Administrator<br/><b>Date Time:</b> 2016-10-07 12:51:29 UTC" }, { "start": "Fri, 23 Sep 2016 14:07:44 +0000", "title": "win10", "icon": "/images/timeline/evm_analysis.png", "image": "/assets/100/os-windows_generic-f056e7d55986ef4f6d4aba5e50c97481657b3bb43f80425e8c2e4d383ec71d54.png", "description": "<b>Event Type:</b> GeneralUserEvent<br/><b>Event Source:</b> VC<br/><b>Provider:</b> <a href=/ems_infra/10r1>vCenter</a><br/><b>Message:</b> User logged event: EVM SmartState Analysis completed for VM [win10]<br/><b>Source Host:</b> <a href=/host/show/10r17>10.9.62.4</a><br/><b>Source VM:</b> <a href=/vm/show/10r760>win10</a><br/><b>Source VM Location:</b> [Shared-NFS] win10/win10.vmx<br/><b>Provider User Name:</b> VSPHERE.LOCAL\\Administrator<br/><b>Date Time:</b> 2016-09-23 14:07:44 UTC" },
Ivegen, Can you test this with latest build, i was not able to recreate this issue locally. This issue should have been addressed with https://github.com/ManageIQ/manageiq/pull/12518. Marking this one as dup of https://bugzilla.redhat.com/show_bug.cgi?id=1391621, in both cases events weren't being returned correctly for each category, same fix applies to both. Thanks, ~Harpreet *** This bug has been marked as a duplicate of bug 1391621 ***