[hopem] removed extraneous use_syslog from .ini files since neutron.conf & quantum.conf should suffice
This commit is contained in:
parent
5ffc750880
commit
4016267a0a
@ -161,14 +161,12 @@ NOVA_CONFIG_FILES = {
|
|||||||
|
|
||||||
QUANTUM_SHARED_CONFIG_FILES = {
|
QUANTUM_SHARED_CONFIG_FILES = {
|
||||||
QUANTUM_DHCP_AGENT_CONF: {
|
QUANTUM_DHCP_AGENT_CONF: {
|
||||||
'hook_contexts': [QuantumGatewayContext(),
|
'hook_contexts': [QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['quantum-dhcp-agent']
|
'services': ['quantum-dhcp-agent']
|
||||||
},
|
},
|
||||||
QUANTUM_METADATA_AGENT_CONF: {
|
QUANTUM_METADATA_AGENT_CONF: {
|
||||||
'hook_contexts': [NetworkServiceContext(),
|
'hook_contexts': [NetworkServiceContext(),
|
||||||
QuantumGatewayContext(),
|
QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['quantum-metadata-agent']
|
'services': ['quantum-metadata-agent']
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -176,8 +174,7 @@ QUANTUM_SHARED_CONFIG_FILES.update(NOVA_CONFIG_FILES)
|
|||||||
|
|
||||||
NEUTRON_SHARED_CONFIG_FILES = {
|
NEUTRON_SHARED_CONFIG_FILES = {
|
||||||
NEUTRON_DHCP_AGENT_CONF: {
|
NEUTRON_DHCP_AGENT_CONF: {
|
||||||
'hook_contexts': [QuantumGatewayContext(),
|
'hook_contexts': [QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['neutron-dhcp-agent']
|
'services': ['neutron-dhcp-agent']
|
||||||
},
|
},
|
||||||
NEUTRON_DNSMASQ_CONF: {
|
NEUTRON_DNSMASQ_CONF: {
|
||||||
@ -186,8 +183,7 @@ NEUTRON_SHARED_CONFIG_FILES = {
|
|||||||
},
|
},
|
||||||
NEUTRON_METADATA_AGENT_CONF: {
|
NEUTRON_METADATA_AGENT_CONF: {
|
||||||
'hook_contexts': [NetworkServiceContext(),
|
'hook_contexts': [NetworkServiceContext(),
|
||||||
QuantumGatewayContext(),
|
QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['neutron-metadata-agent']
|
'services': ['neutron-metadata-agent']
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -204,15 +200,13 @@ QUANTUM_OVS_CONFIG_FILES = {
|
|||||||
'quantum-plugin-openvswitch-agent']
|
'quantum-plugin-openvswitch-agent']
|
||||||
},
|
},
|
||||||
QUANTUM_L3_AGENT_CONF: {
|
QUANTUM_L3_AGENT_CONF: {
|
||||||
'hook_contexts': [NetworkServiceContext(),
|
'hook_contexts': [NetworkServiceContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['quantum-l3-agent']
|
'services': ['quantum-l3-agent']
|
||||||
},
|
},
|
||||||
# TODO: Check to see if this is actually required
|
# TODO: Check to see if this is actually required
|
||||||
QUANTUM_OVS_PLUGIN_CONF: {
|
QUANTUM_OVS_PLUGIN_CONF: {
|
||||||
'hook_contexts': [QuantumSharedDBContext(),
|
'hook_contexts': [QuantumSharedDBContext(),
|
||||||
QuantumGatewayContext(),
|
QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['quantum-plugin-openvswitch-agent']
|
'services': ['quantum-plugin-openvswitch-agent']
|
||||||
},
|
},
|
||||||
EXT_PORT_CONF: {
|
EXT_PORT_CONF: {
|
||||||
@ -234,15 +228,13 @@ NEUTRON_OVS_CONFIG_FILES = {
|
|||||||
},
|
},
|
||||||
NEUTRON_L3_AGENT_CONF: {
|
NEUTRON_L3_AGENT_CONF: {
|
||||||
'hook_contexts': [NetworkServiceContext(),
|
'hook_contexts': [NetworkServiceContext(),
|
||||||
L3AgentContext(),
|
L3AgentContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['neutron-l3-agent']
|
'services': ['neutron-l3-agent']
|
||||||
},
|
},
|
||||||
# TODO: Check to see if this is actually required
|
# TODO: Check to see if this is actually required
|
||||||
NEUTRON_OVS_PLUGIN_CONF: {
|
NEUTRON_OVS_PLUGIN_CONF: {
|
||||||
'hook_contexts': [QuantumSharedDBContext(),
|
'hook_contexts': [QuantumSharedDBContext(),
|
||||||
QuantumGatewayContext(),
|
QuantumGatewayContext()],
|
||||||
SyslogContext()],
|
|
||||||
'services': ['neutron-plugin-openvswitch-agent']
|
'services': ['neutron-plugin-openvswitch-agent']
|
||||||
},
|
},
|
||||||
EXT_PORT_CONF: {
|
EXT_PORT_CONF: {
|
||||||
|
@ -3,7 +3,6 @@ state_path = /var/lib/quantum
|
|||||||
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
|
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
|
||||||
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
|
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
|
||||||
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
|
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
{% if plugin == 'nvp' %}
|
{% if plugin == 'nvp' %}
|
||||||
ovs_use_veth = True
|
ovs_use_veth = True
|
||||||
enable_metadata_network = True
|
enable_metadata_network = True
|
||||||
|
@ -6,4 +6,3 @@ admin_tenant_name = {{ service_tenant }}
|
|||||||
admin_user = {{ service_username }}
|
admin_user = {{ service_username }}
|
||||||
admin_password = {{ service_password }}
|
admin_password = {{ service_password }}
|
||||||
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
|
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
|
@ -14,5 +14,4 @@ nova_metadata_port = 8775
|
|||||||
# shared secret to prevent spoofing. You may select any string for a secret,
|
# 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
|
# 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
|
# Server. NOTE: Nova uses a different key: quantum_metadata_proxy_shared_secret
|
||||||
metadata_proxy_shared_secret = {{ shared_secret }}
|
metadata_proxy_shared_secret = {{ shared_secret }}
|
||||||
use_syslog = {{ use_syslog }}
|
|
@ -1,5 +1,3 @@
|
|||||||
[DEFAULT]
|
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
[DATABASE]
|
[DATABASE]
|
||||||
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
|
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
|
||||||
reconnect_interval = 2
|
reconnect_interval = 2
|
||||||
|
@ -7,7 +7,6 @@ state_path = /var/lib/neutron
|
|||||||
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
|
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
|
||||||
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
|
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
|
||||||
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
ovs_use_veth = True
|
ovs_use_veth = True
|
||||||
{% if instance_mtu -%}
|
{% if instance_mtu -%}
|
||||||
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
|
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
|
||||||
|
@ -6,7 +6,6 @@ admin_tenant_name = {{ service_tenant }}
|
|||||||
admin_user = {{ service_username }}
|
admin_user = {{ service_username }}
|
||||||
admin_password = {{ service_password }}
|
admin_password = {{ service_password }}
|
||||||
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
ovs_use_veth = True
|
ovs_use_veth = True
|
||||||
handle_internal_only_routers = {{ handle_internal_only_router }}
|
handle_internal_only_routers = {{ handle_internal_only_router }}
|
||||||
{% if ext_net_id %}
|
{% if ext_net_id %}
|
||||||
|
@ -15,4 +15,3 @@ nova_metadata_port = 8775
|
|||||||
# but it must match here and in the configuration used by the Nova Metadata
|
# 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
|
# Server. NOTE: Nova uses a different key: neutron_metadata_proxy_shared_secret
|
||||||
metadata_proxy_shared_secret = {{ shared_secret }}
|
metadata_proxy_shared_secret = {{ shared_secret }}
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
[DEFAULT]
|
|
||||||
use_syslog = {{ use_syslog }}
|
|
||||||
[DATABASE]
|
[DATABASE]
|
||||||
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
|
sql_connection = mysql://{{ quantum_user }}:{{ quantum_password }}@{{ database_host }}/{{ quantum_db }}?charset=utf8
|
||||||
reconnect_interval = 2
|
reconnect_interval = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user