diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index c30409f2bb..6f828cd816 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -2,9 +2,12 @@ [DEFAULT] debug = {{ nova_logging_debug }} -log_dir = /var/log/kolla/nova {% if service_name == "nova-super-conductor" %} log_file = /var/log/kolla/nova/nova-super-conductor.log +{% elif service_name == "nova-api" %} +log_file = /var/log/kolla/nova/nova-api.log +{% else %} +log_dir = /var/log/kolla/nova {% endif %} state_path = /var/lib/nova diff --git a/releasenotes/notes/bugfix-nova-api-log-file-name-9a377525e73012de.yaml b/releasenotes/notes/bugfix-nova-api-log-file-name-9a377525e73012de.yaml new file mode 100644 index 0000000000..f29da24c1a --- /dev/null +++ b/releasenotes/notes/bugfix-nova-api-log-file-name-9a377525e73012de.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes an issue where the Nova API logs were written to + files ending with `-wsgi.log` which affected the processing of + these logs in the Fluentd pipeline. + `LP#1950185 `__