5.9 KiB
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
metadata_cache_expiration = 15 |
(Integer) This option is the time (in seconds) to cache metadata. When set to 0, metadata caching is disabled entirely; this is generally not recommended for performance reasons. Increasing this setting should improve response times of the metadata API when under heavy load. Higher values may increase memory usage, and result in longer times for host metadata changes to take effect. |
|
(String) This option determines the IP address for the network metadata API server. Possible values:
Related options:
|
metadata_listen = 0.0.0.0 |
(String) The IP address on which the metadata API will listen. |
metadata_listen_port = 8775 |
(Port number) The port on which the metadata API will listen. |
metadata_manager =
nova.api.manager.MetadataManager |
(String) DEPRECATED: OpenStack metadata service manager |
|
(Port number) This option determines the port used for the metadata API server. Related options:
|
metadata_workers = None |
(Integer) Number of workers for metadata service. The default will be the number of CPUs available. |
|
(String) DEPRECATED: When returning instance metadata, this is the class that is used for getting vendor metadata when that class isn't specified in the individual request. The value should be the full dot-separated path to the class to use. Possible values:
|
|
(Integer) Maximum wait time for an external REST service to connect. Possible values:
Related options:
|
|
(Integer) Maximum wait time for an external REST service to return data once connected. Possible values:
Related options:
|
|
(String) Path to an optional certificate file or CA bundle to verify dynamic vendordata REST services ssl certificates against. Possible values:
Related options:
|
|
(List) A list of targets for the dynamic vendordata provider. These targets are of the form <name>@<url>. The dynamic vendordata provider collects metadata by contacting external REST services and querying them for information about the instance. This behaviour is documented in the vendordata.rst file in the nova developer reference. |
|
(String) Cloud providers may store custom data in vendor data file that will then be available to the instances via the metadata service, and to the rendering of config-drive. The default class for this, JsonFileVendorData, loads this information from a JSON file, whose path is configured by this option. If there is no path set by this option, the class returns an empty dictionary. Possible values:
|
|
(List) A list of vendordata providers. vendordata providers are how deployers can provide metadata via configdrive and metadata that is specific to their deployment. There are currently two supported providers: StaticJSON and DynamicJSON. StaticJSON reads a JSON file configured by the flag vendordata_jsonfile_path and places the JSON from that file into vendor_data.json and vendor_data2.json. DynamicJSON is configured via the vendordata_dynamic_targets flag, which is documented separately. For each of the endpoints specified in that flag, a section is added to the vendor_data2.json. For more information on the requirements for implementing a vendordata dynamic endpoint, please see the vendordata.rst file in the nova developer reference. Possible values:
Related options:
|