Configurable values is not printed in the ovs-neutron-agent log file

Bug #1285962 reported by Stephen Ma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Stephen Ma

Bug Description

When the neutron-server starts up, it prints out the configurable values in the q-svc log. This values is useful in debugging problems. Such output is not in the ovs-neutron-agent's log file.

Configurable value output in screen-q-svc.log:

$ cd /opt/stack/neutron && python /usr/local/bin/ ^Mneutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutro ^Mn/plugins/ml2/ml2_conf.ini & echo $! >/opt/stack/status/stack/q-svc.pid; fg || e ^Mcho "q-svc failed to start" | tee "/opt/stack/status/stack/q-svc.failure"
[1] 29287
cd /opt/stack/neutron && python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
2014-02-27 13:19:20.245 29288 INFO neutron.common.config [-] Logging enabled!
2014-02-27 13:19:20.245 29288 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-02-27 13:19:20.245 29288 DEBUG neutron.service [-] ******************************************************************************** log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1900
2014-02-27 13:19:20.245 29288 DEBUG neutron.service [-] Configuration options gathered from: log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1901
2014-02-27 13:19:20.246 29288 DEBUG neutron.service [-] command line args: ['--config-file', '/etc/neutron/neutron.conf', '--config-file', '/etc/neutron/plugins/ml2/ml2_conf.ini'] log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1902
2014-02-27 13:19:20.246 29288 DEBUG neutron.service [-] config files: ['/etc/neutron/neutron.conf', '/etc/neutron/plugins/ml2/ml2_conf.ini'] log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1903
2014-02-27 13:19:20.246 29288 DEBUG neutron.service [-] ================================================================================ log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1904
2014-02-27 13:19:20.246 29288 DEBUG neutron.service [-] allow_bulk = True log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1913
2014-02-27 13:19:20.246 29288 DEBUG neutron.service [-] allow_overlapping_ips = True log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1913

 . . .
2014-02-27 13:19:20.256 29288 DEBUG neutron.service [-] database.min_pool_size = 1 log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1921
2014-02-27 13:19:20.256 29288 DEBUG neutron.service [-] database.pool_timeout = 10 log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1921
2014-02-27 13:19:20.256 29288 DEBUG neutron.service [-] database.retry_interval = 10 log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1921
2014-02-27 13:19:20.256 29288 DEBUG neutron.service [-] database.slave_connection = log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1921
2014-02-27 13:19:20.257 29288 DEBUG neutron.service [-] ******************************************************************************** log_opt_values /opt/stack/oslo.config/oslo/config/cfg.py:1923
2014-02-27 13:19:20.257 29288 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini

Stephen Ma (stephen-ma)
description: updated
Changed in neutron:
assignee: nobody → Stephen Ma (stephen-ma)
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/77457

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

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

commit a7049809d14c9cdc18b3b4bcb437e2a94b849082
Author: Stephen Ma <email address hidden>
Date: Sun Mar 2 01:57:48 2014 +0000

    Log configuration values for OVS agent

    When other agents start up, they log the configuration values
    to their logs. This patch adds the same feature to the
    Openvswitch agent.

    Change-Id: I00bc82a3dafbd214a2ddbdf525dd4cc327838af9
    Closes-bug: #1285962

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
importance: Undecided → Low
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
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.