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
Fix Released
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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron queens-eol

This issue was fixed in the openstack/neutron queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron rocky-eol

This issue was fixed in the openstack/neutron rocky-eol release.

Changed in neutron:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.