Description of problem: user who added external events does not appear in UI , although the information exists in DB ( see attached picture ) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: [RHEVM shell (connected)]# add event --custom_id 10000 --origin "newvirt" --severity "error" --description "test5" --user-id fdfc627c-d875-11e0-90f0-83df133b58cc id : 41711 description: test5 code : 9803 custom_id : 10000 flood_rate : 30 origin : newvirt severity : error time : 2013-04-08T16:25:49.988+03:00 user-id : fdfc627c-d875-11e0-90f0-83df133b58cc [RHEVM shell (connected)]# [RHEVM shell (connected)]# [RHEVM shell (connected)]# list events --query "custom_event_id=10000" id : 41711 description: test5 [RHEVM shell (connected)]# list events --query "custom_event_id=10000" --show-all id : 41711 description: test5 code : 9803 custom_id : 10000 flood_rate : 30 origin : newvirt severity : error time : 2013-04-08T16:25:49.988+03:00 user-id : fdfc627c-d875-11e0-90f0-83df133b58cc
Created attachment 732676 [details] screen shot
[the external events feature is within 'infra' team responsibility - moving to 'infra'] AFAIK - the DB field shown in the GUI for the Event's "User" column is "user_name". I assume that the external event that has been added has an empty "user_name" field in the DB I assume that the problem is either the external event has been added with user-id but without user-name, or that the add-event function that accepts user-id as a parameter doesn't add the relevant user-name associated with that user-id to the record in the 'audit_log' db table. @Eli - thoughts?
fixed in commit: f003827