Bug 1257404 - os-collect-config polling is actually synchronized not random
Summary: os-collect-config polling is actually synchronized not random
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-collect-config
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 12.0 (Pike)
Assignee: Alex Schultz
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-27 03:07 UTC by Mark Wagner
Modified: 2018-02-05 19:02 UTC (History)
11 users (show)

Fixed In Version: os-collect-config-7.0.1-0.20170612052603.5870ed6.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 20:33:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1677314 0 None None None 2017-03-29 16:24:48 UTC
OpenStack gerrit 451478 0 None MERGED Add splay option to offset polling intervals 2020-02-03 09:14:38 UTC
OpenStack gerrit 454358 0 None MERGED Enable splay for os-collect-config 2020-02-03 09:14:38 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

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


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