Commit Graph

15 Commits

Author SHA1 Message Date
Andreas Jaeger fd10957ead Retire pupet-stackalytics
The repo is not used anymore, retire it.

Depends-On: https://review.openstack.org/631817
Change-Id: I1ec09c1605ff531b0d8f21b2fd489d1380d019c7
2019-01-18 17:20:46 +01:00
Jeremy Stanley 956a25cf27 Add new system deps for libffi-dev and libssl-dev
The update to newer paramiko dragged in pyca/cryptography which
needs libffi and libssl headers to build successfully. Declare them
as system package dependencies in the manifest.

Change-Id: I8e54f76e715f765a820b578b1cbd445ab7a721a4
2017-05-24 15:52:58 +00:00
Andrey Nikitin 3ed5a7ae00 Order of the class parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: Ib80146d49607479a4bb2bd47c33e1a26cfb261f4
2016-03-21 18:40:33 +03:00
Paul Belanger b5216be3de Setup logging for stackalytics-processor
It is helpful to see what the processor is doing, so we can debug
failure.

Change-Id: Ifcd0af68e1a14a1b29fc0487f449cf2cf6276013
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-10 23:01:49 +00:00
Jenkins f21fb6a288 Merge "Share crontab lock with both processor and dump" 2016-01-07 21:51:53 +00:00
Jenkins bccff24cc7 Merge "Run crontab for processor every hour" 2015-11-16 13:08:12 +00:00
Paul Belanger af74630ec0 Compress dump.log after rotating
Currently it is 2GB, compressing will help save drive space.

Change-Id: Icbaa45709497399ebf31de3404cbb7b0f2de3c50
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-12 13:12:04 -05:00
Paul Belanger 686bbe5980 Share crontab lock with both processor and dump
Right now, it take about 15mins to load a dump file on boot.  So, we
want to make sure we don't also run the processor during that
time. This will help aviod duplicating data that is being loaded.

Change-Id: I5c775b4ae9dcb63e61a82f98476eb007e69ad93e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-11 13:51:45 -05:00
Paul Belanger acf4555250 Run crontab for processor every hour
Now that we are locking stackalytics-processor we can increase the
interval to re-run it.

Change-Id: I27229d30d17f0df1870f354b16c935fdb4902654
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-08 20:12:38 -05:00
Paul Belanger 0bd425ffad Use /opt for git repos
Currently in -infra we map /opt to a 128GB virtual disk. Our root
drive is only 30GB. We do this not to fill up the root drive.

Change-Id: Ic9947fceb2473ea9e5e79169a8f0de2fb9ebcbf5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-08 20:07:08 -05:00
Paul Belanger 3d4878dc1e Logrotate even if file is empty
Our first dump.log file will always be empty, since puppet creates it.

Change-Id: I28611d57b2fa615c2896fa75c5f5ce675dc3f212
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-08 19:55:22 -05:00
Paul Belanger a39dba47b1 Create flock for crontab to avoid mulitple runs
Add a flock so we don't run stackalytics-processor again while it is
still running.

Change-Id: I14c3f401365aeb3f32087706f692eedcf8a2a614
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-08 10:14:59 -05:00
Paul Belanger dbefa1558e Fix crontab bug
We need to add minutes, cron doesn't spam the processor every minute.

Change-Id: I330a25f41ddbe761905d1dc6e2611025dfa77178
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-06 19:15:08 -05:00
Paul Belanger 2bdf4a1d57 Initial commit for puppet-stackalytics
Change-Id: If62b3f633000cc6380d892cad0a2160136ce8ca4
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-01 11:09:46 -05:00
Paul Belanger 9305f4c489 Initial commit
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-06-01 14:08:03 -04:00