Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1515396

Summary: Alerts assigned to the Enterprise doesn't work for MW servers added after profile creation
Product: Red Hat CloudForms Management Engine Reporter: Xavier Canal <xcanalma>
Component: ControlAssignee: Xavier Canal <xcanalma>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abonas, cpelland, gblomqui, jdoyle, jfrey, jhardy, mmahoney, obarenbo
Target Milestone: GAKeywords: Triaged
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-04 15:35:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:

Description Xavier Canal 2017-11-20 18:06:56 UTC
Description of problem:

1. There is an alert profile assigned to 'The Enterprise'.
2. New middleware server is added under a provided already added.
3. This new MW server reach a situation which an alert is triggered.
4. The alert never happen into MiQ side

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add a hawkular provider.
2. Create an alert based on Middleware Server (i.e. JVM Heap Used > 80 %)
3. Create an alert profile including alert just created.
4. Edit the assignments of the profile. Assign it to 'The Enterprise' option.
5. Add a new Middleware Server under the provider on step 1.
6. Refresh items and relationships for that provider. (Make sure the new server is displayed under that provider)
7. Force the new middleware server to reach the alert conditions.

Actual results:
Alert not risen.

Expected results:
Alert risen.

Additional info: