Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Logs permission denied mariadb.log and dnsmasq.log

I have an all-in-one kolla 3.0.1 installed on a CentOS 7.3. In my /var/log/messages, I can see the below traces in loop:

Jan 21 15:55:44 server journal: 2017/01/21 15:55:44 Input 'openstack_logstreamer_input' error: open /var/log/kolla/neutron/dnsmasq.log: permission denied#015
Jan 21 15:55:44 server journal: 2017/01/21 15:55:44 Input 'mariadb_logstreamer_input' error: open /var/log/kolla/mariadb/mariadb.log: permission denied#015
Jan 21 15:55:44 server journal: 2017/01/21 15:55:44 Input 'openstack_logstreamer_input' error: open /var/log/kolla/neutron/dnsmasq.log: permission denied#015
Jan 21 15:55:45 server journal: 2017/01/21 15:55:45 Input 'mariadb_logstreamer_input' error: open /var/log/kolla/mariadb/mariadb.log: permission denied#015

I don't get it, because looking into the container (6168a52738f6 is kolla mariadb container) , these files seems to be well appended:

[root@server kolla]# docker exec -it 6168a52738f6 /bin/bash
(mariadb)[mysql@server /]$ ll /var/log/kolla/mariadb/mariadb.log
-rw-rw----. 1 mysql mysql 76168 Jan 21 12:02 /var/log/kolla/mariadb/mariadb.log
(mariadb)[mysql@server /]$ ll /var/log/kolla/neutron/dnsmasq.log
-rw-r-----. 1 nobody 995 364152 Jan 21 12:05 /var/log/kolla/neutron/dnsmasq.log

Am I missing something?