Bug 1184637

Summary: CFME is queueing a refresh_all_ems_timer for SCVMM providers every 15 mintues even when there is no SCVMM provider
Product: Red Hat CloudForms Management Engine Reporter: Alex Krzos <akrzos>
Component: InsightAssignee: Bronagh Sorota <bsorota>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: low Docs Contact:
Priority: high    
Version: 5.3.0CC: dclarizi, gblomqui, mfalesni, mfeifer
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.4.0.0.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:48:19 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 Alex Krzos 2015-01-21 21:23:33 UTC
Description of problem:
Noticed EmsMicrosoft.refresh_all_ems_timer messages every 15 minutes scheduled on the queue of appliances that do not have a Microsoft provider.

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

How reproducible:
All appliances I've looked at are queueing that message per a 15 minute schedule.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Refreshes scheduled only if there is a Microsoft provider added to CFME.

Additional info:

grep for EmsMicrosoft.refresh_all_ems_timer in evm.log to find dequeued messages.

Comment 2 CFME Bot 2015-02-16 20:30:45 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d9f3022d8b9fd73bc9cf28a08447b16edc74d9e1

commit d9f3022d8b9fd73bc9cf28a08447b16edc74d9e1
Author:     Bronagh Sorota <bsorota>
AuthorDate: Mon Feb 16 12:59:31 2015 -0500
Commit:     Bronagh Sorota <bsorota>
CommitDate: Mon Feb 16 12:59:49 2015 -0500

    Only execute scheduled SCVMM ems_refresh if a SCVMM provider is present
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1184637

 vmdb/lib/workers/schedule_worker/jobs.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 4 Milan Falešník 2015-03-11 17:18:27 UTC
Verified in 5.4.0.0.11, there are no signs of "EmsMicrosoft.refresh_all_ems_timer" in evm.log on an appliance that has no SCVMM configured

Comment 6 errata-xmlrpc 2015-06-16 12:48:19 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