Stacklight v2.0, glusterfs brick logs cannot be read by Heka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
New
|
Undecided
|
Unassigned |
Bug Description
Glusterfs brick logs cannot be read by Heka, because hekas user don't have permissions to this logs.
GlusterFS briks log permissions:
/
-rw-------+ 1 root root 17167 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 14355 Nov 15 11:21 srv-glusterfs-
-rw-------+ 1 root root 12260 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 12773 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 12515 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 12590 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 26501 Nov 15 11:21 srv-glusterfs-
-rw-------+ 1 root root 17692 Nov 15 11:21 srv-glusterfs-
-rw-------+ 1 root root 20317 Nov 15 10:13 srv-glusterfs-
-rw-------+ 1 root root 14725 Nov 15 10:13 srv-glusterfs-
/
Heka's systemd unit:
[Unit]
Description=heka log_collector - data collector and processor daemon
After=network.
ConditionPathEx
[Service]
EnvironmentFile
User=heka
Group=heka
LimitNOFILE=102400
ExecStart=
# NOT SURE HEKA doesn't support reloading by signal
# ExecReload=
KillMode=process
Restart=on-failure
StandardError=
[Install]
WantedBy=
Steps to reproduce: Use mcp 1.1 with StackLight v2.0 + OSS. Open Kibana dashboard.
Expected results: No errors about permissions to Glusterfs brick logs.
Actual result:
system.syslog hekad DEBUG 2017/11/16 10:20:48 Input 'glusterfsd_input' error: open /var/log/
Description of the environment:
MCP 1.1 with StackLight+OSS
OS: Ubuntu 16.04.5 LTS
3 KVM nodes
3 Computes
Network model: Contrail.
affects: | fuel-plugins → lma-toolchain |