kolla/docker/base
Mark Goddard c5320eb223 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
2020-08-28 15:01:25 +00:00
..
apt_preferences get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
apt_preferences.debian Debian: use Ussuri binary packages 2020-04-29 23:09:06 +02:00
apt_preferences.ubuntu Follow up on RabbitMQ 3.8 upgrade 2020-04-06 23:12:07 +03:00
copy_cacerts.sh Custom CA certificates installation mechanism 2019-10-12 15:36:27 +00:00
crmsh.repo Enable repos only when needed 2019-11-29 11:38:06 +01: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
Dockerfile.j2 Merge "fluentd: migrate to td-agent 4 where possible" 2020-07-22 12:55:09 +00:00
dpkg_reducing_disk_footprint Reducing disk footprint for Ubuntu/Debian images 2016-08-05 15:52:46 +02:00
elasticsearch.repo Upgrade Elasticsearch and Kibana to 6.x 2020-04-09 18:03:49 +03:00
grafana.repo CentOS 8: disable repo_gpgcheck for grafana image 2020-01-30 12:49:46 +00:00
healthcheck_curl Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_filemod Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_listen Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_port Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
healthcheck_socket Build images with healthcheck scripts for core services 2019-12-09 12:57:10 +00:00
httpd_setup.sh CentOS 8: work around mod_ssl certificate issue 2019-12-21 14:35:18 +01:00
influxdb.repo CentOS: disable more repos 2020-05-17 11:34:12 +00:00
kolla_bashrc Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
rabbitmq_rabbitmq-erlang.repo Follow up on RabbitMQ 3.8 upgrade 2020-04-06 23:12:07 +03:00
rabbitmq_rabbitmq-server.repo Follow up on RabbitMQ 3.8 upgrade 2020-04-06 23:12:07 +03:00
set_configs.py Fix kolla_set_configs --check with a directory 2020-08-28 15:01:25 +00:00
sources.list get 'apt_*' options of kolla-build.conf working again 2019-10-17 03:39:40 -07:00
sources.list.debian Debian: use Ussuri binary packages 2020-04-29 23:09:06 +02:00
sources.list.ubuntu ubuntu: move to 20.04 Focal 2020-08-07 14:38:02 +00:00
sources.list.ubuntu.aarch64 ubuntu: move to 20.04 Focal 2020-08-07 14:38:02 +00:00
sources.list.ubuntu.ppc64le ubuntu: move to 20.04 Focal 2020-08-07 14:38:02 +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 fluentd: migrate to td-agent 4 where possible 2020-07-20 12:58:49 +02:00