aboutsummaryrefslogtreecommitdiff
path: root/docker/sensu
AgeCommit message (Collapse)AuthorFilesLines
2020-07-06Remove sensu imagesMarcin Juszkiewicz5-174/+0
They have been deprecated in Ussuri [1]. [1]: https://review.opendev.org/#/c/711636/ Change-Id: I0cfde46c29eedce77c70c1c677220814a801ff3a
2020-04-15Remove support for CentOS 7Marcin Juszkiewicz1-10/+1
With the move to RHEL/CentOS 8 we no longer have Python 2 in our images so there is no need for checking which Python version (2.x or 3.x) is used inside of containers. We also no longer have to support yum as a value for distro_package_manager. Partially-Implements: blueprint centos-rhel-8 Change-Id: Ie45cf3465fedddbde7856961527421883ba3d5c9
2020-04-08Sensu: Remove ceph and process-checks plugins from clientMark Goddard1-2/+0
The sensu image became unbuildable, failing to install the ceph plugin: Unable to resolve dependencies: sensu-plugins-ceph requires english (= 0.6.3) This has happened because the author of the 'english' gem has seen fit to publish a new 0.7.0 release, and 'yank' [1] all previous releases from rubygems. This change removes the ceph and process-checks plugins, which both suffer from a dependency on the yanked english 0.6.3. [1] https://rubygems.org/gems/english/versions/0.6.3 Change-Id: I9d34413fa10b5a2920aca60b08141bfaddcc7415 Closes-Bug: #1871600 (cherry picked from commit 818dc4d6ff12a3119be072e0c68e2d2c8da9b799)
2020-03-01Add block labels to all DockerfilesChristian Berendt4-0/+8
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2019-12-04sensu-client: use docker.io on Debian/UbuntuMarcin Juszkiewicz1-9/+1
There is no need to use external Docker repo for an image which just needs Docker client. Change-Id: I61387287eb3d144ba1686d95b38f95c8292f5b0d
2019-11-29Enable repos only when neededMarcin Juszkiewicz2-0/+4
Disable external repositories by default and enable only when needed. Depends-on: https://review.opendev.org/696480 Implements: blueprint repos-off-by-default Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9
2019-09-29sensu-client: Pin minitest Ruby gem on CentOSRadosław Piliszek1-1/+2
Change-Id: I1afd2d50c0dc2de6d305b56bd5f9182745fee843 Closes-bug: #1845843 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-09-19sensu-client: install older whois gemMarcin Juszkiewicz1-1/+2
Whois 5.0.0 requires Ruby 2.4 while CentOS has only 2.0 version. Change-Id: I6ec9d58bf54db1ac69b879785f38fb492bc2dfc2
2019-09-18Remove support for OracleLinuxMark Goddard2-2/+2
We have agreed to remove support for Oracle Linux. http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39 Depends-On: https://review.opendev.org/682858
2019-06-06Debian/Ubuntu: more python3 packages for binaryMark Goddard1-1/+4
backport: Stein During the switch to Stein UCA, we did not switch all packages to python 3 for Debian/Ubuntu binary images. This change switches some more of those packages. Change-Id: I0bff21384d88ea678608392de2db1ba418c96665 Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2019-04-24Remove oschecks installationMartin Magr1-1/+0
The projects is almost dead and has been deprecated in TripleO project. This patch removes installation of the package on RPM based distros. Change-Id: I3cd9a23af1e925b7e0d739ba2715412ef5911e74
2019-03-18Pin sensu mailer and slack pluginsMark Goddard1-2/+5
The 4.0.0 release of the mailer plugin requires Ruby 2.3+, which is not avaiable in CentOS/RHEL7. Pin it to the 3.0.0 release, which is supported. While we're here, also pin the slack plugin. Both use the pessimistic version operator, as used in the sensu-client image. Change-Id: Idac8cb696c81c7413a3da79b4868f556ef36fc8d Closes-Bug: #1820594
2019-03-12Add python3 packages for RHEL systemsAlex Schultz1-1/+10
RDO is currently working on python3 support for the next version of CentOS/RHEL based systems. This package uses the distro_python3 flag that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to use the python3 specific package names. This change only adds python3 package names for RHEL systems. Conflicts-With: https://review.openstack.org/#/c/636457/ Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a Related-Blueprint: python3-support
2019-01-17Use base_package_typeAlex Schultz3-5/+5
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2018-07-17Revert "Pin dep for sensu-plugins-dns"Martin André1-5/+0
This reverts commit 9f481aba248c92c91ffa945164e37a34bc0dbee6. Change-Id: I185832998a0e1875b75c8d4e5b2d6fa50bd47218
2018-07-13Pin dep for sensu-plugins-dnsMartin André1-0/+5
At least until the upstream gem is fixed. Change-Id: Id443727cb57389af8d733fd52bc90c35dbedbfc4 Closes-Bug: #1781434
2018-05-31Install sensu from centos-opstoolsMartin André1-25/+29
This should help improve stability overall, in exchange for slightly older package version. Cap all the sensu plugins to their known major version that works with the ruby interpreter shipped with the current version of rhel/centos/oraclelinux -- currently ruby 2.0. All sensu plugins use semantic versioning so we're assured they don't introduce breaking changes in the capped major version. Change-Id: Ic5ca679c40da3e466433b0e04f762d2bbffbf156 Closes-Bug: #1774123
2018-01-21Consume RDO packaged mariadb versionSteven Dake1-1/+1
RDO packaged mariadb recieves far more testing and qualification than any other mariadb package on CentOS. Lets use that instead of a hard-pinned old version of mariadb from mariadb.org. This patch also upgrade MariaDB from 10.0 to 10.1.20 for RHEL/CentOS/Oracle Linux. Depends-On: I8374ac2219ad7880970cd789727d01af7cac1077 Depends-On: Ia2acb09e877a586243fc1acb49d8d140cf27d7b5 Co-Authored-By: Xinliang Liu <xinliang.liu@linaro.org> Change-Id: I071362fc1b8d60199a77e2fe0475d2b4c3b5341b
2017-12-14Add sensu imagesMathias Ewald5-4/+122
Add sensu yum repository to base image Create images for sensu-server, sensu-api and sensu-client processes Install a basic set of handler plugins into server image Install a basic set of sensu plugins into client image Change-Id: I0b88133080c58070c24ed90059315366b64034c6
2017-05-30Sensu imagesMartin Mágr2-0/+43
This patch adds possibility to have container with sensu-client service. Implements: blueprint container-healthchecks Change-Id: I1c659ce38299d5497a80fa96dd2dd39bd40176c3