Nova log file has gained a -wsgi postfix

Bug #1950185 reported by Doug Szumski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

Logs which used to be written to nova-api.log are now written to nova-api-wsgi.log / nova-metadata-wsgi.log. This means that the Fluentd programname field for these logs, no longer matches `nova-api`, and the log files are not tagged with 'openstack_python' in the Fluentd pipeline. Affects at least Victora/Wallaby.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/817059

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/wallaby)

Change abandoned by "Doug Szumski <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/817059
Reason: Should have gone to master first

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817918
Committed: https://opendev.org/openstack/kolla-ansible/commit/76d4a054cfc4db7c0c6c419bc858e5290a42ed8a
Submitter: "Zuul (22348)"
Branch: master

commit 76d4a054cfc4db7c0c6c419bc858e5290a42ed8a
Author: Doug Szumski <email address hidden>
Date: Mon Nov 8 17:15:49 2021 +0000

    Specify log file name for Nova API

    When only the directory is specified, separate log files
    are created for the Nova API / metadata services with a
    -wsgi postfix. This affects the 'programname' field in
    Fluentd which affects the processing of these logs. This
    is a regression.

    When the log file name is specified, the directory is
    not required.

    Closes-Bug: #1950185
    Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/818905

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/818906

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/818905
Committed: https://opendev.org/openstack/kolla-ansible/commit/d88d7b1316e1441d16ab1e7602633477e189018b
Submitter: "Zuul (22348)"
Branch: stable/xena

commit d88d7b1316e1441d16ab1e7602633477e189018b
Author: Doug Szumski <email address hidden>
Date: Mon Nov 8 17:15:49 2021 +0000

    Specify log file name for Nova API

    When only the directory is specified, separate log files
    are created for the Nova API / metadata services with a
    -wsgi postfix. This affects the 'programname' field in
    Fluentd which affects the processing of these logs. This
    is a regression.

    When the log file name is specified, the directory is
    not required.

    Closes-Bug: #1950185
    Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4
    (cherry picked from commit 76d4a054cfc4db7c0c6c419bc858e5290a42ed8a)

tags: added: in-stable-xena
tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/818906
Committed: https://opendev.org/openstack/kolla-ansible/commit/03438149efe7decda41951d17a49240d77b9c5c5
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 03438149efe7decda41951d17a49240d77b9c5c5
Author: Doug Szumski <email address hidden>
Date: Mon Nov 8 17:15:49 2021 +0000

    Specify log file name for Nova API

    When only the directory is specified, separate log files
    are created for the Nova API / metadata services with a
    -wsgi postfix. This affects the 'programname' field in
    Fluentd which affects the processing of these logs. This
    is a regression.

    When the log file name is specified, the directory is
    not required.

    Closes-Bug: #1950185
    Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4
    (cherry picked from commit 76d4a054cfc4db7c0c6c419bc858e5290a42ed8a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/817059
Committed: https://opendev.org/openstack/kolla-ansible/commit/bf7f20932413567bd6cbc5f191d9f481afc8d231
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit bf7f20932413567bd6cbc5f191d9f481afc8d231
Author: Doug Szumski <email address hidden>
Date: Mon Nov 8 17:15:49 2021 +0000

    Specify log file name for Nova API

    When only the directory is specified, separate log files
    are created for the Nova API / metadata services with a
    -wsgi postfix. This affects the 'programname' field in
    Fluentd which affects the processing of these logs. This
    is a regression.

    When the log file name is specified, the directory is
    not required.

    Closes-Bug: #1950185
    Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4
    (cherry picked from commit 76d4a054cfc4db7c0c6c419bc858e5290a42ed8a)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 11.2.0

This issue was fixed in the openstack/kolla-ansible 11.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 12.3.0

This issue was fixed in the openstack/kolla-ansible 12.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.0.1

This issue was fixed in the openstack/kolla-ansible 13.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 14.0.0.0rc1 release candidate.

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.