kolla/docker/base
Mark Goddard c6835b12a6 Fix kolla_set_configs --check with a directory
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 c5320eb223)
2020-09-14 10:09:05 +00:00
..
Dockerfile.j2 Fix ironic build issues - LANG related 2020-09-03 10:06:09 +00:00
apt_preferences get 'apt_*' options of kolla-build.conf working again 2019-11-05 12:20:02 +00:00
apt_preferences.debian kibana, nova-libvirt: handle it properly for non-x86 2020-03-17 18:15:13 +01:00
apt_preferences.ubuntu Fix issues with Percona in Zuul and clean up a little bit 2019-06-14 12:52:37 +02:00
crane.repo Add crane docker image 2018-09-21 13:54:29 +02:00
curlrc add curlrc file to base image 2016-06-02 18:20:48 +02:00
dnf.conf Add distro_package_manager configuration 2019-03-12 18:24:29 +00:00
dpkg_reducing_disk_footprint Reducing disk footprint for Ubuntu/Debian images 2016-08-05 15:52:46 +02:00
elasticsearch.repo Update elasticsearch and kibana version to 5.x 2018-07-09 17:57:41 +01:00
grafana.repo Fix grafana repo 2019-01-09 13:31:15 +08:00
influxdb.repo Customization for base 2016-08-29 19:32:57 +00:00
kolla_bashrc Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
opendaylight.repo Change ODL repo to nexus.opendaylight.org 2019-10-30 11:47:11 +00:00
oraclelinux-extras.repo Add centos-extras repo to oraclelinux-base 2016-03-09 17:14:55 +00:00
percona-release.repo Fix issues with Percona in Zuul and clean up a little bit 2019-06-14 12:52:37 +02:00
rabbitmq_rabbitmq-server.repo Move to the latest rabbitmq 2018-09-11 17:19:33 +01:00
set_configs.py Fix kolla_set_configs --check with a directory 2020-09-14 10:09:05 +00:00
sources.list get 'apt_*' options of kolla-build.conf working again 2019-11-05 12:20:02 +00:00
sources.list.debian kibana, nova-libvirt: handle it properly for non-x86 2020-03-17 18:15:13 +01:00
sources.list.ubuntu Fix issues with Percona in Zuul and clean up a little bit 2019-06-14 12:52:37 +02:00
sources.list.ubuntu.aarch64 debian/ubuntu: make use of Python3 based packages 2019-02-28 13:06:24 +01:00
sources.list.ubuntu.ppc64le debian/ubuntu: make use of Python3 based packages 2019-02-28 13:06:24 +01:00
start.sh Enable xtrace on start scripts 2017-08-16 17:13:28 +01:00
sudoers Remove /usr/bin/install from allowed commands 2016-12-18 20:48:27 +00:00
td.repo Move fluentd td.repo to base for consistency 2017-02-08 12:48:50 +00:00
yum.conf Skip the install of documentation files from rpm 2018-03-21 20:26:38 +01:00