Commit Graph

20 Commits

Author SHA1 Message Date
Marcin Juszkiewicz 0cfd36292c Remove sensu images
They have been deprecated in Ussuri [1].

[1]: https://review.opendev.org/#/c/711636/

Change-Id: I0cfde46c29eedce77c70c1c677220814a801ff3a
2020-07-06 11:50:12 +02:00
Marcin Juszkiewicz 53443c5c71 Remove support for CentOS 7
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-15 09:32:06 +00:00
Mark Goddard 2d1017be3f Sensu: Remove ceph and process-checks plugins from client
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 818dc4d6ff)
2020-04-08 18:28:38 +00:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Marcin Juszkiewicz bc55918367 sensu-client: use docker.io on Debian/Ubuntu
There is no need to use external Docker repo for an image which just
needs Docker client.

Change-Id: I61387287eb3d144ba1686d95b38f95c8292f5b0d
2019-12-04 20:35:49 +01:00
Marcin Juszkiewicz cf11cd6f3d Enable repos only when needed
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-11-29 11:38:06 +01:00
Radosław Piliszek 305312f107 sensu-client: Pin minitest Ruby gem on CentOS
Change-Id: I1afd2d50c0dc2de6d305b56bd5f9182745fee843
Closes-bug: #1845843
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-09-29 14:55:13 +02:00
Marcin Juszkiewicz 41408527ae sensu-client: install older whois gem
Whois 5.0.0 requires Ruby 2.4 while CentOS has only 2.0 version.

Change-Id: I6ec9d58bf54db1ac69b879785f38fb492bc2dfc2
2019-09-19 15:45:23 +02:00
Mark Goddard fa8e174be6 Remove support for OracleLinux
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-09-18 13:42:47 +01:00
Mark Goddard aa59f0db6f Debian/Ubuntu: more python3 packages for binary
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-06-06 11:06:58 +00:00
Martin Magr 45c9611200 Remove oschecks installation
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-04-24 13:48:32 +02:00
Mark Goddard 4058c8e298 Pin sensu mailer and slack plugins
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-18 15:29:11 +00:00
Alex Schultz 3e5d8e2653 Add python3 packages for RHEL systems
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-03-12 17:48:18 +00:00
Alex Schultz ae1322ec10 Use base_package_type
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
2019-01-17 08:23:41 -07:00
Martin André dd304df163 Revert "Pin dep for sensu-plugins-dns"
This reverts commit 9f481aba24.

Change-Id: I185832998a0e1875b75c8d4e5b2d6fa50bd47218
2018-07-17 07:06:17 +00:00
Martin André 9f481aba24 Pin dep for sensu-plugins-dns
At least until the upstream gem is fixed.

Change-Id: Id443727cb57389af8d733fd52bc90c35dbedbfc4
Closes-Bug: #1781434
2018-07-13 07:51:37 +02:00
Martin André 76a965ad80 Install sensu from centos-opstools
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-05-31 18:35:36 +02:00
Steven Dake a729d132d6 Consume RDO packaged mariadb version
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
2018-01-21 19:19:57 +01:00
Mathias Ewald ed29f8730d Add sensu images
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-12-14 09:25:08 +00:00
Martin Mágr f413c6b411 Sensu images
This patch adds possibility to have container with sensu-client service.

Implements: blueprint container-healthchecks
Change-Id: I1c659ce38299d5497a80fa96dd2dd39bd40176c3
2017-05-30 13:31:38 +02:00