Bug 1379435

Summary: .missing is missing for Azure events, causing ERROR in the logs
Product: Red Hat CloudForms Management Engine Reporter: Jerome Marc <jmarc>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: brant.evans, cpelland, dajohnso, jhardy, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: azure:automate
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1382072 1383359 (view as bug list) Environment:
Last Closed: 2017-06-12 17:37:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1382072, 1383359    

Description Jerome Marc 2016-09-26 18:01:28 UTC
Description of problem:
.missing is missing in ManageIQ / System / Event / EmsEvent / AZURE, causing the following error when events are received with not corresponding handler:
ERROR -- : Class [System/Event/EmsEvent/AZURE] not found in MiqAeDatastore

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

How reproducible:
Always

Steps to Reproduce:
1. Deploy CloudForms
2. Configure an Azure provider
3. Wait and see the automation.log

Actual results:
Events are logged as ERROR as they are not handled properly:
ERROR -- : Class [System/Event/EmsEvent/AZURE] not found in MiqAeDatastore

Expected results:
Events should be handled properly with a .missing (like all other providers)

Additional info:

Comment 3 CFME Bot 2016-09-27 20:40:44 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/7b7c14f939f9374f66497bfa32338244f86b533a

commit 7b7c14f939f9374f66497bfa32338244f86b533a
Author:     Lucy Fu <lufu>
AuthorDate: Tue Sep 27 13:31:41 2016 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Tue Sep 27 13:31:41 2016 -0400

    Add .missing for Azure EmsEvent.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1379435

 .../ManageIQ/System/Event/EmsEvent/Azure.class/_missing.yaml   | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/Event/EmsEvent/Azure.class/_missing.yaml

Comment 4 Greg McCullough 2016-10-07 21:03:38 UTC
*** Bug 1380880 has been marked as a duplicate of this bug. ***

Comment 7 Milan Falešník 2017-02-28 15:28:48 UTC
Verified in 5.8.0.2. The instance is present in the domain and there are no related logs in the log. I have let it provision an instance and also let the tail -f run for an hour or so.