puppet-cinder/manifests/cron
Takashi Kajinami f4c9e359fa Add sleep in cinder cron jobs
The current cron job for purge is executed at the precisely same time,
if we deploy multiple controller nodes with database clusterd,
for example using Galera cluster, it could cause DB spike.

This patch introduces a randomized sleep before executing purge job,
to avoid such kind of collision.

This commit is a kind of cherry-pick of the commit in puppet-nova
with change id I093a713a4f0ba48686de615aa8cb22b17a56917b .

Co-Authored-By: Rajesh Tailor <ratailor@redhat.com>

Change-Id: I36cf5f1e66fed580786970d9a953d983539a6e43
2019-03-18 01:22:03 +00:00
..
db_purge.pp Add sleep in cinder cron jobs 2019-03-18 01:22:03 +00:00