Do not pass extra config files to neutron agents
Passing config files from other agents result in incorrent loading of extensions. Value metadata_proxy_socket should be set in neutron.conf Change-Id: If22168ccc77c918f7cfcb5d9d0d548f02d2a09e9
This commit is contained in:
parent
4f1e1329ad
commit
75472fc856
@ -17,12 +17,7 @@ limitations under the License.
|
||||
set -x
|
||||
exec neutron-dhcp-agent \
|
||||
--config-file /etc/neutron/neutron.conf \
|
||||
--config-file /etc/neutron/dhcp_agent.ini \
|
||||
--config-file /etc/neutron/metadata_agent.ini \
|
||||
{{- if and ( empty .Values.conf.neutron.DEFAULT.host ) ( .Values.pod.use_fqdn.neutron_agent ) }}
|
||||
--config-file /tmp/pod-shared/neutron-agent.ini \
|
||||
{{- end }}
|
||||
{{- if ( has "openvswitch" .Values.network.backend ) }}
|
||||
--config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini \
|
||||
{{- end }}
|
||||
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini
|
||||
--config-file /etc/neutron/dhcp_agent.ini
|
||||
|
@ -18,12 +18,7 @@ set -x
|
||||
|
||||
exec neutron-l3-agent \
|
||||
--config-file /etc/neutron/neutron.conf \
|
||||
--config-file /etc/neutron/l3_agent.ini \
|
||||
--config-file /etc/neutron/metadata_agent.ini \
|
||||
{{- if and ( empty .Values.conf.neutron.DEFAULT.host ) ( .Values.pod.use_fqdn.neutron_agent ) }}
|
||||
--config-file /tmp/pod-shared/neutron-agent.ini \
|
||||
{{- end }}
|
||||
{{- if ( has "openvswitch" .Values.network.backend ) }}
|
||||
--config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini \
|
||||
{{- end }}
|
||||
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini
|
||||
--config-file /etc/neutron/l3_agent.ini
|
||||
|
@ -17,11 +17,8 @@ limitations under the License.
|
||||
set -x
|
||||
exec neutron-metadata-agent \
|
||||
--config-file /etc/neutron/neutron.conf \
|
||||
--config-file /etc/neutron/metadata_agent.ini \
|
||||
{{- if and ( empty .Values.conf.neutron.DEFAULT.host ) ( .Values.pod.use_fqdn.neutron_agent ) }}
|
||||
--config-file /tmp/pod-shared/neutron-agent.ini \
|
||||
{{- end }}
|
||||
{{- if ( has "openvswitch" .Values.network.backend ) }}
|
||||
--config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini \
|
||||
{{- end }}
|
||||
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini
|
||||
--config-file /etc/neutron/metadata_agent.ini
|
||||
|
||||
|
@ -1868,6 +1868,7 @@ conf:
|
||||
sh: CommandFilter, sh, root
|
||||
neutron:
|
||||
DEFAULT:
|
||||
metadata_proxy_socket: /var/lib/neutron/openstack-helm/metadata_proxy
|
||||
log_config_append: /etc/neutron/logging.conf
|
||||
# NOTE(portdirect): the bind port should not be defined, and is manipulated
|
||||
# via the endpoints section.
|
||||
|
Loading…
Reference in New Issue
Block a user