neutron:config option wsgi_log_format does not work

Bug #1672615 reported by Duan Jiong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Duan Jiong

Bug Description

The default output is as follows
2017-03-14 03:19:41.584 21138 INFO neutron.wsgi [req-eb9bdd73-75f9-497e-8536-7e56cf40ea6d afaa097bbbcc43a086fbc99de95e52e4 4c3816d007024e4da3b08986ade1f892 - - -] 192.168.30.124 - - [14/Mar/2017 03:19:41] "GET /v2.0/networks.json?id=fa1428e7-c6dc-4cda-bea7-8c9689cfe5f0 HTTP/1.1" 200 900 0.106024

The normal situation should be as follows
2017-03-14 15:07:13.698 20546 INFO neutron.wsgi [req-fef76f0f-923d-40cd-adbb-9999893a5a41 afaa097bbbcc43a086fbc99de95e52e4 4c3816d007024e4da3b08986ade1f892 - - -] 192.168.30.124 "GET /v2.0/ports.json?network_id=fa1428e7-c6dc-4cda-bea7-8c9689cfe5f0&device_owner=network%3Adhcp HTTP/1.1" status: 200 len: 211 time: 0.0562460

In neutron.conf, the config option wsgi_log_format used to control the final output,but when i change it, it does not work。

Duan Jiong (duanjiong)
Changed in neutron:
assignee: nobody → Duan Jiong (duanjiong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/445317

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/445317
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5fd6b4c768f456e254c29a9ab8ef563774297dc9
Submitter: Jenkins
Branch: master

commit 5fd6b4c768f456e254c29a9ab8ef563774297dc9
Author: Duan Jiong <email address hidden>
Date: Tue Mar 14 14:23:26 2017 +0800

    Pass parameters when create eventlet.wsgi server

    Otherwise, config option wsgi_log_format in neutron.conf
    will not work

    Closes-Bug: #1672615
    Change-Id: I43a3b6d99f940b5276aabaccad15d1050023baa2

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

This issue was fixed in the openstack/neutron 11.0.0.0b2 development milestone.

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/540492

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

Reviewed: https://review.openstack.org/540492
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ee259950e29d10f56c7bb9a1c6d05a4ef27c2b13
Submitter: Zuul
Branch: stable/ocata

commit ee259950e29d10f56c7bb9a1c6d05a4ef27c2b13
Author: Duan Jiong <email address hidden>
Date: Tue Mar 14 14:23:26 2017 +0800

    Pass parameters when create eventlet.wsgi server

    Otherwise, config option wsgi_log_format in neutron.conf
    will not work

    Closes-Bug: #1672615
    Change-Id: I43a3b6d99f940b5276aabaccad15d1050023baa2
    (cherry picked from commit 5fd6b4c768f456e254c29a9ab8ef563774297dc9)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.5

This issue was fixed in the openstack/neutron 10.0.5 release.

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.