Bug 1367872

Summary: AWS Config service and topic not found even though they are created in aws.
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED WONTFIX QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: dajohnso, hkataria, jfrey, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.5.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ec2:event
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-11 15:24:11 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:

Description Matouš Mojžíš 2016-08-17 17:00:37 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add an ec2 provider
2.
3.

Actual results:
[----] W, [2016-08-17T10:50:58.110494 #15251:1bacf60]  WARN -- : MIQ(ManageIQ::Providers::Amazon::CloudManager::EventCatcher::Stream#find_or_create_queue) Unable to find the AWS Config Topic. Cannot collect Amazon events for AWS Access Key ID AKIAJAKNLOO5MQSWETXQ
[----] W, [2016-08-17T10:50:58.110781 #15251:1bacf60]  WARN -- : MIQ(ManageIQ::Providers::Amazon::CloudManager::EventCatcher::Stream#find_or_create_queue) Contact Amazon to create the AWS Config service and topic for Amazon events.

Expected results:


Additional info:

Comment 5 CFME Bot 2016-09-06 14:27:03 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ed6cc46062232bc3545bb279a71c97cc773bd87f

commit ed6cc46062232bc3545bb279a71c97cc773bd87f
Author:     Marcel Hild <hild>
AuthorDate: Wed Aug 17 19:09:22 2016 +0200
Commit:     Marcel Hild <hild>
CommitDate: Wed Aug 17 19:09:22 2016 +0200

    before the default aws_config topic would be set to nil by a wrong
    call to Stream.new
    
    this was introduced 7da8181a338c77f55ff160f09e8a496a74609fd0
    
    the original was a fix for
    https://bugzilla.redhat.com/show_bug.cgi?id=1358963
    
    this one fixes
    https://bugzilla.redhat.com/show_bug.cgi?id=1367872

 .../manageiq/providers/amazon/cloud_manager/event_catcher/runner.rb   | 2 +-
 .../manageiq/providers/amazon/cloud_manager/event_catcher/stream.rb   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 6 CFME Bot 2016-09-06 14:27:09 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=62e98284023e17d4466258857ede942983e6db69

commit 62e98284023e17d4466258857ede942983e6db69
Merge: 75afa46 ed6cc46
Author:     Greg Blomquist <gblomqui>
AuthorDate: Tue Sep 6 10:25:40 2016 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Tue Sep 6 10:25:40 2016 -0400

    Merge branch 'fix_aws_sns_topic_lost' into '5.5.z'
    
    fix wrong not working event catcher for aws
    
    before the default aws_config topic would be set to nil by a wrong call to Stream.new
    
    this was introduced in 7da8181a338c77f55ff160f09e8a496a74609fd0
    
    the original was a fix for
    https://bugzilla.redhat.com/show_bug.cgi?id=1358963
    
    this one fixes
    https://bugzilla.redhat.com/show_bug.cgi?id=1367872
    
    See merge request !1041

 .../manageiq/providers/amazon/cloud_manager/event_catcher/runner.rb   | 2 +-
 .../manageiq/providers/amazon/cloud_manager/event_catcher/stream.rb   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 7 Marcel Hild 2017-02-15 14:21:34 UTC
Satoe, shouldnt this be MODIFIED ?