OpenStack charms should support logrotate configuration

Bug #1692118 reported by Jill Rouleau on 2017-05-19
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gnocchi Charm
Wishlist
Unassigned
OpenStack AODH Charm
Wishlist
Unassigned
OpenStack Barbican SoftHSM Charm
Wishlist
Unassigned
OpenStack Barbican-Vault Charm
Wishlist
Unassigned
OpenStack Ceph-FS Charm
Wishlist
Unassigned
OpenStack Ceph-Proxy Charm
Wishlist
Unassigned
OpenStack Designate Charm
Wishlist
Unassigned
OpenStack Designate-Bind Charm
Wishlist
Unassigned
OpenStack Keystone LDAP integration
Wishlist
Unassigned
OpenStack LXD Charm
Wishlist
Unassigned
OpenStack Manila Charm
Wishlist
Unassigned
OpenStack Manila Generic Backend Charm
Wishlist
Unassigned
OpenStack Nova Cell Controller Charm
Wishlist
Unassigned
OpenStack Nova Compute Proxy Charm
Wishlist
Unassigned
OpenStack Octavia Charm
Wishlist
Unassigned
OpenStack ceilometer charm
Wishlist
Unassigned
OpenStack ceilometer-agent charm
Wishlist
Unassigned
OpenStack ceph-mon charm
Wishlist
Unassigned
OpenStack ceph-osd charm
Wishlist
Unassigned
OpenStack ceph-radosgw charm
Wishlist
Unassigned
OpenStack cinder charm
Wishlist
Unassigned
OpenStack cinder-backup charm
Wishlist
Unassigned
OpenStack cinder-ceph charm
Wishlist
Unassigned
OpenStack glance charm
Wishlist
Unassigned
OpenStack glance-simplestreams-sync charm
Wishlist
Unassigned
OpenStack hacluster charm
Wishlist
Unassigned
OpenStack heat charm
Wishlist
Unassigned
OpenStack keystone charm
Wishlist
Unassigned
OpenStack neutron-api charm
Wishlist
Unassigned
OpenStack neutron-openvswitch charm
Wishlist
Unassigned
OpenStack nova-cloud-controller charm
Wishlist
Diko Parvanov
OpenStack nova-compute charm
Wishlist
David Coronel
OpenStack openstack-dashboard charm
Wishlist
Unassigned
OpenStack swift-proxy charm
Wishlist
Unassigned
OpenStack swift-storage charm
Wishlist
Unassigned

Bug Description

/etc/logrotate.conf has "rotate 4" set globally, on the assumption that everything rotates weekly. However /etc/logrotate.d/cinder-* configs are set to daily. OpenStack charms should expose interval type (daily, weekly, monthly) and rotate integer config values.

James Page (james-page) on 2017-07-27
Changed in charm-ceilometer:
status: New → Triaged
Changed in charm-cinder:
status: New → Triaged
Changed in charm-glance:
status: New → Triaged
Changed in charm-keystone:
status: New → Triaged
Changed in charm-neutron-api:
status: New → Triaged
Changed in charm-nova-cloud-controller:
status: New → Triaged
Changed in charm-nova-compute:
status: New → Triaged
Changed in charm-swift-storage:
status: New → Triaged
Changed in charm-ceilometer:
importance: Undecided → Wishlist
Changed in charm-cinder:
importance: Undecided → Wishlist
Changed in charm-glance:
importance: Undecided → Wishlist
Changed in charm-keystone:
importance: Undecided → Wishlist
Changed in charm-neutron-api:
importance: Undecided → Wishlist
Changed in charm-nova-cloud-controller:
importance: Undecided → Wishlist
Changed in charm-nova-compute:
importance: Undecided → Wishlist
Changed in charm-swift-storage:
importance: Undecided → Wishlist
Diko Parvanov (dparv) on 2019-03-26
Changed in charm-nova-cloud-controller:
assignee: nobody → Diko Parvanov (dparv)
Corey Bryant (corey.bryant) wrote :

I don't think any of the openstack charms provide log rotation config options so I'm going to add more charms to the affected projects.

Changed in charm-gnocchi:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-aodh:
importance: Undecided → Wishlist
status: New → Triaged
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

affects: charm-barbican → ubuntu
Changed in ubuntu:
importance: Undecided → Wishlist
status: New → Triaged
Changed in ubuntu:
status: New → Confirmed
Changed in charm-barbican-softhsm:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-barbican-vault:
importance: Undecided → Wishlist
status: New → Triaged
no longer affects: ubuntu

Fix proposed to branch: master
Review: https://review.openstack.org/648168

Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
Changed in charm-ceilometer-agent:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-fs:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-mon:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-osd:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-proxy:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-radosgw:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-cinder-backup:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-cinder-ceph:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-designate:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-designate-bind:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-glance-simplestreams-sync:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-hacluster:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-heat:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-keystone-ldap:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-lxd:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-manila:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-manila-generic:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-neutron-openvswitch:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-nova-cell-controller:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-nova-cloud-controller:
status: In Progress → Triaged
Changed in charm-nova-compute-proxy:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-octavia:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-openstack-dashboard:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-swift-proxy:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
David Coronel (davecore) on 2019-04-10
Changed in charm-nova-compute:
assignee: nobody → David Coronel (davecore)

Fix proposed to branch: master
Review: https://review.openstack.org/651606

Changed in charm-nova-compute:
status: Triaged → In Progress
Ryan Beisner (1chb1n) wrote :

Would it make sense to create a more generally useful logrotate subordinate charm?

Alex Kavanagh (ajkavanagh) wrote :

> Would it make sense to create a more generally useful logrotate subordinate charm?

Wouldn't that add a load of resource usage for basically a few config lines? (I may be very wrong here, though!) Also, I'm wondering if the config will be different for each charm - i.e. which logs to rotate, etc.

Ryan Beisner (1chb1n) on 2019-04-12
Changed in charm-nova-compute-proxy:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers