| Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch is adding libffi-dev to build_packages
for Debian/Ubuntu which is fixing monasca-grafana build.
Change-Id: I67f93687d70f1c8c92719857cbf74971d9a17ae6
(cherry picked from commit 88d48953357c67de14ff83f0361825b05fc71a07)
|
|
|
|
nova-compute uses daxio to cleanup vpmem backend device on instance
delete. If the daxio binary is missing in the nova-compute container
instance delete fails. daxio is provided in centos via daxio, in
ubuntu via the pmdk-tools package.
Conflicts:
docker/base/apt_preferences.debian
Also:
nova-compute: daxio on CentOS 8 is x86-64 only
Change-Id: Ifb5948653565e2ae902783762e20e33527020efe
Closes-Bug: 1907124
(cherry picked from commit 6176d54179109e85dee5ebc29a7726bcb05f76a9)
(cherry picked from commit 40a1c7a6ebabb1554e0ce7b54d6b356c2bac1ce5)
(cherry picked from commit 14b96abd6f6a6671d4dc97035b9ece61145cdcf2)
|
|
backup_full() saves the history name in $BACKUP_DIR/last_full_date.
backup_incremental() attempts to read from $BACKUP_DIR/last_full_date
into $LAST_FULL_DATE. After the read attempt; if $LAST_FULL_DATE is zero
length then $(date +%d-%m-%Y) is used.
Change-Id: I4172b814d5d95ae3debbc1cf3feaeee2e2bec9bd
Closes-bug: 1897948
(cherry picked from commit ccfe65b5f7fe437141f342421488c176038fddb0)
|
|
|
|
Backport this until Train.
CentOS 8.3 renamed system repos. [1]
This caused failures when disabling and enabling.
More details in the referenced bug report.
Notice CentOS 8.2 and below will no longer work.
Train backport also includes some fixes for the
fallout from the new pip resolver.
* cap bandit<1.6.3, since bandit no longer supports
Python 2.
* mark kuryr-libnetwork unbuildable for source
images.
* mark almanach-base & dragonflow-base unbuildable
for Debian & Ubuntu source images.
* Don't install networking-hyperv in source
neutron-server images. pip complains of a conflict.
(https://bugs.launchpad.net/kolla/+bug/1907826)
[1] https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2011#Yum_repo_file_and_repoid_changes
Change-Id: I2d67b3ed7b7c521bc755ec9a87365c9962a9eeff
Closes-Bug: #1907213
Closes-Bug: #1907826
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Depends-On: https://review.opendev.org/766211
Depends-On: https://review.opendev.org/767157
|
|
Curator got requirements sorted out upstream and builds fine now without
hack.
This reverts curator part of https://review.opendev.org/c/openstack/kolla/+/755339/
Change-Id: Iabe5b9684a7bf0e39a7dca824e6705b5069560bf
(cherry picked from commit 7db2f100195c7aecde449e47d758c784850bd456)
|
|
boto part cherry picked from change [1].
Disabling mongodb build due to missing packages in CentOS repos.
[1]: https://review.opendev.org/755339/
Change-Id: Idf980eedcd318b88101b3a82442b9b99838fd84c
(cherry picked from commit 34460d636e9e62f30a0d17eda2d743658ccb0b33)
|
|
|
|
The script should check for heat_user_domain explicitly instead of matching on "heat"
Closes-Bug: #1839824
Change-Id: Iac83444487d2aa96a0f90086029f43922d1e7856
(cherry picked from commit 5e946cac490077011709c7587dc5e0b06927464f)
|
|
This fixes the FC Cinder backend usage in Nova.
Change-Id: I036cfe3af3dd96625f986a820c78a10e6558b086
Closes-bug: #1884484
(cherry picked from commit 0c8702c96f852eae7a1fb784a260c01c15fb86f3)
|
|
This patch adds the installation of collectd-libpod-stats as part of the
collectd image. The package is available in the centos-opstools repo.
Collectd-libpod-stats monitors resource usage of running containers on a
host, specifically those managed by the libpod library.
Adapted for Train to affect only CentOS/RHEL 8 image.
Upstream: https://github.com/pleimer/collectd-libpod-stats
Change-Id: I12efbaae9c0795f29c2f68158127509fd1b543b0
Signed-off-by: pleimer <pfbleimer@gmail.com>
(cherry picked from commit 094a49d41dd1f071cf5f6ac4220611e0ddd69c40)
(cherry picked from commit ce7cd478449227acd0eca7fdd1670624efc22f3b)
|
|
|
|
The horizon image copies the masakari dashboard's policy file to Python
site packages, but it should go to /etc/openstack-dashboard. This allows
the dashboard to be seen by non-admins, although it fails to load.
We get an error like the following in horizon.log:
No policy rules for service 'instance-ha' in
/etc/openstack-dashboard/masakari_policy.json
This change fixes the issue.
Change-Id: I8ede183c76a830de06ce6524dc3f6f6944b182c1
Closes-Bug: #1894240
(cherry picked from commit 4f44870376f47c6a65bd02cc83d2ef39fd1f5ae9)
|
|
There are several issues with kolla_set_configs --check:
1. We calculate the destination path incorrectly when comparing a file
in a directory, due to passing arguments to os.path.relpath in the
wrong order
2. For directories that have not changed, we also attempt to compare
them as files, which fails when they are open()ed.
3. If the config JSON does not have a config_files key, it fails with a
KeyError.
The first two issues affect the fluentd container, which specifies
directories as the source, without using a glob. The third affects OVN
containers.
This patch fixes these issues.
Closes-Bug: #1890567
Change-Id: I8921befe51da4282121443849177a7ca5ebe8822
(cherry picked from commit c5320eb22386c34d83435fa0b9aa03b178996b52)
|
|
Gnocchi supports both, but cradox is not actively maintained.
Change-Id: I3d9547237ffa3ee02c306376f0e553fce5472e57
(cherry picked from commit 934d0b21f8f709f44f795b6629ddf8cfd65f7be8)
(cherry picked from commit 9bbc7531e249032ad6f5647863db21d88322f7f2)
|
|
|
|
Train only.
In CentOS 8 Train we had a mix of rmq upstream and rdo packages,
erlang was from RDO and rmq (3.7) from rmq.
As this is not really tested by any other party, I propose to
unify the sources of both.
Change-Id: I52094ce9e3d98cbdedfdc23c8a43dd3093ce1771
Closes-bug: #1884034
|
|
Change-Id: I2b4cfdb25f3ff82d8d6fdebba8b75a818c10a388
(cherry picked from commit 9ca43b9ed7814045a0219e17524f4e2aed2f1771)
|
|
Switch to YAJI JSON parser as suggested in [1].
[1] https://docs.fluentd.org/quickstart/faq#i-got-encoding-error-inside-plugin-how-to-fix-it
Closes-Bug: #1889065
Change-Id: I2ecd3b029b956e000feaaa9e10a169521ba53d66
(cherry picked from commit 556d4353aa846765557cfdd3c6e087a25248c517)
|
|
This reverts commit ca8b61516401d61d90e2940fa130c8f55a8b6e45.
This is to fix recent breakage caused by setuptools and virtualenv
incompatibilities.
Includes bifrost version bump to fix its building.
Change-Id: Ia6c415b18374cefa3f160229d1f58cb209df348e
Closes-Bug: #1893920
Depends-On: https://review.opendev.org/749576
|
|
Train only.
The version of libvirt-python allowed by upper-constraints in Train
(5.7.0) does not support CentOS 8. This prevented the masakari-monitors
image from building.
This change modifies the upper constraints file in the masakari-monitors
image to use 5.10.0, the earliest version that does support CentOS 8.
Change-Id: Ia980be14fdf9c4fc15bb379b940ae491de035725
|
|
Logstash 6 introduced in Centos 8 in Train release comes with log4j2
configuration that does not remove old compressed logs after rotation
Log rotation config backported from Logstash 7 - Combination of Size
Based and Time Based policies. Deletion occurs after 30 days or
3000 MB log files size - whichever comes first.
Change-Id: Ib44f493aad0813a8aba916c7c353b60cab954b5f
(cherry picked from commit 15f2af1b0217da0a0281268442202f22915570a1)
Closes-Bug: #1886975
|
|
|
|
Change-Id: Ia2306507d6ef97f01ff520dc4222bc48c1eb9843
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
|
|
A bit like we did for I3e0e86026f5a4a78473bed824cd1682d3a020cd5 we
should remove the nss-systemd lookup from containers. The reasons for
this are as follows:
1) Just like for I3e0e86026f5a4a78473bed824cd1682d3a020cd5
when this nss module is triggered it tries to talk to dbus.
It triggers a bunch of selinux denials and it makes little sense
to open all containers to talk to dbus.
In particular, if a container is run as non-privileged and bind-mounts
/run from the host, we will hit selinux denials like the following:
type=USER_AVC msg=audit(1592337775.860:74119): pid=1284 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus member=Hello dest=org.freedesktop.DBus spid=406228 scontext=system_u:system_r:container_t:s0:c162,c886 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=dbus permissive=0 exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'UID="dbus" AUID="unset" SAUID="dbus"
2) It just makes little sense in a kolla-world to have containers
talk to dbus/systemd and it saves us some time when a lookup triggers
the systemd module for whatever reason. Especially because the
nss-systemd module does a few things which are not useful in a container
(ensures that the root and nobody users and groups remain resolvable,
SystemD's DynamicUser= feature, provide Lookup API via Varlink)
The sed regex gives us the wanted results:
$ diff -u /etc/nsswitch.conf.orig /etc/nsswitch.conf
--- /etc/nsswitch.conf.orig 2020-06-19 07:18:10.974580755 +0000
+++ /etc/nsswitch.conf 2020-06-19 07:20:12.260230103 +0000
@@ -53,9 +53,9 @@
# group: db files
# In order of likelihood of use to accelerate lookup.
-passwd: sss files systemd
+passwd: sss files
shadow: files sss
-group: sss files systemd
+group: sss files
hosts: files dns myhostname
services: files sss
netgroup: sss
Related-Bug: #1883849
Change-Id: I81e5b7abf4571fece13a029e25911e9e4dece673
(cherry picked from commit dc2ddfa9750f94430a5b04b62fc1fa6adcb234f8)
|
|
|
|
|
|
|
|
Kolla provides log aggregation, but no solution to set retention periods
for aggregated logs. It therefore accumulates log data indefinitely unless
a user manually intervenes. This change adds Elasticsearch Curator which
provides a mechanism for automating such retention periods [1].
[1] https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html
The container contains cron to support running Curator periodically.
Change-Id: Ief2c554a64ef6cc971635d7e2a718f63c310fbf6
(cherry picked from commit 37de8920aa7394089731c0fae75034c2c3d137ca)
|
|
Fix offline installation of language pack packages.
Change-Id: I9f4a21bbf1c8383e21e59350206aba3424602270
Closes-bug: #1883233
(cherry picked from commit f9def021d86caecfd57018f41792f8a7c6bc6a80)
(cherry picked from commit 714e1feaea947b6a014d34e5a9cecfc777472ca1)
|
|
|
|
|
|
In the Centos8 images, Storm fails to start since it cannot find
Python. This patch ensures that it can by setting the PYTHON env
var.
Change-Id: If6663b2f6dfadfd6a6db5e4aaca4eb782b87161f
Closes-Bug: #1876461
|
|
On Centos 8 we have Elasticsearch and Kibana 6, but Logstash (used by
Monasca) is stuck on 2 which is not compatible. See the product
compatibility matrix [1]. This adds Logstash 6, so that Monasca
can use the full ELK 6 stack on Centos 8.
Note that Monasca doesn't officially support ELK 6, but it does work.
[1] https://www.elastic.co/support/matrix#matrix_compatibility
Partial-Bug: #1884090
Change-Id: Id6f79e301cc109a029913f5628bab1848c138e7f
|
|
Change-Id: I0c872bc404b3df96b9da58b8efe3b64c174d9c48
Closes-Bug: #1884203
|
|
We need to be sure that we use exact same version every time. So fetch
upper-constraints.txt file earlier and use it while installing
virtualenv package.
Change-Id: I61711a878b2bda9f0d2e88966f13121dfcddfda7
(cherry picked from commit 13f9303b96502dba9d8696909f7e27f44675574a)
|
|
setuptools is missing from infra image - so it needs to be installed.
Copy cat of a kolla-ansible change: https://review.opendev.org/#/c/735808/
Fixes also cyborg-api to use py3 mod_wsgi in centos8
Temporarily disables masakari-monitors build, because it fails on centos8
due to problems with libvirt-python===5.7.0 (upper-constraints):
Missing type converters:
virTypedParameterPtr:1
ERROR: failed virConnectSetIdentity
Depends-On: https://review.opendev.org/#/c/736744/
Change-Id: I6068abcbc0e73eeab77b0aa99983a95adc6defd3
|
|
This allows to write collected data via amqp.
Change-Id: Ieb88fd60d177f19a635ada9366193e57c516f90b
(cherry picked from commit 8bfa655007e9795ee6b4eba09cba4f403c113b48)
|
|
ovs images which based on centos miss libibverbs package.
this ps add the package to neutron-ovs-agent and ovs-base
images.
Closes-Bug: 1882863
Change-Id: I3e307efc43f934a944a91d5d131a11f607411df2
(cherry picked from commit 6d71ac843e85126bfe35c9a39d64c1767d360c74)
(cherry picked from commit 5bd7d3fc7adde6d0f87c6dcb0ce497fd94bf0601)
|
|
Both issues affect Train and earlier releases.
1. Fix monasca-grafana by pinning more Ruby gems
childprocess 3.0.0 and ffi 1.13.0 depend on Ruby 2.3.
2. Bump bifrost to 7.2.1
Bifrost had a fix to stop using the master branch of DIB which dropped
support for Python 2.
Change-Id: Ida7e20833360bbca69c6aafc4f5d7cb375bb106f
Closes-Bug: #1882070
|
|
`ndctl` is a utility for managing the nvdimm subsystem required
by Nova for attaching PMEM(persistent memory) namespaces to guests [0].
[0]: https://docs.openstack.org/nova/latest/admin/virtual-persistent-memory.html
Change-Id: I8ed1b6c1d0985b2a73206bd9249a5664cd80c912
Closes-Bug: #1870455
(cherry picked from commit f9ea23d940ec4ce35d503ac62f202daaa9db502d)
|
|
|
|
There are cases when epel repos are not setup in
that case dnf config-manager will fail.
Let's ignore the failure in such cases.
This change is needed only for Train branch.
Change-Id: Ic1b74ccc7c8e6ee2e4c025e8b29150d1a1d96f2f
Partially-Implements: blueprint centos-rhel-8
Signed-off-by: Bhagyashri Shewale <bshewale@redhat.com>
|
|
1. When cyborg images build completed, the /etc/cyborg folder is not
exits, and there is not confs, especially the api-paste.ini
2. When masakari images build completed, it's configs is missing,
this ps add them together
cyborg should keep consistence with the other images[1], this PS
to add it.
[1]: https://github.com/openstack/kolla/blob/master/docker/nova/nova-base/Dockerfile.j2#L137
Change-Id: I8a802617952f80cfb9f906398054ef6d17559589
(cherry picked from commit 2e6d2f144cd2de18193d9d87d36c95dfb75fb1b7)
|
|
|
|
RDO builds of stable/train for CentOS 8 went into phase when we do not
need to use delorean builds.
EPEL is disabled like it is in Ussuri (RDO packages may conflict with
it).
Erlang for RabbitMQ is used from CentOS 8 'rabbitmq-38' repo while
RabbitMQ is still 3.7.* from same place as usual.
'python3-pika' is dropped from openstack-base as it is EPEL only package
and is not used by any image (dropped in Ussuri in
https://review.opendev.org/#/c/710003/ patch)
AArch64 is not supported until CentOS 8.2 release.
Change-Id: I9d3ed54f4d10ef7ad2d52ed3aeca15f3968cd163
|
|
In Train kolla switched to Python 3 in Debian and Ubuntu source images.
For services running under httpd with mod_wsgi, they should install
libapache2-mod-wsgi-py3 rather than libapache2-mod-wsgi. This was done
for most images, but cyborg and monasca were omitted. This change fixes
that.
Change-Id: I25cfa62dbf20490685617b4a4185bf95ab91725e
Closes-Bug: #1873421
(cherry picked from commit f5d31da12fa66cedfc2e270b8cd3be8e2bb9254b)
|
|
Glance API image lacked nfs programs/utils to be able to mount
NFS exports.
This affected Glance usage with Cinder backend when NFS was used
as Cinder backend.
Closes-Bug: #1868574
Change-Id: I3aac1e6a7f7c5f839b036f15713af949fba206cc
(cherry picked from commit cac9d46aa6dbac6631bdcae67db125a88e1c3234)
|
|
|