Move "metadata_workers" to [DEFAULT] in nova.conf

The option metadata_workers sets the number of nova-api-metadata service
processes that are spawned when a cloud is running neutron with DVR
enabled.  This configuration option must be present in the [DEFAULT]
secton of nova.conf per compute config-options references

Change-Id: Ia42aea5fcc54eca6d8febb9d9ccb064f9517786a
Closes-Bug: #1754660
This commit is contained in:
Drew Freiberger 2018-09-27 12:38:51 -05:00
parent ffda90dfd2
commit 3ddb9980c9
6 changed files with 12 additions and 6 deletions

View File

@ -128,6 +128,8 @@ pci_passthrough_whitelist = {{ pci_passthrough_whitelist }}
default_availability_zone = {{ default_availability_zone }}
{% endif -%}
metadata_workers = {{ workers }}
{% if network_manager == 'neutron' and network_manager_config -%}
[neutron]
url = {{ network_manager_config.neutron_url }}
@ -145,7 +147,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% if glance_api_servers -%}

View File

@ -132,6 +132,8 @@ default_availability_zone = {{ default_availability_zone }}
resume_guests_state_on_host_boot = {{ resume_guests_state_on_host_boot }}
{% endif -%}
metadata_workers = {{ workers }}
{% if network_manager == 'neutron' and network_manager_config -%}
[neutron]
url = {{ network_manager_config.neutron_url }}
@ -147,7 +149,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% include "section-keystone-authtoken" %}

View File

@ -134,6 +134,8 @@ default_availability_zone = {{ default_availability_zone }}
resume_guests_state_on_host_boot = {{ resume_guests_state_on_host_boot }}
{% endif -%}
metadata_workers = {{ workers }}
{% if network_manager == 'neutron' and network_manager_config -%}
[neutron]
url = {{ network_manager_config.neutron_url }}
@ -156,7 +158,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% include "section-keystone-authtoken-mitaka" %}

View File

@ -134,6 +134,8 @@ default_availability_zone = {{ default_availability_zone }}
resume_guests_state_on_host_boot = {{ resume_guests_state_on_host_boot }}
{% endif -%}
metadata_workers = {{ workers }}
{% if network_manager == 'neutron' and network_manager_config -%}
[neutron]
url = {{ network_manager_config.neutron_url }}
@ -156,7 +158,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% include "section-keystone-authtoken-mitaka" %}

View File

@ -135,6 +135,8 @@ default_availability_zone = {{ default_availability_zone }}
resume_guests_state_on_host_boot = {{ resume_guests_state_on_host_boot }}
{% endif -%}
metadata_workers = {{ workers }}
{% if network_manager == 'neutron' and network_manager_config -%}
[neutron]
url = {{ network_manager_config.neutron_url }}
@ -157,7 +159,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% include "section-keystone-authtoken-mitaka" %}

View File

@ -130,6 +130,8 @@ default_availability_zone = {{ default_availability_zone }}
resume_guests_state_on_host_boot = {{ resume_guests_state_on_host_boot }}
{% endif -%}
metadata_workers = {{ workers }}
[pci]
{% if pci_passthrough_whitelist -%}
passthrough_whitelist = {{ pci_passthrough_whitelist }}
@ -165,7 +167,6 @@ metadata_proxy_shared_secret = {{ metadata_shared_secret }}
service_metadata_proxy=True
{% endif -%}
{% endif -%}
metadata_workers = {{ workers }}
{% endif -%}
{% include "section-keystone-authtoken-mitaka" %}