Description of problem: I see that events in the UI are not appearing as soon as the operation is completed. Events are appearing very late in the UI. Version-Release number of selected component (if applicable): Red Hat Virtualization Manager Version: 4.1.5.2-0.1.el7 How reproducible: Always Steps to Reproduce: 1. Install HC setup with latest RHV bits. 2. Enable gfapi access 3. Perform any operation on any of the entities Actual results: I see that event related to that operations does not come once the operation is completed. Expected results: Events should appear in the events tab as soon as the operation is completed. Additional info:
Can you provide instances of the operation? What's the delay experienced for events appearing? Can you provide engine logs?
I have created two new vms today morning and i do not see any events related to that. Last event which is seen in the UI is "VM applinuxvm was started by admin@internal-authz (Host: rhsqa-grafton3.lab.eng.blr.redhat.com)." and this was started yesterday @ 9.06:32 PM. copied engine logs in the link below. http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/HC/1486135/ Attaching screenshots for the events tab from both basic and advanced view.
Created attachment 1319375 [details] Events tab advanced view
Created attachment 1319376 [details] Evens tab basic view
I see events in the engine.log: 2017-08-29 03:34:27,256-04 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-60) [478abb47] EVENT_ID: USER_ADD_VM(34), Correlation ID: 4184df82-fd6b-461a-b0e5-03b799bc259f, Job ID: df9df79f-2f40-41e4-8c67-74b19828b470, Call Stack: null, Custom Event ID: -1, Message: VM RHEL7.3_clone1 was created by admin@internal-authz. 2017-08-29 03:38:52,218-04 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-33) [b6efbd00-86cf-48f9-a3e8-896a795a2949] EVENT_ID: USER_STARTED_VM(153), Correlation ID: b6efbd00-86cf-48f9-a3e8-896a795a2949, Job ID: b86e8c20-0937-48aa-b818-7f69c857933b, Call Stack: null, Custom Event ID: -1, Message: VM RHEL7.3_clone1 was started by admin@internal-authz (Host: rhsqa-grafton3.lab.eng.blr.redhat.com). It looks like an issue in querying and displaying events? Moving to infra team
Hmm, from the screen I can see that events are not sorted descending (latest event at the top), so it could be related to the BZ1478687 and BZ1486513. To confirm that could you please scroll down to the latest event and check if events are displayed within reasonable delay?
This is a duplicate of Bug 1481144. We did fix it in 4.1.6. *** This bug has been marked as a duplicate of bug 1481144 ***
Oh, yeah. That is it. I can see when i scroll down. Thanks Martin