Bug 1394310 - appliance doesn't receive events from Azure if C&U server roles are turned on after provider addition
Summary: appliance doesn't receive events from Azure if C&U server roles are turned on...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Bronagh Sorota
QA Contact: Jeff Teehan
URL:
Whiteboard: provider:azure:event
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 16:38 UTC by Ievgen Zapolskyi
Modified: 2016-11-21 16:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 16:02:41 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)

Description Ievgen Zapolskyi 2016-11-11 16:38:23 UTC
Description of problem:
When I add Azure provider and then turn on C&U server roles (Coordinator, Data Collector, Processor), event_streams table is not populated by Azure events.
If I the server roles are enabled before adding new provider, everything works well.
I suppose some processes don't re-read configuration updates or aren't restarted when those settings are changed.

I guess it concerns other cloud providers as well.

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

How reproducible:
100%

Steps to Reproduce:
1. Add Azure provider
2. Open CFME Settings and turn on C&U server roles - Coordinator, Data Collector, Processor
3. Save changes
4. Make some changes in Azure environment. F.e. create/delete any instance
5. Check event_streams table for azure events

Actual results:
event_streams doesn't contain any azure events

Expected results:
event_streams table should contain all expected azure events in such case.

CFME should correctly pick up settings changes and re-read new configuration or restart appropriate processes. 



Additional info:

Comment 2 Dave Johnson 2016-11-12 04:02:42 UTC
Jeff, can you please try to reproduce this.  Does the event monitor really stop receiving events when we enable c&u roles or is it more an issue of the box is pegged and thereby drops events?

Comment 3 Bronagh Sorota 2016-11-18 15:57:35 UTC
hi Levgen

Enabling the C&U roles will not enable event collection, it will enable Capacity and Utilization (metrics). 
I tried running through the steps above for the event monitor role and it works fine.

Bronagh

Comment 4 Ievgen Zapolskyi 2016-11-21 11:02:40 UTC
Hi Bronagh, 

In fact, If I don't enable C&U roles, I don't receive events from Azure. So, C&U settings influence event collection somehow. 
BTW, I just checked this in 5.7.0.11. I added Azure provider in newly deployed appliance and created network security group in Azure. The event_streams table didn't have any Azure events.

I could provide you my env with appliance and azure if you want.
Other option could be we can establish bj session and I could show you how this works in my env.

Comment 5 Ievgen Zapolskyi 2016-11-21 16:02:25 UTC
The issue is definitely appear only in some certain cases but not in all cases.

I'm going to close the issue atm and re-open it or submit a new one when finish investigation.

Comment 6 Ievgen Zapolskyi 2016-11-21 16:02:41 UTC
The issue is definitely appear only in some certain cases but not in all cases.

I'm going to close the issue atm and re-open it or submit a new one when finish investigation.

Comment 7 Ievgen Zapolskyi 2016-11-21 16:02:52 UTC
The issue is definitely appear only in some certain cases but not in all cases.

I'm going to close the issue atm and re-open it or submit a new one when finish investigation.


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