Created attachment 1216113 [details] event_streams cut Description of problem: CFME receives raw (EmsEvent) events when autotests create/remove/start/stop vm in Azure. However many such events are absent in timelines for provider/vm/azone etc. It seems not all raw events are correctly updated in DB and that's a reason for ignoring them during rendering timelines. Version-Release number of selected component (if applicable): 5.6.2.2 How reproducible: 100% Steps to Reproduce: 1. Add Azure provider to CFME 2. Create/Start/Stop/Remove vm in Azure 3. Check event_streams table for events related to just created vm 4. Open Timelines view for Azure provider Actual results: Timelines for Azure doesn't contain events related to just created/removed vm. The event_streams table contains raw (EmsEvent) events for every operation. The event_streams fields like vm_name, etc are empty. Expected results: Timelines for Azure should show all supported events. Additional info: event_streams table is attached. name of vm used for testing is "test_tt_LivSa0DQpP".
https://github.com/ManageIQ/manageiq-providers-azure/pull/10
New commit detected on ManageIQ/manageiq-providers-azure/master: https://github.com/ManageIQ/manageiq-providers-azure/commit/84141b3446e799e9e4068b451797294b2a28c058 commit 84141b3446e799e9e4068b451797294b2a28c058 Author: Bronagh Sorota <bsorota> AuthorDate: Thu Nov 10 11:39:42 2016 -0500 Commit: Bronagh Sorota <bsorota> CommitDate: Tue Nov 15 14:43:34 2016 -0500 Update the VM ems_ref in the Azure event to match the case of the ems_ref in the VM table. This will always ensure the event / VM association will happen. https://bugzilla.redhat.com/show_bug.cgi?id=1390587 app/models/manageiq/providers/azure/event_catcher_mixin.rb | 4 ++-- .../providers/azure/cloud_manager/event_catcher/runner_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
cannot verify because Timelines is completely broken since 5.8.0.4.
in 5.8.0.11
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days