glance-tls-proxy log rotate is enabled when glance-tls-proxy is not

Bug #1890439 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Michal Nasiadka
Ussuri
Fix Committed
Medium
Mark Goddard
Victoria
Fix Released
Medium
Michal Nasiadka

Bug Description

Observed in master CI
/var/log/kolla/glance-tls-proxy directory gets created, but is not writable:

2020-08-05 11:17:55 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="out_file: `/var/log/kolla/glance-tls-proxy/glance-tls-proxy.20200805.log.gz` is not writable"

We shouldn't run log rotate tasks for glance-tls-proxy when it's not deployed.

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

Fix proposed to branch: master
Review: https://review.opendev.org/744900

Changed in kolla-ansible:
assignee: nobody → Michal Nasiadka (mnasiadka)
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/744900
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=aed9f84fe9a486c4acc975458fe4693c714d408f
Submitter: Zuul
Branch: master

commit aed9f84fe9a486c4acc975458fe4693c714d408f
Author: Michal Nasiadka <email address hidden>
Date: Wed Aug 5 14:49:48 2020 +0200

    Fix glance-tls-proxy logrotate and fluentd log permissions

    Change-Id: Iabc0115d3476a626df134cc70cb473bf6e72487e
    Closes-Bug: #1890439

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/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/758067

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

Reviewed: https://review.opendev.org/758067
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=24c1450decbf914ab5a72796d7cd4dc29157fd45
Submitter: Zuul
Branch: stable/ussuri

commit 24c1450decbf914ab5a72796d7cd4dc29157fd45
Author: Michal Nasiadka <email address hidden>
Date: Wed Aug 5 14:49:48 2020 +0200

    Fix glance-tls-proxy logrotate and fluentd log permissions

    Change-Id: Iabc0115d3476a626df134cc70cb473bf6e72487e
    Closes-Bug: #1890439
    (cherry picked from commit aed9f84fe9a486c4acc975458fe4693c714d408f)

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

This issue was fixed in the openstack/kolla-ansible 10.2.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.