Bug 1296576

Summary: Cannot create an Alert that sends a Management Event not defined in MiqEventDefinition
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: cpelland, dajohnso, jhardy, lufu, mfeifer, mkanoor, obarenbo, pmcgowan, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1296248 Environment:
Last Closed: 2016-04-13 18:40:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1296248    
Bug Blocks:    

Comment 2 CFME Bot 2016-02-10 19:54:48 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5c54e4886269cde56b2982ac1782ea5e37b358d7

commit 5c54e4886269cde56b2982ac1782ea5e37b358d7
Merge: 8dae530 4658374
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Feb 10 14:30:22 2016 -0500
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Feb 10 14:30:22 2016 -0500

    Merge branch '5.5.z-user_event_alert_1296248' into '5.5.z'
    
    Fix Alert for Management Event.
    
    Clean cherry-pick from [original](https://github.com/ManageIQ/manageiq/pull/6156).
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296576
    
    See merge request !762

 app/models/custom_event.rb                         |   2 +
 app/models/miq_alert.rb                            |  19 +-
 app/models/miq_event.rb                            |   2 +
 .../Event/CustomEvent/Alert.class/__class__.yaml   | 433 +++++++++++++++++++++
 .../System/Event/CustomEvent/__namespace__.yaml    |  11 +
 .../service_models/miq_ae_service_custom_event.rb  |   4 +
 spec/models/miq_alert_spec.rb                      |  48 +++
 7 files changed, 516 insertions(+), 3 deletions(-)

Comment 4 Dmitry Misharov 2016-03-30 15:54:37 UTC
Verified in 5.5.3.2.20160318152106_92d2d67. The Management Event was successfully invoked.

Comment 6 errata-xmlrpc 2016-04-13 18:40:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0616