Open vSwitch log files are unreadable by fluentd

Bug #2051253 reported by Harry Kominos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Unassigned

Bug Description

In a production environment we can see that from within the fluentd container the following log files are not readable

ls /var/log/kolla/openvswitch/
ovn-controller.log ovs-vswitchd.log ovsdb-server.log

Those files have 640 permission and are owned by root so fluentd cannot read the logfiles.

024-01-25 15:29:59 +0000 [warn]: #0 Permission denied @ rb_sysopen - /var/log/kolla/openvswitch/ovsdb-server.log
2024-01-25 15:29:59 +0000 [warn]: #0 Permission denied @ rb_sysopen - /var/log/kolla/openvswitch/ovs-vswitchd.log

This is seen in a yoga deployment deployed on Rocky 9.1.

Harry Kominos (hkominos)
summary: - Wrong permissions for openvswitch
+ OpenVswitch log files are unreadable by fluentd
Harry Kominos (hkominos)
summary: - OpenVswitch log files are unreadable by fluentd
+ Open vSwitch log files are unreadable by fluentd
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.