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
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)
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
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>
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
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
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
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
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
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
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
This patch adds possibility to have container with sensu-client service.
Implements: blueprint container-healthchecks
Change-Id: I1c659ce38299d5497a80fa96dd2dd39bd40176c3