keepalived-state-change does not format correctly the logs

Bug #1886216 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Low
Rodolfo Alonso

Bug Description

In versions prior to Train, the monitor "keepalived-state-change" does not format correctly the log messages. That happens when the "Daemon.run()" method executes "unwatch_log". After the privileges are dropped, we can enable again the logging.

Without configuring the logging: http://paste.openstack.org/show/795536/
Configuring the logging: http://paste.openstack.org/show/795537/

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/739267

Hongbin Lu (hongbin.lu)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/stein)

Reviewed: https://review.opendev.org/739267
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6fd89dacf3b1a14e8f4b49ee719edc23981536d5
Submitter: Zuul
Branch: stable/stein

commit 6fd89dacf3b1a14e8f4b49ee719edc23981536d5
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: Ief52fac479d4b3cfa5f90118235c241a14b1011f
    Closes-Bug: #1886216

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/741604

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/741605

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/rocky)

Reviewed: https://review.opendev.org/741604
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3b6005fec9c464b76127cbac38b7b68454ea10aa
Submitter: Zuul
Branch: stable/rocky

commit 3b6005fec9c464b76127cbac38b7b68454ea10aa
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: Ief52fac479d4b3cfa5f90118235c241a14b1011f
    Closes-Bug: #1886216
    (cherry picked from commit 6fd89dacf3b1a14e8f4b49ee719edc23981536d5)

tags: added: in-stable-rocky
tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.opendev.org/741605
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fb0b2a8070fddac972ab6af9ef7aa0822d21c0d9
Submitter: Zuul
Branch: stable/queens

commit fb0b2a8070fddac972ab6af9ef7aa0822d21c0d9
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: Ief52fac479d4b3cfa5f90118235c241a14b1011f
    Closes-Bug: #1886216
    (cherry picked from commit 6fd89dacf3b1a14e8f4b49ee719edc23981536d5)
    (cherry picked from commit 3b6005fec9c464b76127cbac38b7b68454ea10aa)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers