Commit Graph

234 Commits

Author SHA1 Message Date
Emilien Macchi e3c3041a91 Remove Kolla overrides
They aren't needed anymore since we switched to TCIB.

Change-Id: Iaaf544e9593396c540d7237cc3de0d6bbfbba0d9
2020-09-02 12:09:33 +00:00
Oliver Walsh 1c0af4466f Include virt-admin in the nova_libvirt container
This is required to alter the libvirt logging level at runtime.

Change-Id: I9c9351d5f86c7f4eac4e5042dae82c10a7011e96
2020-08-28 12:02:53 +00:00
Zuul 46f3055e5d Merge "Revert "Add kolla template override to remove python3-networking-mlnx"" 2020-06-05 07:21:03 +00:00
Moshe Levi 45d650bebc Revert "Add kolla template override to remove python3-networking-mlnx"
This reverts commit 0fda85ba0c.

Change-Id: I66c59f4456d010596df200e3c39c58d576e9ea5f
2020-06-03 07:04:44 +00:00
Marcin Juszkiewicz a527249cb8 Do not disable RabbitMQ and OpsTools repos.
Kolla disables those repos in https://review.opendev.org/#/c/725032/
patch. This breaks TripleO builds as they assume them to be enabled.

Change-Id: Id6ea8f2a73c5205c3b3626bac42a55a0763feef4
2020-05-17 13:33:37 +02:00
Cédric Jeanneret 8020ca4675 Remove validation related things from mistral container
Since validations don't rely on mistral anymore, it's time to remove
some useless package and user.

Change-Id: Ibcee290b4eb3ec3e5ee7af747a9ca7242863147f
2020-05-11 10:09:50 +02:00
Zuul 0157539464 Merge "Enable centos-release-opstools repo for centos-8" 2020-05-07 19:29:49 +00:00
Chandan Kumar (raukadah) b74f1fa69d Enable centos-release-opstools repo for centos-8
Since centos-release-opstools repo is now available for centos-7
and centos-8. So we do not need distro conditional for that.

Change-Id: I97e2bcd55f4bff448f9c492d8287ac08832010b2
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-04-29 14:58:48 +05:30
Ronelle Landy 0fda85ba0c Add kolla template override to remove python3-networking-mlnx
Starting with the ussuri release, python3-networking-mlnx is
added to the neutron-base container Dockerfile.
Since python3-networking-mlnx is not supported in all cases,
this patch adds an override to remove it when the container
is built.

Change-Id: I37497509ec7a61f815247c34c0703a75f18f0b6e
Related-Bug: BZ#1828353
2020-04-28 17:53:49 +00:00
Damien Ciabrini 5ec5abb796 mariadb: add pynacl dependency to support ed25519
In order to support configuration of ed25519 authentication,
puppet-tripleo uses a python helper that depends on pynacl.

Update the kolla config override to install pynacl in the mariadb
image to support the ed25519 use case.

Change-Id: I908b2af6acce25dfb115463f9d04b0e14c7cba33
Related-Bug: #1866093
2020-04-08 18:26:20 +02:00
Damien Ciabrini 0471705973 Fix placement dependencies to work with mysql's ed25519
In placement, mysql-migrate-db.sh calls the mysql CLI directly,
and when users are configured to authenticate via ed25519, mysql
CLI requires client_ed25519.so, which is provided by mariadb-server.

Partial-Bug: #1866093

Change-Id: I011d0056c34150420eb4b9dfde721a7f30a0e25a
2020-03-25 18:58:16 +01:00
Martin Schuppert dde8702afe Add libcgroup-tools to libvirt container
To reuse the tripleo containers when running libvirtd container
on OCP we need to run it via a wrapper script and create our own
cgroups and run libvirtd using cgexec to break out the default
OCP cgroup of the pod. Otherwise if the libvirtd pod gets
deleted/recreated all VMs get shutdown as OCP cleans up the
resources owned by the pod.

Change-Id: I469b4f51c57e1651f42064b0134aa3916af72d80
2020-03-19 12:22:46 +00:00
yatinkarel 578776e0ad Fixes for CentOS8 containers build
Following changes are needed for building CentOS8
containers:-
- centos-release-opstools repo is not available for
  CentOS8 yet, until it get's available it need not
  run in CentOS8.
- Highavailability repo need to be enabled for CentOS8
  to setup HA packages.
- Also add rabbitmq-server-3.7.* ro rabbitmq_packages
  remove list.
- remove influxdb from repo disable as it's not enabled
  for CentOS8.

Change-Id: I4c0c27f54717a2701388c138bbe40ffc0308e5f1
2020-02-07 22:10:14 +05:30
Dincer Celik 3a47fab66a Update template overrides for rabbitmq
Kolla will upgrade rabbitmq version to 3.8 for Ussuri, so need to update
tripleo template overrides. This adds the new pin, which will be cleaned
up on a follow on review.

Implements: blueprint rabbitmq-version-upgrade

Change-Id: I8a08b2e705e35d880f5fdacedf506009f00ac2fa
Closes-Bug: #1853801
2020-01-05 21:03:39 +00:00
Alex Schultz 4ee04749f7 Add horizon health check
The health check has existed for some time but needs to be included in
the container.

Change-Id: Ia8a9517a3e505ad47266b90bbc90425b119a4ea5
Related-Bug: #1856088
2019-12-11 13:43:25 -07:00
Emilien Macchi c2f520e6c5 Revert "Revert "Improve Swift healthchecks""
This reverts commit 6aa6a78fb7.

Depends-On: https://review.opendev.org/#/c/694122/
Change-Id: If455efc0702c2cfbd84b390bb9433a11e3fcebef
2019-11-14 06:19:22 +00:00
Emilien Macchi e8c16cf3de kolla/overrides: add missing healthcheck for ironic-neutron-agent
Not sure how we missed it but ironic-neutron-agent image was missing
its healthcheck script.

Change-Id: I6eca0eaec3f251414df7e92386f9c6978a212a81
2019-11-12 18:32:50 +00:00
Alfredo Moralejo 3feedacdb7 Adjust base_centos_yum_repo_packages for master
Kolla upstream is adding centos-release-openstack-train release rpm in
master branch after [1]. In tripleo builds this means it's configuring
both RDO Trunk master (delorean) repos and CloudSIG train repo. Mixing
both sets of repos can lead to undesired results so I'm removing
centos-release-openstack-train repo from config and letting
tripleo-repos configure as needed.

Also, I'm removing leftovers from old Ceph releases configuration.
Currently kolla is installing centos-release-ceph-nautilus so, tripleo
does not need to overrides it.

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

Change-Id: Ia551a7d2351bb91cc45e9c2d12f4afb4f6368bb7
2019-10-28 17:46:22 +01:00
Alex Schultz ff5055e90d Remove tacker container code
We commented this out back in late 2017 since they reogranized the
containers. Since no one has picked up this effort, let's drop this dead
code.

Change-Id: I45f0787e92eca59ab7eec09b2b199c5b1dbc4855
2019-10-04 22:06:04 +00:00
Alex Schultz 30c11a17c2 Cleanup override file
This change organizes the override template file into
header/packages/footer related sections and alphabetizes each of these.

Change-Id: I96734bf9381a5cff0b9af4aed6a25b9b2da412b6
2019-10-04 16:05:49 -06:00
Zuul 4d3cd050ec Merge "mistral-executor image install novajoin package" 2019-09-20 01:52:08 +00:00
Steve Baker 453bad6c77 mistral-executor image install novajoin package
This is required in a nova-less scenario where the provision workflow
needs to include the novajoin cloud-init script in the config_drive
data so that the provisioned node can be registered with FreeIPA.

Change-Id: Ie57ab22b72b172985a3fff02bb4d8915c9df4152
Blueprint: nova-less-deploy
2019-09-17 03:30:24 +00:00
Martin Magr 8dce07ff73 Activate health check script for qdrouterd image
Change-Id: Ibb94354dfc7053c02a366c4276f9858227b66303
2019-09-13 12:56:24 +00:00
Zuul 210bdb8897 Merge "Ensure working systemctl for Sensu" 2019-09-06 23:03:38 +00:00
Kevin Carter 516934ad85
Add empty block for "fluentd_monasca_plugin_install"
This change will add an empty block for `fluentd_monasca_plugin_install` to
ensure there are no plugins installed. In a proposed change in kolla, a new
block is being added specifically for the monasca plugins, which is causing
our container build process to fail in their external CI. By blocking this
out we'll maintain our expected stance of not installing any plugins.

Change-Id: Ic7f2d12073883bce4e03a48ff6a2515acf6298bf
Related-Change: https://review.opendev.org/675614
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-09-03 20:10:44 -05:00
Kevin Carter 54eeaf384b Add / Remove packages to support fluentd
Kolla is adding the td-agent package to their fluentd container. This
package is provided by a third-party and not something we want to
support at this time.

Depends-On: https://review.opendev.org/#/c/677063
Change-Id: I3a5a5ed0defe8ce0259e5c09eaec11814fd51054
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-08-18 18:25:19 +00:00
Martin Magr ee25b4f347 Ensure working systemctl for Sensu
This patch adds systemd-udev package. This package is not contained
on RHEL8 images by default which causes following error when the agent
is verifying container health from within the container:
"Failed to connect to bus: No data available"

More info: https://bugzilla.redhat.com/show_bug.cgi?id=1728226

Change-Id: I852bd75ab4a6fb8b48fd68ab70e804ec8e3c942d
2019-08-14 18:19:27 +02:00
Chandan Kumar (raukadah) c726273018 Revert "[RHEL8]Remove collectd-sensubility from collectd container"
Package is now available in RHUI.
Closes-bug: #1839423

This reverts commit 84d1fcdfff.

Change-Id: I63876b7975b9993722a1c37853f10e7227422476
2019-08-12 10:04:49 +00:00
Chandan Kumar (raukadah) 84d1fcdfff [RHEL8]Remove collectd-sensubility from collectd container
https://review.opendev.org/#/c/672547 adds collectd-sensubility
to the collectd image but it is not available in RHEL-8
leading to blocking the promotion pipeline.

In order to fix it, we are removing it from collectd
container till it is available.

Related-Bug: #1839423

Change-Id: Ie01c20a00287e0a58277db664dd0a278d317d814
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-08-09 07:27:00 +00:00
Shreshtha Joshi d815d651eb Minor fix for typo : replaces seccomp with libseccomp
Change-Id: I375e80c1b98a90d414b58635a2b7a4e745bdccf0
2019-08-02 17:28:40 +05:30
Martin Schuppert f6eb3c8db7 Add docker/podman packages to nova_libvirt container
The nova_libvirt containers need to be able to launch containers for
the virtlogd process to be not managed by paunch.

We only add docker if distro_python_version.startswith('2') . This
applies to
- nova_libvirt_packages_append
- neutron_metadata_agent_ovn_packages_append
- neutron_l3_agent_packages_append
- neutron_dhcp_agent_packages

Related-Bug: #1838272

Change-Id: I5829addb715c4836dd27750daa67f2e472084b34
2019-08-01 09:03:26 +02:00
Zuul 8b628b5fd0 Merge "Correct package name for ceilometermiddleware for swift" 2019-07-27 21:46:34 +00:00
Alex Schultz b40e95ec29 Set container=oci for our containers
Context see
https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2017-April/msg00011.html
https://github.com/projectatomic/oci-systemd-hook

Change-Id: Ic652a3e83de5331dbdbdff115659e60771596236
2019-07-22 13:29:03 +00:00
Alex Schultz 6a2c7848dd Correct package name for ceilometermiddleware for swift
Unfortunately swift is still python2 based on el8. Add a workaround
until it's cut over.

Change-Id: I1addfab5e41eb48a08c048e1801bb654d20cf8a9
2019-07-15 13:14:20 +00:00
Alex Schultz 3b15a4dcb7 Remove pika from container builds
In review of the usage within openstack, it doesn't appear to actually
be in use by any actual services. There is a few references in designate
(for a contrib file) and networking-cisco. Since this doesn't affect (or
is used by tripleo), let's drop this dependency.

Change-Id: Ia406cc91607d6612b60c61ab0636ddecf8c89061
2019-07-12 10:40:31 +00:00
Rabi Mishra 06b38c4ff8 Install dumb-init rpm
By default it's installed from source. Let's override it to
install the rpm.

Change-Id: I42745941c2d69138d8254dd396b7b110fff96a0f
2019-06-24 21:06:11 +05:30
Zuul 8a8aab0744 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-06-12 12:23:55 +00:00
jacky06 8cf8db2fa2 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I2cd4e71d53e37345da36f5f77efa7b506b74297b
2019-05-31 10:51:20 +08:00
Martin Schuppert 063e493418 Remove NovaConsoleauth Service
As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.

nova-consoleauth was deprecated in tripleo with:
I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f

This change now removes the NovaConsoleauth Service.

[1] https://docs.openstack.org/releasenotes/nova/rocky.html

Depends-On: https://review.opendev.org/658081

Change-Id: I21012e25a8f320dcea11d51f9a8cfa5d76520e78
Related-Bug: #1828414
2019-05-10 09:29:48 +00:00
Zuul bd65d1c9a6 Merge "nova: Remove nova-placement images and healthchecks" 2019-05-02 21:34:31 +00:00
Zuul bc3ddf4161 Merge "Update default Ceph container image to use to the Nautilus version" 2019-04-27 23:31:52 +00:00
Lee Yarwood 2ee6de2b70 nova: Remove nova-placement images and healthchecks
Depends-On: https://review.opendev.org/#/c/635141/
Change-Id: Ifcd14227d491001ab7d457e1abd54948b2d61c53
2019-04-23 15:03:58 +01:00
Giulio Fidente 05a1f1fad2 Update default Ceph container image to use to the Nautilus version
From the OpenStack Stein release we want to deploy the Ceph Nautilus
version; this change updates the default container image to use accoringly.

Depends-On: Id0de75e7459b9a8d993a87552b51cf6fdbd29687
Change-Id: I133cd0cd632e0ba6b5a844a89bf74a063cf50f07
2019-04-15 13:22:14 +00:00
Quique Llorente f8191dd20f Make ovn package python version aware
After merging [1] fedora28 container build is failing [2], the issue is
that fedora28 package name is python3-networking-ovn, this review uses
this name for python3 distros.

Closes-Bug: #1824141

[1] https://review.openstack.org/#/c/644587/
[2] http://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-fedora-28-master-containers-build-push/bab384a/logs/build.log.txt.gz

Change-Id: Ic01d8232cb9385c415fb46cdd401e4dff301e6ee
2019-04-10 14:24:29 +02:00
Zuul 313d715a8f Merge "Update required packages for octavia api" 2019-04-09 16:09:48 +00:00
Emilien Macchi 8ec33d15a5 Revert "Stop dumb-init usage"
Context: https://bugzilla.redhat.com/show_bug.cgi?id=1693752
We agreed that we need dumb-init upstream and downstream,
one of the reasons is to handle zombie processes in the
containers.

e.g. ssh connections in mistral_executor container,
created by Ansible playbook runs.

This reverts commit 89cbba272d.

Related-Bug: 1821854
Change-Id: I93f97f76b598da268a77ff356fb1bffddfddef5f
2019-03-29 12:41:18 +00:00
Zuul 48b3b1e23e Merge "Stop dumb-init usage" 2019-03-28 11:47:51 +00:00
Zuul 2b15637cec Merge "remove libvirt-daemon-driver-lxc" 2019-03-27 20:41:36 +00:00
Zuul ce62e7993f Merge "placement: Add mariadb to the placement-api container for upgrades" 2019-03-27 20:34:10 +00:00
Alex Schultz 89cbba272d Stop dumb-init usage
The dumb-init is actually installed by fetching it from github and
putting it in the base image. We don't actually want that for our usage.
Additionally a new block that overrode the entrypoint in the mariadb
container which now causes the mysql container to fail if dumb-init is
not installed.

Change-Id: I2228a0da506daf207ea402d3e5a0f156b629862a
Closes-Bug: #1821970
2019-03-27 14:09:53 -06:00