Bug 1266141

Summary: [RFE] CFME should subscribe to the heat exchange for Openstack cloud provider
Product: Red Hat CloudForms Management Engine Reporter: Marius Cornea <mcornea>
Component: ProvidersAssignee: Ladislav Smola <lsmola>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: jfrey, jhardy, lsmola, mfeifer, obarenbo, ukalifon
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provider:openstack
Fixed In Version: 5.6.0.0 Doc Type: Enhancement
Doc Text:
Previous CloudForms versions were not subscribed to the Heat RabbitMQ exchange for OpenStack cloud providers. This CloudForms release subscribes to Heat notifications so that CloudForms can catch OpenStack Heat events.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 14:59:54 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:
Attachments:
Description Flags
Timelines screenshot none

Description Marius Cornea 2015-09-24 15:09:41 UTC
Description of problem:
CFME isn't currently subscribed to the heat rabbit exchange in the Openstack cloud provider.

https://github.com/ManageIQ/manageiq/blob/master/config/vmdb.tmpl.yml#L291

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

How reproducible:
100%


Expected results:
CFME should show up Heat events in the Openstack cloud provider timelines.

Comment 3 Ladislav Smola 2015-11-13 12:50:05 UTC
ignore comment #2 fix is in https://github.com/ManageIQ/manageiq/pull/5425

Comment 4 CFME Bot 2015-11-13 16:21:01 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/cbecd203a18d397b17ed237e705edc99e5d85e9e

commit cbecd203a18d397b17ed237e705edc99e5d85e9e
Author:     Ladislav Smola <lsmola>
AuthorDate: Fri Nov 13 13:47:06 2015 +0100
Commit:     Ladislav Smola <lsmola>
CommitDate: Fri Nov 13 13:47:06 2015 +0100

    OpenStack catch Heat events
    
    OpenStack catch Heat events
    
    Implements BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1266141

 config/vmdb.tmpl.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 5 Udi Kalifon 2016-06-09 11:52:31 UTC
I created a VIP for the message queue and I successfully validated the connection from CFME to rabbit. Still, I don't see any heat events (I created and deleted a simple stack). I checked that the fix from comment #3 is present. How can I see heat events?

Comment 6 Ladislav Smola 2016-06-13 07:55:59 UTC
Udi, do you have this configuration in your /etc/heat/heat.conf ?

notification_driver=messaging
notification_topics=notifications

Comment 7 Marius Cornea 2016-06-14 10:40:36 UTC
I was able to catch heat events in the timelines after adjusting the haproxy config with section for exposing rabbitmq overs the external VIP. Also the cloud provider needs the amqp server credentials during registration for this to work.

Comment 8 Marius Cornea 2016-06-14 10:41:34 UTC
Created attachment 1167828 [details]
Timelines screenshot

Attaching the Timelines screenshot.

Comment 10 errata-xmlrpc 2016-06-29 14:59:54 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:1348