fluentd: Add placement to list of supported services

Closes-Bug: #2095607
Change-Id: Ie1372ce307011c6f2560c7f1fcd520187810fab8
(cherry picked from commit fec66c1334fe798d073954002a668662065be277)
(cherry picked from commit 1845fb8100cc3f3031cfe238c091ecbb2224026f)
(cherry picked from commit 81c2d0725e313a149fcc3a847dae4c89d68592c9)
This commit is contained in:
Michal Nasiadka 2025-01-23 15:47:38 +01:00
parent 13e98d3db0
commit 6eb6fee6ee
3 changed files with 10 additions and 1 deletions

View File

@ -198,6 +198,8 @@ fluentd_input_openstack_services:
enabled: "{{ enable_nova | bool }}"
- name: octavia
enabled: "{{ enable_octavia | bool }}"
- name: placement
enabled: "{{ enable_placement | bool }}"
- name: tacker
enabled: "{{ enable_tacker | bool }}"
- name: trove

View File

@ -28,7 +28,7 @@ LogLevel info
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog "{{ log_dir }}/placement-api.log"
ErrorLog "{{ log_dir }}/placement-api-error.log"
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "{{ log_dir }}/placement-api-access.log" logformat
<Directory {{ wsgi_directory }}>

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes Apache and placement writing to the same log file.
Apache placement VirtualHost ErrorLog has been renamed to
``placement-api-error.log`` (similar to other services).
`LP#[2095607] <https://launchpad.net/bugs/2095607>`__