Bug 1217597 - Remove vm_create for AWS_EC2_Instance_CREATE in event_handling.tmpl.yml
Summary: Remove vm_create for AWS_EC2_Instance_CREATE in event_handling.tmpl.yml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Insight
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.4.0
Assignee: Bill Wei
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-30 18:44 UTC by Nandini Chandra
Modified: 2015-06-16 13:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:01:13 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Nandini Chandra 2015-04-30 18:44:25 UTC
Description of problem:
------------------------
The event_handling.tmpl.yml  file contains this:

AWS_EC2_Instance_CREATE:
  - policy:
    - src_vm
    - vm_create
  - refresh:
    - ems

vm_create should be removed for the  AWS_EC2_Instance_CREATE event and updated with the same basic comment to make clear why it is not provided as part of the configuration.

See https://bugzilla.redhat.com/show_bug.cgi?id=1207865 for additional info.

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


How reproducible:
-----------------
NA


Steps to Reproduce:
-------------------
1.
2.
3.

Actual results:
---------------


Expected results:
-----------------


Additional info:
----------------

Comment 2 Bill Wei 2015-05-05 18:39:33 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/42f61c707540f477ff8ebf1e7daac8cd57896389

commit 42f61c707540f477ff8ebf1e7daac8cd57896389
Author:     Bill Wei <bilwei>
AuthorDate: Mon May 4 17:49:53 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Mon May 4 17:52:23 2015 -0400

    Fix AWS event mappings
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207865

 vmdb/config/event_handling.tmpl.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comment 3 Bill Wei 2015-05-05 18:42:27 UTC
vm_create has been removed. ems refresh remains. Therefore when an instance is created it will still be added to VMDB. To verify you may need to wait for a few minutes because there could be a long delay before the event is received.

Comment 5 Nandini Chandra 2015-05-14 21:45:02 UTC
Verified that vm_create has been removed for AWS_EC2_instance_CREATE in the /var/www/miq/vmdb/config/event_handling.tmpl.yml file.

  AWS_EC2_Instance_CREATE:
  - refresh:
    - ems

Comment 7 errata-xmlrpc 2015-06-16 13:01:13 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://rhn.redhat.com/errata/RHBA-2015-1100.html


Note You need to log in before you can comment on or make changes to this bug.