No logrotate config for /var/lib/mysql/*/log/*

Bug #1880083 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Router Charm
Fix Released
Medium
Shayan

Bug Description

The mysql-router package does not appear to provide logrotate files.

However, given the charm has custom configuration that places each mysql-router instance in a separate folder under /var/lib/mysql, including logs, it would probably be the responsibility of the charm to provide this.

James Page (james-page)
Changed in charm-mysql-router:
status: New → Triaged
importance: Undecided → Medium
Shayan (shayanp)
Changed in charm-mysql-router:
assignee: nobody → Shayan (shayanp)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-mysql-router (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-mysql-router (master)

Reviewed: https://review.opendev.org/c/openstack/charm-mysql-router/+/835080
Committed: https://opendev.org/openstack/charm-mysql-router/commit/d9a1bb7965a4f418847ab4c7790869b36e41025e
Submitter: "Zuul (22348)"
Branch: master

commit d9a1bb7965a4f418847ab4c7790869b36e41025e
Author: Shayan Patel <email address hidden>
Date: Thu Mar 24 08:48:18 2022 -0400

    Add logrotate template rendered upon installation

    There are no logrotate configurations for the mysql router logs.
    This PR introduces a template rendered upon installation of the charm.
    A maximum of 10 log files (10M each) are retained.

    Change-Id: I18376228af4ca809c10a1b138ceb96459686daa4
    Closes-Bug: #1880083

Changed in charm-mysql-router:
status: In Progress → Fix Committed
Changed in charm-mysql-router:
milestone: none → 22.04
Changed in charm-mysql-router:
status: Fix Committed → Fix Released
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.