diff --git a/ansible/roles/common/tasks/config.yml b/ansible/roles/common/tasks/config.yml index 79851c2a4c..186290529e 100644 --- a/ansible/roles/common/tasks/config.yml +++ b/ansible/roles/common/tasks/config.yml @@ -225,6 +225,7 @@ - { name: "nova-libvirt", enabled: "{{ enable_nova | bool and nova_compute_virt_type in ['kvm', 'qemu'] }}" } - { name: "octavia", enabled: "{{ enable_octavia | bool }}" } - { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq | bool }}" } + - { name: "placement", enabled: "{{ enable_placement | bool }}" } - { name: "rabbitmq", enabled: "{{ enable_rabbitmq | bool }}" } - { name: "sahara", enabled: "{{ enable_sahara | bool }}" } - { name: "senlin", enabled: "{{ enable_senlin | bool }}" } diff --git a/ansible/roles/common/templates/cron-logrotate-placement.conf.j2 b/ansible/roles/common/templates/cron-logrotate-placement.conf.j2 new file mode 100644 index 0000000000..3df479c0d0 --- /dev/null +++ b/ansible/roles/common/templates/cron-logrotate-placement.conf.j2 @@ -0,0 +1,3 @@ +"/var/log/kolla/placement/*.log" +{ +} diff --git a/releasenotes/notes/bug-1954723-2d49335022492891.yaml b/releasenotes/notes/bug-1954723-2d49335022492891.yaml new file mode 100644 index 0000000000..9c6c115f4a --- /dev/null +++ b/releasenotes/notes/bug-1954723-2d49335022492891.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes Placement no logrotate configuration + `LP#1954723 `__