8.4. metadata_agent.ini
This section contains options for the /etc/neutron/metadata_agent.ini file.
8.4.1. DEFAULT リンクのコピーリンクがクリップボードにコピーされました!
The following table outlines the options available under the [DEFAULT] group in the /etc/neutron/metadata_agent.ini file.
.
| Configuration option = Default value | Type | Description |
|---|---|---|
|
| string value | Certificate Authority public key (CA cert) file for ssl |
|
| boolean value | If set to true, the logging level will be set to DEBUG instead of the default INFO level. |
|
| list value | List of package logging levels in logger=LEVEL pairs. This option is ignored if log_config_append is set. |
|
| boolean value | Enables or disables fatal status of deprecations. |
| `instance_format = [instance: %(uuid)s] ` | string value | The format for an instance that is passed with the log message. |
| `instance_uuid_format = [instance: %(uuid)s] ` | string value | The format for an instance UUID that is passed with the log message. |
|
| string value | The name of a logging configuration file. This file is appended to any existing logging configuration files. For details about logging configuration files, see the Python logging module documentation. Note that when logging configuration files are used then all logging configuration is set in the configuration file and other logging configuration options are ignored (for example, log-date-format). |
|
| string value | Defines the format string for %%(asctime)s in log records. Default: %(default)s . This option is ignored if log_config_append is set. |
|
| string value | (Optional) The base directory used for relative log_file paths. This option is ignored if log_config_append is set. |
|
| string value | (Optional) Name of log file to send logging output to. If no default is set, logging will go to stderr as defined by use_stderr. This option is ignored if log_config_append is set. |
|
| integer value | The amount of time before the log files are rotated. This option is ignored unless log_rotation_type is setto "interval". |
|
| string value | Rotation interval type. The time of the last file change (or the time when the service was started) is used when scheduling the next rotation. |
|
| string value | Log rotation type. |
|
| string value | Format string to use for log messages with context. Used by oslo_log.formatters.ContextFormatter |
|
| string value | Additional data to append to log message when logging level for the message is DEBUG. Used by oslo_log.formatters.ContextFormatter |
|
| string value | Format string to use for log messages when context is undefined. Used by oslo_log.formatters.ContextFormatter |
|
| string value | Prefix each line of exception output with this format. Used by oslo_log.formatters.ContextFormatter |
|
| string value | Defines the format string for %(user_identity)s that is used in logging_context_format_string. Used by oslo_log.formatters.ContextFormatter |
|
| integer value | Maximum number of rotated log files. |
|
| integer value | Log file maximum size in MB. This option is ignored if "log_rotation_type" is not set to "size". |
|
| integer value | Number of backlog requests to configure the metadata server socket with |
| `metadata_proxy_group = ` | string value | Group (gid or name) running metadata proxy after its initialization (if empty: agent effective group). |
| `metadata_proxy_shared_secret = ` | string value | When proxying metadata requests, Neutron signs the Instance-ID header with a shared secret to prevent spoofing. You may select any string for a secret, but it must match here and in the configuration used by the Nova Metadata Server. NOTE: Nova uses the same config key, but in [neutron] section. |
|
| string value | Location for Metadata Proxy UNIX domain socket. |
|
| string value | Metadata Proxy UNIX domain socket mode, 4 values allowed: deduce: deduce mode from metadata_proxy_user/group values, user: set metadata proxy socket mode to 0o644, to use when metadata_proxy_user is agent effective user or root, group: set metadata proxy socket mode to 0o664, to use when metadata_proxy_group is agent effective group or root, all: set metadata proxy socket mode to 0o666, to use otherwise. |
| `metadata_proxy_user = ` | string value | User (uid or name) running metadata proxy after its initialization (if empty: agent effective user). |
|
| integer value | Number of separate worker processes for metadata server (defaults to half of the number of CPUs) |
| `nova_client_cert = ` | string value | Client certificate for nova metadata api server. |
| `nova_client_priv_key = ` | string value | Private key of client certificate. |
|
| host address value | IP address or DNS name of Nova metadata server. |
|
| boolean value | Allow to perform insecure SSL (https) requests to nova metadata |
|
| port value | TCP Port used by Nova metadata server. |
|
| string value | Protocol to access nova metadata, http or https |
|
| boolean value | Enables or disables publication of error events. |
|
| integer value | Maximum number of logged messages per rate_limit_interval. |
|
| string value | Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG or empty string. Logs with level greater or equal to rate_limit_except_level are not filtered. An empty string means that all levels are filtered. |
|
| integer value | Interval, number of seconds, of log rate limiting. |
|
| string value | Syslog facility to receive log lines. This option is ignored if log_config_append is set. |
|
| boolean value | Enable journald for logging. If running in a systemd environment you may wish to enable journal support. Doing so will use the journal native protocol which includes structured metadata in addition to log messages.This option is ignored if log_config_append is set. |
|
| boolean value | Use JSON formatting for logging. This option is ignored if log_config_append is set. |
|
| boolean value | Use syslog for logging. Existing syslog format is DEPRECATED and will be changed later to honor RFC5424. This option is ignored if log_config_append is set. |
|
| boolean value | Log output to Windows Event Log. |
|
| boolean value | Log output to standard error. This option is ignored if log_config_append is set. |
|
| boolean value | Uses logging handler designed to watch file system. When log file is moved or removed this handler will open a new log file with specified path instantaneously. It makes sense only if log_file option is specified and Linux platform is used. This option is ignored if log_config_append is set. |