Persist Neutron agent state files in volume
The Neutron L3 agent stores state at state_path (/var/lib/neutron by default) and it is expected that these files persist across restarts. This change updates the Neutron state_path value to /var/lib/neutron/kolla (which is where the neutron_metadata_socket volume is mounted) so that these state files are stored there. Change-Id: I739aaf9e2d0b2b2e7f7b8f60ef8c2111d6873cef Signed-off-by: Adam Oswick <adam@adamoswick.co.uk> Closes-Bug: #2009884
This commit is contained in:
parent
f64c86de1d
commit
25244517e1
@ -21,10 +21,7 @@ api_workers = {{ neutron_api_workers }}
|
|||||||
rpc_workers = {{ openstack_service_rpc_workers }}
|
rpc_workers = {{ openstack_service_rpc_workers }}
|
||||||
rpc_state_report_workers = {{ openstack_service_rpc_workers }}
|
rpc_state_report_workers = {{ openstack_service_rpc_workers }}
|
||||||
|
|
||||||
# NOTE(SamYaple): We must specify this value here rather than the metadata conf
|
state_path = /var/lib/neutron/kolla
|
||||||
# because it is used by the l3 and dhcp agents. The reason the path has 'kolla'
|
|
||||||
# in it is because we are sharing this socket in a volume which is it's own dir
|
|
||||||
metadata_proxy_socket = /var/lib/neutron/kolla/metadata_proxy
|
|
||||||
|
|
||||||
{% if neutron_plugin_agent == "openvswitch" or (neutron_plugin_agent == "ovn" and neutron_ovn_dhcp_agent | bool) %}
|
{% if neutron_plugin_agent == "openvswitch" or (neutron_plugin_agent == "ovn" and neutron_ovn_dhcp_agent | bool) %}
|
||||||
interface_driver = openvswitch
|
interface_driver = openvswitch
|
||||||
|
5
releasenotes/notes/bug-2009884-a13cd185a29faf9a.yaml
Normal file
5
releasenotes/notes/bug-2009884-a13cd185a29faf9a.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes non-persistent Neutron agent state data.
|
||||||
|
`LP2009884 <https://launchpad.net/bugs/2009884>`__
|
Loading…
Reference in New Issue
Block a user