[hopem] removed extraneous use_syslog from .ini files since neutron.conf & quantum.conf should suffice

This commit is contained in:
Edward Hope-Morley 2014-03-26 11:06:19 +00:00
parent 5ffc750880
commit 4016267a0a
9 changed files with 9 additions and 27 deletions

View File

@ -161,14 +161,12 @@ NOVA_CONFIG_FILES = {
QUANTUM_SHARED_CONFIG_FILES = {
QUANTUM_DHCP_AGENT_CONF: {
'hook_contexts': [QuantumGatewayContext(),
SyslogContext()],
'hook_contexts': [QuantumGatewayContext()],
'services': ['quantum-dhcp-agent']
},
QUANTUM_METADATA_AGENT_CONF: {
'hook_contexts': [NetworkServiceContext(),
QuantumGatewayContext(),
SyslogContext()],
QuantumGatewayContext()],
'services': ['quantum-metadata-agent']
},
}
@ -176,8 +174,7 @@ QUANTUM_SHARED_CONFIG_FILES.update(NOVA_CONFIG_FILES)
NEUTRON_SHARED_CONFIG_FILES = {
NEUTRON_DHCP_AGENT_CONF: {
'hook_contexts': [QuantumGatewayContext(),
SyslogContext()],
'hook_contexts': [QuantumGatewayContext()],
'services': ['neutron-dhcp-agent']
},
NEUTRON_DNSMASQ_CONF: {
@ -186,8 +183,7 @@ NEUTRON_SHARED_CONFIG_FILES = {
},
NEUTRON_METADATA_AGENT_CONF: {
'hook_contexts': [NetworkServiceContext(),
QuantumGatewayContext(),
SyslogContext()],
QuantumGatewayContext()],
'services': ['neutron-metadata-agent']
},
}
@ -204,15 +200,13 @@ QUANTUM_OVS_CONFIG_FILES = {
'quantum-plugin-openvswitch-agent']
},
QUANTUM_L3_AGENT_CONF: {
'hook_contexts': [NetworkServiceContext(),
SyslogContext()],
'hook_contexts': [NetworkServiceContext()],
'services': ['quantum-l3-agent']
},
# TODO: Check to see if this is actually required
QUANTUM_OVS_PLUGIN_CONF: {
'hook_contexts': [QuantumSharedDBContext(),
QuantumGatewayContext(),
SyslogContext()],
QuantumGatewayContext()],
'services': ['quantum-plugin-openvswitch-agent']
},
EXT_PORT_CONF: {
@ -234,15 +228,13 @@ NEUTRON_OVS_CONFIG_FILES = {
},
NEUTRON_L3_AGENT_CONF: {
'hook_contexts': [NetworkServiceContext(),
L3AgentContext(),
SyslogContext()],
L3AgentContext()],
'services': ['neutron-l3-agent']
},
# TODO: Check to see if this is actually required
NEUTRON_OVS_PLUGIN_CONF: {
'hook_contexts': [QuantumSharedDBContext(),
QuantumGatewayContext(),
SyslogContext()],
QuantumGatewayContext()],
'services': ['neutron-plugin-openvswitch-agent']
},
EXT_PORT_CONF: {

View File

@ -3,7 +3,6 @@ state_path = /var/lib/quantum
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
use_syslog = {{ use_syslog }}
{% if plugin == 'nvp' %}
ovs_use_veth = True
enable_metadata_network = True

View File

@ -6,4 +6,3 @@ admin_tenant_name = {{ service_tenant }}
admin_user = {{ service_username }}
admin_password = {{ service_password }}
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
use_syslog = {{ use_syslog }}

View File

@ -14,5 +14,4 @@ nova_metadata_port = 8775
# shared secret to prevent spoofing. You may select any string for a secret,
# but it must match here and in the configuration used by the Nova Metadata
# Server. NOTE: Nova uses a different key: quantum_metadata_proxy_shared_secret
metadata_proxy_shared_secret = {{ shared_secret }}
use_syslog = {{ use_syslog }}
metadata_proxy_shared_secret = {{ shared_secret }}

View File

@ -1,5 +1,3 @@
[DEFAULT]
use_syslog = {{ use_syslog }}
[DATABASE]
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
reconnect_interval = 2

View File

@ -7,7 +7,6 @@ state_path = /var/lib/neutron
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
use_syslog = {{ use_syslog }}
ovs_use_veth = True
{% if instance_mtu -%}
dnsmasq_config_file = /etc/neutron/dnsmasq.conf

View File

@ -6,7 +6,6 @@ admin_tenant_name = {{ service_tenant }}
admin_user = {{ service_username }}
admin_password = {{ service_password }}
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
use_syslog = {{ use_syslog }}
ovs_use_veth = True
handle_internal_only_routers = {{ handle_internal_only_router }}
{% if ext_net_id %}

View File

@ -15,4 +15,3 @@ nova_metadata_port = 8775
# but it must match here and in the configuration used by the Nova Metadata
# Server. NOTE: Nova uses a different key: neutron_metadata_proxy_shared_secret
metadata_proxy_shared_secret = {{ shared_secret }}
use_syslog = {{ use_syslog }}

View File

@ -1,5 +1,3 @@
[DEFAULT]
use_syslog = {{ use_syslog }}
[DATABASE]
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
reconnect_interval = 2