Bug 1257404

Summary: os-collect-config polling is actually synchronized not random
Product: Red Hat OpenStack Reporter: Mark Wagner <mwagner>
Component: os-collect-configAssignee: Alex Schultz <aschultz>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: apevec, aschultz, hbrock, jcoufal, lhh, mburns, rhel-osp-director-maint, sbaker, shardy, srevivo, tvignaud
Target Milestone: rcKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: os-collect-config-7.0.1-0.20170612052603.5870ed6.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 20:33:46 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 Mark Wagner 2015-08-27 03:07:13 UTC
Description of problem:
Given the nature of the design, the os-collect-config polling is actually synchronized and the 30 sec period causes cpu utilization to go to 100% every 30 seconds for several seconds each poll period.

It is not clear that this is scalable

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


How reproducible:
every time

Steps to Reproduce:
1.start top in a window on the undercloud machine
2.start a small deployment (65 nodes)
3.observe top behaviour over time.

Actual results:
Spikes in CPU utilization close to 100% every 30 seconds.

Expected results:
A smoother spread

Additional info:

Comment 3 Steve Baker 2015-08-27 07:26:34 UTC
Making the delay before the first poll a random number between 0 and $period would help de-synchronize the polling for many nodes. This would be a change to os-collect-config.

Comment 6 Mike Burns 2016-04-07 20:47:27 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 8 Thierry Vignaud 2017-06-21 14:14:58 UTC
Changes are in os-collect-config-7.0.1-0.20170612052603.5870ed6.el7ost & openstack-tripleo-heat-templates-7.0.0-0.20170616123155.el7ost

Comment 12 Gurenko Alex 2017-12-04 08:58:27 UTC
Verified on build 2017-11-29.2

Comment 15 errata-xmlrpc 2017-12-13 20:33:46 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/RHEA-2017:3462