Open vSwitch log files not readable by fluentd

Bug #1795609 reported by Mark Goddard
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Medium
Mark Goddard

Bug Description

Open vSwitch log files (/var/log/kolla/openvswitch/ovsdb-server.log and /var/log/kolla/openvswitch/ovs-vswitchd.log) are not readable by fluentd.

This was seen while adding a check in CI for readability of these files via the following command:

$ docker exec -it fluentd bash
find /var/log/kolla/ -type f | while read f; do test -r $f || echo "Cannot read $f"; done

Generally there are a few ways in which access is provided to log file for fluentd:

1. Set log file ownership to $USER:kolla, permissions to 0640.
2. Set log file ownership to $USER:$USER, permissions to 0644.
3. MariaDB is a special case, and uses 0640 with the fluentd user added to the mysql group.

Of these, 1. seems the most secure.

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

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

Revision history for this message
Mark Goddard (mgoddard) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Michal Nasiadka <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/607138
Reason: Seems to not be needed anymore and was inactive since Dec 2018

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.