From bf22f3dd09db1e110f0d15b13af7c7ae647c1674 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 20 Dec 2023 08:07:25 +0100 Subject: [PATCH] fluentd: Fix LE pos_file path after version bump Change-Id: Ia6db7d6a41ddbda8fcbf563dc55a0c65ef8db9be --- .../roles/common/templates/conf/input/11-letsencrypt.conf.j2 | 2 +- zuul.d/base.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2 b/ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2 index ad2f071028..6ebd7b164c 100644 --- a/ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2 +++ b/ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2 @@ -2,7 +2,7 @@ @type tail @log_level debug path /var/log/kolla/letsencrypt/letsencrypt-lego.log - pos_file /var/run/td-agent/letsencrypt.pos + pos_file /var/run/{{ fluentd_user }}/letsencrypt.pos tag infra.letsencrypt.lego enable_watch_timer false diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index 949337a5f5..7ab4b78dbd 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -283,6 +283,7 @@ voting: false files: - ^requirements-core.yml + - ^ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2 - ^ansible/roles/letsencrypt/ - ^ansible/roles/loadbalancer/ - ^tests/test-core-openstack.sh