Description of problem:
In Users -> $user -> Event Notifier (Admin Portal) one can assign an event for notification.
Under DW Events there is:
- History Service Started
- History Service Error
Assigning 'History Service Started' is in fact 'DWH_STOPPED'.
engine=# select * from event_subscriber ;
subscriber_id | event_up_name | method_id | method_address | tag_name
--------------------------------------+---------------+-----------+-------------------+----------
fdfc627c-d875-11e0-90f0-83df133b58cc | DWH_STOPPED | 0 | jbelka |
(1 row)
$ grep "DWH" LocalizedEnums.properties
EventNotificationEntity___DWH=Data Warehouse Events:
AuditLogType___DWH_STOPPED=History Service Started
AuditLogType___DWH_STARTED=History Service Stopped
AuditLogType___DWH_ERROR=History Service Error
LocalizedEnums.properties contains switched "mapping" for DWH_STOPPED and DWH_STARTED.
Version-Release number of selected component (if applicable):
* ovirt-engine-backend-3.4.0-0.2.master.20140112020439.git9ad8529.el6.noarch
* 3.3 as well
* 3.2 as well
How reproducible:
100%
Steps to Reproduce:
1. assign 'History Service Started' to an user for notification
2. check DB for subscribers (select * from event_subscriber)
3.
Actual results:
...Started... is STOPPED in fact
Expected results:
start is start, stop is stop
Additional info:
Description of problem: In Users -> $user -> Event Notifier (Admin Portal) one can assign an event for notification. Under DW Events there is: - History Service Started - History Service Error Assigning 'History Service Started' is in fact 'DWH_STOPPED'. engine=# select * from event_subscriber ; subscriber_id | event_up_name | method_id | method_address | tag_name --------------------------------------+---------------+-----------+-------------------+---------- fdfc627c-d875-11e0-90f0-83df133b58cc | DWH_STOPPED | 0 | jbelka | (1 row) $ grep "DWH" LocalizedEnums.properties EventNotificationEntity___DWH=Data Warehouse Events: AuditLogType___DWH_STOPPED=History Service Started AuditLogType___DWH_STARTED=History Service Stopped AuditLogType___DWH_ERROR=History Service Error LocalizedEnums.properties contains switched "mapping" for DWH_STOPPED and DWH_STARTED. Version-Release number of selected component (if applicable): * ovirt-engine-backend-3.4.0-0.2.master.20140112020439.git9ad8529.el6.noarch * 3.3 as well * 3.2 as well How reproducible: 100% Steps to Reproduce: 1. assign 'History Service Started' to an user for notification 2. check DB for subscribers (select * from event_subscriber) 3. Actual results: ...Started... is STOPPED in fact Expected results: start is start, stop is stop Additional info: