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
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
The first two issues affect the fluentd container, which specifies
directories as the source, without using a glob. The third affects OVN
This patch fixes these issues.
(cherry picked from commit