[stable only] Configure logging in keepalived_state_change
In versions prior to Train, the "keepalived-state-change" monitor
does not format correctly the log messages. That happens when the
"Daemon.run()" method executes "unwatch_log". After the privileges
are dropped, the logging should be configured again.
Change-Id: Ief52fac479d4b3cfa5f90118235c241a14b1011f
Closes-Bug: #1886216
(cherry picked from commit 6fd89dacf3b1a14e8f4b49ee719edc23981536d5)
(cherry picked from commit 3b6005fec9c464b76127cbac38b7b68454ea10aa)
Reviewed: https:/ /review. opendev. org/741605 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fb0b2a8070f ddac972ab6af9ef 7aa0822d21c0d9
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit fb0b2a8070fddac 972ab6af9ef7aa0 822d21c0d9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Jul 3 17:41:23 2020 +0000
[stable only] Configure logging in keepalived_ state_change
In versions prior to Train, the "keepalived- state-change" monitor
does not format correctly the log messages. That happens when the
"Daemon.run()" method executes "unwatch_log". After the privileges
are dropped, the logging should be configured again.
Change-Id: Ief52fac479d4b3 cfa5f90118235c2 41a14b1011f e8f4b49ee719edc 23981536d5) 76127cbac38b7b6 8454ea10aa)
Closes-Bug: #1886216
(cherry picked from commit 6fd89dacf3b1a14
(cherry picked from commit 3b6005fec9c464b