kolla/docker/base
Mark Goddard 797ecd6ddb 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:08:58 +00:00
..
Dockerfile.j2 Use upstream Erlang on CentOS 8 2020-09-04 07:13:58 +00:00
apt_preferences get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
apt_preferences.debian kibana, nova-libvirt: handle it properly for non-x86 2020-03-17 17:10:41 +00:00
apt_preferences.ubuntu base: drop not used apt preferences for Ubuntu 2019-10-23 01:16:02 -07:00
ceph_master.repo CentOS 8: Use upstream Ceph/master 2020-02-26 11:58:51 +00:00
copy_cacerts.sh Custom CA certificates installation mechanism 2019-10-12 15:36:27 +00:00
crmsh.repo Add HAcluster containers 2019-07-18 11:29:37 -04: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 CentOS 8: base and openstack-base images 2020-02-26 09:14:46 +00:00
httpd_setup.sh CentOS 8: work around mod_ssl certificate issue 2020-01-14 13:16:41 +00: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-28 17:05:22 +00:00
rabbitmq_rabbitmq-erlang.repo Use upstream Erlang on CentOS 8 2020-09-04 07:13:58 +00:00
rabbitmq_rabbitmq-server.repo CentOS 8: base and openstack-base images 2020-02-26 09:14:46 +00:00
set_configs.py Fix kolla_set_configs --check with a directory 2020-09-14 10:08:58 +00:00
sources.list get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
sources.list.debian kibana, nova-libvirt: handle it properly for non-x86 2020-03-17 17:10:41 +00:00
sources.list.ubuntu Drop Percona XtraBackup in favour of MariaDB Backup 2019-09-12 14:14:08 +02:00
sources.list.ubuntu.aarch64 Move to MariaDB upstream repo and new version (10.3) on Ubuntu 2019-08-31 06:35:43 +00:00
sources.list.ubuntu.ppc64le Move to MariaDB upstream repo and new version (10.3) on Ubuntu 2019-08-31 06:35:43 +00:00
start.sh Custom CA certificates installation mechanism 2019-10-12 15:36:27 +00:00
sudoers Custom CA certificates installation mechanism 2019-10-12 15:36:27 +00:00
td.repo CentOS 8: base and openstack-base images 2020-02-26 09:14:46 +00:00
yum.conf Skip the install of documentation files from rpm 2018-03-21 20:26:38 +01:00