Missing logrotate services

Bug #1961795 reported by Juan Pablo Suazo
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Juan Pablo Suazo
Victoria
Fix Released
Medium
Unassigned
Wallaby
Fix Released
Medium
Unassigned
Xena
Fix Released
Medium
Unassigned
Yoga
Fix Released
Medium
Juan Pablo Suazo

Bug Description

Log are not being rotated.

When logrotate is configured in kolla-ansible/ansible/roles/common/tasks/config.yml: libvirt, openvswitch and prometheus services are missing.

...
cron_logrotate_services:
      - { name: "ansible", enabled: "yes" }
      - { name: "aodh", enabled: "{{ enable_aodh | bool }}" }
      - { name: "barbican", enabled: "{{ enable_barbican | bool }}" }
      - { name: "blazar", enabled: "{{ enable_blazar | bool }}" }
      - { name: "ceilometer", enabled: "{{ enable_ceilometer | bool }}" }
      - { name: "chrony", enabled: "{{ enable_chrony | bool }}" }
      - { name: "cinder", enabled: "{{ enable_cinder | bool }}" }
      - { name: "cloudkitty", enabled: "{{ enable_cloudkitty | bool }}" }
...
      - { name: "kibana", enabled: "{{ enable_kibana | bool }}" }
      - { name: "kuryr", enabled: "{{ enable_kuryr | bool }}" }
      # Missing Services
      # - { name: "libvirt", enabled: "yes" }
      # - { name: "openvswitch", enabled: "{{ enable_openvswitch | bool }}" }
      # - { name: "prometheus", enabled: "{{ enable_prometheus | bool }}" }
      - { name: "magnum", enabled: "{{ enable_magnum | bool }}" }
      - { name: "manila", enabled: "{{ enable_manila | bool }}" }

Changed in kolla-ansible:
assignee: nobody → Juan Pablo Suazo (jsuazo)
description: updated
description: updated
Changed in kolla-ansible:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/830433
Committed: https://opendev.org/openstack/kolla-ansible/commit/80ee3f2e5c244b271a7131665f68c7f1655c3c4c
Submitter: "Zuul (22348)"
Branch: master

commit 80ee3f2e5c244b271a7131665f68c7f1655c3c4c
Author: Juan Pablo Suazo <email address hidden>
Date: Tue Feb 22 11:22:54 2022 -0300

    Add openvswitch and prometheus to logrotate

    Closes-Bug: #1961795

    Change-Id: I5547cce5c389846ed216bb898b78e45b8f231e1e

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/830712

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/830713

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/830714

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/830714
Committed: https://opendev.org/openstack/kolla-ansible/commit/7d2bbbad021b2061679bc3479073ba84b7a62643
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 7d2bbbad021b2061679bc3479073ba84b7a62643
Author: Juan Pablo Suazo <email address hidden>
Date: Tue Feb 22 11:22:54 2022 -0300

    Add openvswitch and prometheus to logrotate

    Closes-Bug: #1961795

    Change-Id: I5547cce5c389846ed216bb898b78e45b8f231e1e
    (cherry picked from commit 80ee3f2e5c244b271a7131665f68c7f1655c3c4c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/830713
Committed: https://opendev.org/openstack/kolla-ansible/commit/4a2d6b385b477615fede4b3bb4d56d27e892ed17
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 4a2d6b385b477615fede4b3bb4d56d27e892ed17
Author: Juan Pablo Suazo <email address hidden>
Date: Tue Feb 22 11:22:54 2022 -0300

    Add openvswitch and prometheus to logrotate

    Closes-Bug: #1961795

    Change-Id: I5547cce5c389846ed216bb898b78e45b8f231e1e
    (cherry picked from commit 80ee3f2e5c244b271a7131665f68c7f1655c3c4c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/830712
Committed: https://opendev.org/openstack/kolla-ansible/commit/98a462cd53a826cd2e6027258e2e1bce0810d0f5
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 98a462cd53a826cd2e6027258e2e1bce0810d0f5
Author: Juan Pablo Suazo <email address hidden>
Date: Tue Feb 22 11:22:54 2022 -0300

    Add openvswitch and prometheus to logrotate

    Closes-Bug: #1961795

    Change-Id: I5547cce5c389846ed216bb898b78e45b8f231e1e
    (cherry picked from commit 80ee3f2e5c244b271a7131665f68c7f1655c3c4c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 14.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 11.4.0

This issue was fixed in the openstack/kolla-ansible 11.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 12.4.0

This issue was fixed in the openstack/kolla-ansible 12.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.1.0

This issue was fixed in the openstack/kolla-ansible 13.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.