Merge "Add param to configure neutron agent_down_time and report_interval" into stable/ussuri

This commit is contained in:
Zuul 2021-12-08 11:17:51 +00:00 committed by Gerrit Code Review
commit 2c7c0c5522
3 changed files with 23 additions and 0 deletions

View File

@ -191,6 +191,13 @@ parameters:
removed in Ocata. Future releases will enable L3 HA by default if it is removed in Ocata. Future releases will enable L3 HA by default if it is
appropriate for the deployment type. Alternate mechanisms will be appropriate for the deployment type. Alternate mechanisms will be
available to override. available to override.
NeutronAgentDownTime:
default: 600
type: number
description: |
Seconds to regard the agent as down; should be at least twice
NeutronGlobalReportInterval, to be sure the agent is down for good.
parameter_groups: parameter_groups:
- label: deprecated - label: deprecated
description: | description: |
@ -298,6 +305,7 @@ outputs:
neutron::policy::policies: {get_param: NeutronApiPolicies} neutron::policy::policies: {get_param: NeutronApiPolicies}
neutron::keystone::authtoken::www_authenticate_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] } neutron::keystone::authtoken::www_authenticate_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
neutron::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]} neutron::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
neutron::server::agent_down_time: {get_param: NeutronAgentDownTime}
neutron::server::allow_automatic_l3agent_failover: {get_param: NeutronAllowL3AgentFailover} neutron::server::allow_automatic_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
neutron::server::enable_proxy_headers_parsing: true neutron::server::enable_proxy_headers_parsing: true
neutron::server::igmp_snooping_enable: {get_param: NeutronEnableIgmpSnooping} neutron::server::igmp_snooping_enable: {get_param: NeutronEnableIgmpSnooping}

View File

@ -111,6 +111,12 @@ parameters:
If True, then allow plugins that support it to create VLAN If True, then allow plugins that support it to create VLAN
transparent networks. transparent networks.
type: boolean type: boolean
NeutronGlobalReportInterval:
default: 300
description: >
Seconds between nodes reporting state to server; should be less than
NeutronAgentDownTime, best if it is half or less than NeutronAgentDownTime.
type: number
conditions: conditions:
dhcp_agents_zero: {equals : [{get_param: NeutronDhcpAgentsPerNetwork}, 0]} dhcp_agents_zero: {equals : [{get_param: NeutronDhcpAgentsPerNetwork}, 0]}
@ -127,6 +133,7 @@ outputs:
- neutron::notification_driver: {get_param: NotificationDriver} - neutron::notification_driver: {get_param: NotificationDriver}
neutron::core_plugin: {get_param: NeutronCorePlugin} neutron::core_plugin: {get_param: NeutronCorePlugin}
neutron::service_plugins: {get_param: NeutronServicePlugins} neutron::service_plugins: {get_param: NeutronServicePlugins}
neutron::report_interval: {get_param: NeutronGlobalReportInterval}
neutron::logging::debug: neutron::logging::debug:
if: if:
- service_debug_unset - service_debug_unset

View File

@ -0,0 +1,8 @@
---
features:
- |
Add param NeutronAgentDownTime to configure neutron server agent_down_time
Seconds to regard the agent as down; should be at least twice
report_interval, to be sure the agent is down for good.
agent_down_time is a config for neutron-server, set by class neutron::server
report_interval is a config for neutron agents, set by class neutron