| Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Ubuntu default-jre-headless is not working with kafka
Change-Id: Ic6ab66128efa931277516e0cf5848a816ca676ad
Closes-Bug: #1824847
|
|
|
|
When deploying osd, if the user does not use the extra block
partition, the kolla will automatically partition the disk and then
clean up the data on the disk partition. Sometimes the disk partition
will not be updated, there will be an error not finding the partition.
This commit fixes the problem.
Change-Id: I14708f38614dcb75268c2f460ae3d921748c2d10
Closes-bug: #1824787
|
|
|
|
|
|
If you run the horizon container with a restart policy of never, and the
static asset compression fails, the container fails to start, e.g. (seen
in CI)
++ /usr/bin/manage.py collectstatic --noinput --clear
Traceback (most recent call last):
File "/usr/bin/manage.py", line 18, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
However, with a restart policy of unless-stopped (the default). the
horizon container will fail the first time but will succeed after a
restart. This is because the settings bundle hash is updated before the
compression is attempted.
To fix this, update the hash after compression completes successfully.
Change-Id: I3f1682ed55e7d45c1e97a1b34c7993aa839f0bb2
Closes-Bug: #1824137
|
|
1. Install python3-pymysql in placement-base image.
2. Remove default placement WSGI config.
3. Use python3 for manage.py in horizon
Change-Id: Ibb620af2241e39fe99bc48757f90296c0d77d438
Partial-Bug: #1823989
|
|
Providing tools like "ps", "pgrep" and related is interesting since
it helps debugging a container in some cases.
It is also useful for healthchecks in case we want to fetch running
service PID and use it in another command, like "lsof".
Change-Id: I91b1c407caa6b03ae522e649592300f9eddfc07e
|
|
|
|
Usage of dumb-init can also be disabled from cli with
`--nouse-dumb-init` when building images.
Also moves ENTRYPOINT outside of dumb_init_installation
block.
Change-Id: Id32d54fc9913b83cf121ede5a5e265e0772062ae
Related-Bug: #1821970
|
|
Use the archive URL rather than the current release which has now moved
forward.
Change-Id: Iab73d3d13025a1498da8c5b573b4cacd8340d3a9
|
|
|
|
|
|
INFO:kolla.common.utils.kafka:Step 9/12 : RUN curl -sSL -o /tmp/kafka.tgz ${kafka_url} && echo "${kafka_pkg_sha512sum} /tmp/kafka.tgz" | sha512sum -c && tar --strip 1 -xvf /tmp/kafka.tgz -C /opt/kafka && rm -f /tmp/kafka.tgz
INFO:kolla.common.utils.kafka: ---> Running in 2b751bf5c975
INFO:kolla.common.utils.kafka:curl (http://apache.osuosl.org/kafka/1.0.2/kafka_2.12-1.0.2.tgz): response: 404, time: 0.198, size: 297
INFO:kolla.common.utils.kafka:/tmp/kafka.tgz: FAILED
INFO:kolla.common.utils.kafka:[91msha512sum: WARNING: 1 computed
checksum did NOT match
Closes-bug: #1822030
Change-Id: Ib9a1bc5c0a69f7780e600404601ae875561450cd
|
|
Because kolla not have cyborg so should add this.
Implements: blueprint add-cyborg
Change-Id: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd
|
|
Adding boto3 python library into gnocchi-base image
Change-Id: I22119f570172ca93de0587dc3892d8b8de86d525
Closes-bug: #1821580
|
|
When deploying ceph osd with kolla, each osd deployment will move the
host bucket to default in the crush map.
If we adjust the crush map, we have to re-adjust the crush map after
adding osd or fixing osd.
This commit fixes this problem.
Change-Id: Ifdc3a1fd5fe37da529b2aee9811b12f744cff3bf
Closes-bug: #1821681
|
|
|
|
|
|
|
|
|
|
The user tss is wanted by libvirt and comes with the trousers package.
Prior RHEL8 it comes via the gnutls -> trousers dependencies, but there is
no such a dependency in RHEL8, so make sure we have trousers installed.
Change-Id: I9f11ba53d5c6f0a435a62bb462164566c4519d9f
Closes-Bug: #1821309
|
|
|
|
While mysql_upgrade seems to work on CentOS images without specifying a
host and port, it fails on Ubuntu without these.
Change-Id: Ie140de57c4fe2f2e4db6a90c18e3535d9cc71ff2
Related-Bug: #1820325
|
|
|
|
Change-Id: Ic88ab9fabcfd0287d41e13606aba1290f6f7a011
Closes-Bug: #1806167
|
|
- introduce install_packages(..., chain=True) to allow chaining on
onto existing RUN commands
- introduce install_packages(..., clean) which defaults correctly
but allows you to override if you want to avoid doing extra
package manager cleanup
- refactored several calls in base to make use of these new features
In general this allows for macros.install_packages to be chained
after other calls
for example
RUN foo && {{ macros.install_packages(..., chain=True) }}
Change-Id: I4b2fe8e13ee3c0fffe77a1179a7af5b534496996
|
|
base_rhel_package_installation block had whitespace isses
depending on which branch of the if statement you had.
this resulted in a blank line in the continued "\ \n &&" rendered Dockerfile
Change-Id: I634f1bc01806e2606d611b3697e84b43278c4a9b
|
|
- pulled out the repeated code from 3
paths in base and moved it into docker/macros
- created macros.rpm_security_update
- made sure the new macro could be customized for cleanup caches
- update macro to use distro_package_manager
Change-Id: Ic79ff42d913e1cbb68be66743e4f79f0bcff47f5
|
|
|
|
non-x86/source"
|
|
- python*-oslo-upgradecheck was being installed in a number of different *-base containers that I checked
Change-Id: Iddd8a191e5523ec048dff324993abadcfc020132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tput is used in PS1 env, but nothing explicitly
makes sure that it is installed. Red Hat's ubi8 base image
only contains ncurses-base and ncurses-libs but not ncurses rpm
which provides the tput cli
Change-Id: I4f6b101195d245e14f6600b1edd9caafd25dcaac
|
|
fixes build issue under Debian:buster on AArch64:
In file included from confluent_kafka/src/confluent_kafka.c:17:
confluent_kafka/src/confluent_kafka.h:22:10: fatal error: librdkafka/rdkafka.h: No such file or directory
#include <librdkafka/rdkafka.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
Under Ubuntu it is still broken because librdkafka is too old.
Change-Id: I1e54645ea5805f985c9bd04f9936ea3edbebfd31
|
|
The code of Sahara plugins has been extracted during the Stein cycle.
Add support for:
- the source-based deployment method (a beta release of
the plugins is available on pypi) and
- the RPM-based method (RDO contains the packages for the plugins.)
This change is required also for the RPM method. Even if
the RPM packages of the plugins are linked through weak dependencies
to the sahara-api and sahara-engine packages (Supplements),
weak dependencies are currently disabled here.
Change-Id: I5241d84aa1ca2830cfdb60c1a3ff4e958a21b345
|
|
There are a couple of issues with the mariadb image currently.
1. it doesn't include mysql_upgrade on CentOS/RHEL. It is necessary to
run this after an upgrade of MariaDB. This is fixed by installing
mariadb-server-utils.
2. it inherits the standard dumb-init entrypoint from the base image,
which includes a --single-child argument. That causes signals to be
forwarded only to the process executed by dumb-init, which in the
case of kolla-ansible is mysqld_safe, however mysqld_safe ignores
SIGTERM. After a timeout, Docker then forcibly kills the container.
Executing dumb-init without --single-child ensures the TERM signal is
sent to mysqld, allowing it to shutdown gracefully.
Change-Id: I1a450736721863b91be1ea3d3c8948990de9fdeb
Closes-Bug: #1820325
|
|
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
|
|
Default to true (to maintain backward compatibility), this parameter
will allow to disable the Package cache cleaning when building the Kolla
images.
In TripleO, we are investigating how we can accelerate the builds by not
cleaning the Yum cache and this patch will help us to do so.
Also included same for deb package_install method.
Co-Authored-By: Jon Schlueter <jschluet@redhat.com>
Change-Id: I0adc85302dfe0411d362c899f3e0d6a0019680d4
|
|
|
|
|
|
|
|
|