Add openvswitch and prometheus to logrotate

Closes-Bug: #1961795

Change-Id: I5547cce5c389846ed216bb898b78e45b8f231e1e
This commit is contained in:
Juan Pablo Suazo 2022-02-22 11:22:54 -03:00 committed by Michal Nasiadka
parent d25d490e4d
commit 80ee3f2e5c
4 changed files with 15 additions and 2 deletions

View File

@ -184,13 +184,14 @@
- { name: "monasca", enabled: "{{ enable_monasca | bool }}" }
- { name: "murano", enabled: "{{ enable_murano | bool }}" }
- { name: "neutron", enabled: "{{ enable_neutron | bool }}" }
- { name: "neutron-tls-proxy", enabled: "{{ neutron_enable_tls_backend |
bool }}" }
- { name: "neutron-tls-proxy", enabled: "{{ neutron_enable_tls_backend | bool }}" }
- { name: "nova", enabled: "{{ enable_nova | bool }}" }
- { name: "nova-libvirt", enabled: "{{ enable_nova | bool and nova_compute_virt_type in ['kvm', 'qemu'] }}" }
- { name: "octavia", enabled: "{{ enable_octavia | bool }}" }
- { name: "openvswitch", enabled: "{{ enable_openvswitch | bool }}" }
- { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq | bool }}" }
- { name: "placement", enabled: "{{ enable_placement | bool }}" }
- { name: "prometheus", enabled: "{{ enable_prometheus | bool }}" }
- { name: "rabbitmq", enabled: "{{ enable_rabbitmq | bool }}" }
- { name: "sahara", enabled: "{{ enable_sahara | bool }}" }
- { name: "senlin", enabled: "{{ enable_senlin | bool }}" }

View File

@ -0,0 +1,3 @@
"/var/log/kolla/openvswitch/*.log"
{
}

View File

@ -0,0 +1,3 @@
"/var/log/kolla/prometheus/*.log"
{
}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes logrotate config missing for openvswitch and
prometheus services.
`LP#1961795 <https://launchpad.net/bugs/1961795>`__