api does not dump config options in debug log when it's deployed as wsgi application

Bug #2031480 reported by Takashi Kajinami
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Takashi Kajinami
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Takashi Kajinami

Bug Description

When debug is enabled each service dumps loaded config values into debug log. This is useful for operators to detect misconfiguration.

However when the api service is deployed as a wsgi app, instead of a standalone service, this information is not dumped to logs.

Tags: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/891563

Changed in cinder:
status: New → In Progress
Changed in cinder:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in manila:
status: New → In Progress
Changed in manila:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/891564

Vida Haririan (vhariria)
tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/891564
Committed: https://opendev.org/openstack/manila/commit/2aa2ed51197c27b118154dc5ebbd2a7f3d35f9d5
Submitter: "Zuul (22348)"
Branch: master

commit 2aa2ed51197c27b118154dc5ebbd2a7f3d35f9d5
Author: Takashi Kajinami <email address hidden>
Date: Wed Aug 16 14:38:59 2023 +0900

    api: Dump config options when deployed as a wsgi app

    This ensures api service dumps config options to debug logs when being
    deployed as a wsgi app, so that users can review the effective values
    and find misconfiguration more easily.

    Closes-Bug: #2031480
    Change-Id: I622fbae7fb273e7405a305cc3e33ac89c0564fdc

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 18.0.0.0rc1

This issue was fixed in the openstack/manila 18.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.