Hide Forgot
Description of problem: Every action in Azure emits two/several events. So, every action has two/several events in Timelines as result. The usability of such events in timelines is low. Actually, those just clog timelines. It would be better to combine them and show real action and its status, etc. Version-Release number of selected component (if applicable): CFME 5.6.2.2 How reproducible: 100% Steps to Reproduce: 1. Add Azure provider to CFME 2. f.e. Create/Start/Stop/Remove some Vm in Azure 3. Open Timelines for VM or Provider Actual results: Every operation will have at least 2 events in Timelines. Expected results: To combine events related to one operation and display the operation and its params correctly in Timelines. Additional info:
*** Bug 1390582 has been marked as a duplicate of this bug. ***
Levgen If I am understanding your request correctly, you would like the correlated begin and end events to be combined into 1 single event. If you're using events to drive automation you may want to do different things at the beginning versus the end. For example, you may want to check and apply policy before a migration, so you can prevent the migration if it isn't allowed. This would no longer be possible if the begin and end events are combined. One thing you can do is to add a specific event to the blacklisted_events table in the DB. This means that event will be filtered out when CF receives it. BlacklistedEvent.create(:event_name=>"testabc", :provider_model => ems.type, :enabled => true) I believe this is not an Azure specific issue, many of the providers send both begin and end events. John, have you received any complaints around this before? Any plans in this area? Thanks, Bronagh
Bronagh, Actually, I haven't seen any other provider sending both begin and end events. However, I agree the case you have mentioned makes sense and I don't want to reduce existing functionality. Frankly speaking, I experience this issue only in timelines. So, I guess it makes sense to combine such events only in timelines.
levgen If you look at the :event_groups section of the file: https://github.com/ManageIQ/manageiq/blob/master/config/settings.yml you will see some similar pairings eg: - USER_ADD_VM - USER_ADD_VM_FINISHED_FAILURE - USER_ADD_VM_FINISHED_SUCCESS VMware always has a Complete event: - CloneVM_Task - CloneVM_Task_Complete - CreateClusterEx - CreateClusterEx_Complete Are these treated the same as the Azure events? How are the reports impacted?
only certain events appear in Timelines. F.e CloneVm_Task event doesn't appear there. Timelines look much better in 5.7 due to grouping events and so on. So, I'm about to close this ticket for now