From e4e535b0bf07bc823bdd72b31f66628e5ea96465 Mon Sep 17 00:00:00 2001 From: salvatore Date: Wed, 29 Oct 2014 18:22:46 +0100 Subject: [PATCH] Ensure syslog option is honored by neutron and tempest Syslog settings were not configured at all for these two projects. As a result, regardless of the value of the SYSLOG environment variable, the use_syslog options for these two projects was always set to False. Change-Id: Iba6155d62beffa06e5bb9ac16b06082ec64d0926 Closes-Bug: #1394024 --- lib/neutron | 2 +- lib/tempest | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/neutron b/lib/neutron index db6bd47ced..1d4fe1bd5f 100644 --- a/lib/neutron +++ b/lib/neutron @@ -785,7 +785,7 @@ function _configure_neutron_common { iniset $NEUTRON_CONF database connection `database_connection_url $Q_DB_NAME` iniset $NEUTRON_CONF DEFAULT state_path $DATA_DIR/neutron - + iniset $NEUTRON_CONF DEFAULT use_syslog $SYSLOG # If addition config files are set, make sure their path name is set as well if [[ ${#Q_PLUGIN_EXTRA_CONF_FILES[@]} > 0 && $Q_PLUGIN_EXTRA_CONF_PATH == '' ]]; then die $LINENO "Neutron additional plugin config not set.. exiting" diff --git a/lib/tempest b/lib/tempest index 8931300b98..d3fb9fb2dc 100644 --- a/lib/tempest +++ b/lib/tempest @@ -247,6 +247,7 @@ function configure_tempest { fi fi + iniset $TEMPEST_CONF DEFAULT use_syslog $SYSLOG # Oslo iniset $TEMPEST_CONFIG DEFAULT lock_path $TEMPEST_STATE_PATH mkdir -p $TEMPEST_STATE_PATH