Bug 1469198

Summary: After Applying ERRATA-RHSA-2017:1601 full refreshes are being trigged frequently
Product: Red Hat CloudForms Management Engine Reporter: Ryan Spagnola <rspagnol>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: agrare, anewman, dberger, gblomqui, jfrey, jhardy, myoder, obarenbo, rspagnol, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1476284 1479886 (view as bug list) Environment:
Last Closed: 2018-03-06 15:02:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1476284, 1479886    

Description Ryan Spagnola 2017-07-10 16:05:18 UTC
Description of problem:
Customer seeing about 13 full refreshes a day in their dev environment which is small with the following objects:

Cluster 1
Hosts 4
Datastores 9
VMs 149
Templates 21

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 Adam Grare 2017-07-13 15:16:33 UTC
This is an unexpected side-effect of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1469198 plus our config to restart the RefreshWorker every two hours.

Comment 9 Adam Grare 2017-07-13 17:40:48 UTC
> This is an unexpected side-effect of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1469198

Correct BZ link is https://bugzilla.redhat.com/show_bug.cgi?id=1439387

Comment 13 CFME Bot 2017-07-27 16:44:53 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/master:
https://github.com/ManageIQ/manageiq-providers-vmware/commit/3deafbeff9f2b4685e757590568c1e370d50743f

commit 3deafbeff9f2b4685e757590568c1e370d50743f
Author:     Adam Grare <agrare>
AuthorDate: Thu Jul 13 11:22:16 2017 -0400
Commit:     Adam Grare <agrare>
CommitDate: Fri Jul 14 08:54:09 2017 -0400

    Don't queue a refresh on RefreshWorker start
    
    The refresh_worker is restarted every 2 hours, by queueing a full
    refresh everytime the refresh_worker starts this was causing a
    significant number more full refreshes than before.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1469198

 .../manageiq/providers/vmware/infra_manager/refresh_worker/runner.rb  | 4 ----
 1 file changed, 4 deletions(-)