Format of log files nova-api.log nova-ec2-api.log is wrong when nova-api services are started by Apache

Bug #1510517 reported by Marian Horban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Marian Horban

Bug Description

When nova-api and nova-ec2-api services are started by Apache(it can be done with devstack config option NOVA_USE_MOD_WSGI=True) log files contain records like:

...
2015-10-25 15:57:50.232046 2015-10-25 15:57:50.231 24062 DEBUG nova.api.openstack [-] v21 API Extension Blacklist: [] __init__ /opt/stack/nova/nova/api/openstack/__init__.py:353
2015-10-25 15:57:50.232224 2015-10-25 15:57:50.232 24062 DEBUG nova.api.openstack [-] v21 API Extension Whitelist: [] __init__ /opt/stack/nova/nova/api/openstack/__init__.py:355
2015-10-25 15:57:50.343937 2015-10-25 15:57:50.343 24062 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2015-10-25 15:57:50.377676 2015-10-25 15:57:50.377 24062 DEBUG nova.api.openstack.compute.servers [-] extension os-scheduler-hints detected by servers extension for function server_create check_load_extension /opt/stack/nova/nova/api/openstack/compute/servers.py:138
...

There are duplicated timestamp in each record.

Correct logs should not contain these duplication.

Marian Horban (mhorban)
Changed in devstack:
assignee: nobody → Marian Horban (mhorban)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

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

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

Reviewed: https://review.openstack.org/239652
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=4abb31d9d86bee139a0bc3e9f7dfc5041e8b875f
Submitter: Jenkins
Branch: master

commit 4abb31d9d86bee139a0bc3e9f7dfc5041e8b875f
Author: Marian Horban <email address hidden>
Date: Mon Oct 26 12:35:45 2015 -0400

    Format of nova-api log files was corrected

    When nova-api and nova-ec2-api services are started by Apache
    (it can be done with devstack config option NOVA_USE_MOD_WSGI=True)
    log files contained duplication of timestamp value.

    Change-Id: I5439ea8f89ca3073600456f67220e9d3f5257d97
    Closes-Bug: #1510517

Changed in devstack:
status: In Progress → 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.