puppet-cinder/spec
Takashi Kajinami 79ed64e355 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
(cherry picked from commit I36cf5f1e66fed580786970d9a953d983539a6e43)
2019-03-20 10:00:25 +09:00
..
acceptance modulesync: sync and add nodepool-bionic for beaker 2018-07-18 16:17:19 +02:00
classes Add sleep in cinder cron jobs 2019-03-20 10:00:25 +09:00
defines Handle image_volume_cache_enabled for PureStorage backend 2019-03-12 21:05:24 +00:00
unit Add cinder QOS support 2019-01-17 09:07:59 +00:00
shared_examples.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-11 17:58:49 +01:00
spec_helper.rb Move rspec-puppet-facts to spec helper 2016-09-30 13:17:15 -06:00
spec_helper_acceptance.rb Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-18 09:11:14 -05:00