Keepalived logs needs to be writed on correct directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Carlos Cesario | ||
Mitaka |
Fix Released
|
Medium
|
Carlos Cesario |
Bug Description
Currently keepalived write the logs on /var/log/
Last login: Sun Apr 3 15:33:08 2016 from operator
root@kolla-
root@kolla-
total 16
drwxrwsr-x 4 102 kolla 4096 Apr 3 14:53 .
drwxrwxr-x 8 root syslog 4096 Apr 3 14:34 ..
drwxr-sr-x 2 102 kolla 4096 Apr 3 14:32 haproxy
drwxr-sr-x 2 1000 kolla 4096 Apr 3 14:54 neutron
root@kolla-
total 56
drwxr-sr-x 2 102 kolla 4096 Apr 3 14:32 .
drwxrwsr-x 4 102 kolla 4096 Apr 3 14:53 ..
-rw-r--r-- 1 102 kolla 35105 Apr 3 14:55 haproxy.log
-rw-r--r-- 1 102 kolla 6617 Apr 3 14:54 keepalived.log
root@kolla-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
<6>2016-
Changed in kolla: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
milestone: | none → newton-1 |
Changed in kolla: | |
assignee: | nobody → Carlos Cesario (ccesario) |
status: | Confirmed → In Progress |
If you want the keepalived logs to be placed in /var/log/ kolla/keepalive d/keepalived. log then you need to change the path in the FileOutput configuration. See [*]. I'd also recommend creating a keepalived-specific heka configuration file, heka-keepalived .toml.j2, and move the keepalived heka configuration from heka-haproxy. toml.j2 to that file.
[*] <https:/ /github. com/openstack/ kolla/blob/ master/ ansible/ roles/common/ templates/ heka-haproxy. toml.j2# L14>