diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini | 279 |
1 files changed, 259 insertions, 20 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini b/meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini index f9d5725..1acfcac 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini +++ b/meta-openstack/recipes-devtools/python/python-neutron/metadata_agent.ini | |||
| @@ -1,29 +1,268 @@ | |||
| 1 | [DEFAULT] | 1 | [DEFAULT] |
| 2 | # Show debugging output in log (sets DEBUG log level output) | ||
| 3 | # debug = True | ||
| 4 | 2 | ||
| 5 | # The Neutron user information for accessing the Neutron API. | 3 | # |
| 6 | identity_uri = http://localhost:8081/keystone/main | 4 | # From neutron.metadata.agent |
| 7 | auth_region = RegionOne | 5 | # |
| 8 | admin_tenant_name = %SERVICE_TENANT_NAME% | ||
| 9 | admin_user = %SERVICE_USER% | ||
| 10 | admin_password = %SERVICE_PASSWORD% | ||
| 11 | 6 | ||
| 12 | # Network service endpoint type to pull from the keystone catalog | 7 | # Location for Metadata Proxy UNIX domain socket. (string value) |
| 13 | # endpoint_type = adminURL | 8 | #metadata_proxy_socket = $state_path/metadata_proxy |
| 14 | 9 | ||
| 15 | # IP address used by Nova metadata server | 10 | # User (uid or name) running metadata proxy after its initialization (if empty: |
| 16 | # nova_metadata_ip = 127.0.0.1 | 11 | # agent effective user). (string value) |
| 12 | #metadata_proxy_user = | ||
| 17 | 13 | ||
| 18 | # TCP Port used by Nova metadata server | 14 | # Group (gid or name) running metadata proxy after its initialization (if |
| 19 | # nova_metadata_port = 8775 | 15 | # empty: agent effective group). (string value) |
| 16 | #metadata_proxy_group = | ||
| 17 | |||
| 18 | # Certificate Authority public key (CA cert) file for ssl (string value) | ||
| 19 | #auth_ca_cert = <None> | ||
| 20 | |||
| 21 | # IP address or DNS name of Nova metadata server. (unknown value) | ||
| 22 | # Deprecated group/name - [DEFAULT]/nova_metadata_ip | ||
| 23 | #nova_metadata_host = 127.0.0.1 | ||
| 24 | |||
| 25 | # TCP Port used by Nova metadata server. (port value) | ||
| 26 | # Minimum value: 0 | ||
| 27 | # Maximum value: 65535 | ||
| 28 | #nova_metadata_port = 8775 | ||
| 20 | 29 | ||
| 21 | # When proxying metadata requests, Neutron signs the Instance-ID header with a | 30 | # When proxying metadata requests, Neutron signs the Instance-ID header with a |
| 22 | # shared secret to prevent spoofing. You may select any string for a secret, | 31 | # shared secret to prevent spoofing. You may select any string for a secret, |
| 23 | # but it must match here and in the configuration used by the Nova Metadata | 32 | # but it must match here and in the configuration used by the Nova Metadata |
| 24 | # Server. NOTE: Nova uses a different key: neutron_metadata_proxy_shared_secret | 33 | # Server. NOTE: Nova uses the same config key, but in [neutron] section. |
| 25 | # metadata_proxy_shared_secret = | 34 | # (string value) |
| 26 | metadata_proxy_shared_secret = %METADATA_SHARED_SECRET% | 35 | #metadata_proxy_shared_secret = |
| 36 | |||
| 37 | # Protocol to access nova metadata, http or https (string value) | ||
| 38 | # Allowed values: http, https | ||
| 39 | #nova_metadata_protocol = http | ||
| 40 | |||
| 41 | # Allow to perform insecure SSL (https) requests to nova metadata (boolean | ||
| 42 | # value) | ||
| 43 | #nova_metadata_insecure = false | ||
| 44 | |||
| 45 | # Client certificate for nova metadata api server. (string value) | ||
| 46 | #nova_client_cert = | ||
| 47 | |||
| 48 | # Private key of client certificate. (string value) | ||
| 49 | #nova_client_priv_key = | ||
| 50 | |||
| 51 | # Metadata Proxy UNIX domain socket mode, 4 values allowed: 'deduce': deduce | ||
| 52 | # mode from metadata_proxy_user/group values, 'user': set metadata proxy socket | ||
| 53 | # mode to 0o644, to use when metadata_proxy_user is agent effective user or | ||
| 54 | # root, 'group': set metadata proxy socket mode to 0o664, to use when | ||
| 55 | # metadata_proxy_group is agent effective group or root, 'all': set metadata | ||
| 56 | # proxy socket mode to 0o666, to use otherwise. (string value) | ||
| 57 | # Allowed values: deduce, user, group, all | ||
| 58 | #metadata_proxy_socket_mode = deduce | ||
| 59 | |||
| 60 | # Number of separate worker processes for metadata server (defaults to half of | ||
| 61 | # the number of CPUs) (integer value) | ||
| 62 | #metadata_workers = 0 | ||
| 63 | |||
| 64 | # Number of backlog requests to configure the metadata server socket with | ||
| 65 | # (integer value) | ||
| 66 | #metadata_backlog = 4096 | ||
| 67 | |||
| 68 | # DEPRECATED: URL to connect to the cache back end. This option is deprecated | ||
| 69 | # in the Newton release and will be removed. Please add a [cache] group for | ||
| 70 | # oslo.cache in your neutron.conf and add "enable" and "backend" options in | ||
| 71 | # this section. (string value) | ||
| 72 | # This option is deprecated for removal. | ||
| 73 | # Its value may be silently ignored in the future. | ||
| 74 | #cache_url = | ||
| 75 | |||
| 76 | # | ||
| 77 | # From oslo.log | ||
| 78 | # | ||
| 79 | |||
| 80 | # If set to true, the logging level will be set to DEBUG instead of the default | ||
| 81 | # INFO level. (boolean value) | ||
| 82 | # Note: This option can be changed without restarting. | ||
| 83 | #debug = false | ||
| 84 | |||
| 85 | # The name of a logging configuration file. This file is appended to any | ||
| 86 | # existing logging configuration files. For details about logging configuration | ||
| 87 | # files, see the Python logging module documentation. Note that when logging | ||
| 88 | # configuration files are used then all logging configuration is set in the | ||
| 89 | # configuration file and other logging configuration options are ignored (for | ||
| 90 | # example, logging_context_format_string). (string value) | ||
| 91 | # Note: This option can be changed without restarting. | ||
| 92 | # Deprecated group/name - [DEFAULT]/log_config | ||
| 93 | #log_config_append = <None> | ||
| 94 | |||
| 95 | # Defines the format string for %%(asctime)s in log records. Default: | ||
| 96 | # %(default)s . This option is ignored if log_config_append is set. (string | ||
| 97 | # value) | ||
| 98 | #log_date_format = %Y-%m-%d %H:%M:%S | ||
| 99 | |||
| 100 | # (Optional) Name of log file to send logging output to. If no default is set, | ||
| 101 | # logging will go to stderr as defined by use_stderr. This option is ignored if | ||
| 102 | # log_config_append is set. (string value) | ||
| 103 | # Deprecated group/name - [DEFAULT]/logfile | ||
| 104 | #log_file = <None> | ||
| 105 | |||
| 106 | # (Optional) The base directory used for relative log_file paths. This option | ||
| 107 | # is ignored if log_config_append is set. (string value) | ||
| 108 | # Deprecated group/name - [DEFAULT]/logdir | ||
| 109 | #log_dir = <None> | ||
| 110 | |||
| 111 | # Uses logging handler designed to watch file system. When log file is moved or | ||
| 112 | # removed this handler will open a new log file with specified path | ||
| 113 | # instantaneously. It makes sense only if log_file option is specified and | ||
| 114 | # Linux platform is used. This option is ignored if log_config_append is set. | ||
| 115 | # (boolean value) | ||
| 116 | #watch_log_file = false | ||
| 117 | |||
| 118 | # Use syslog for logging. Existing syslog format is DEPRECATED and will be | ||
| 119 | # changed later to honor RFC5424. This option is ignored if log_config_append | ||
| 120 | # is set. (boolean value) | ||
| 121 | #use_syslog = false | ||
| 122 | |||
| 123 | # Enable journald for logging. If running in a systemd environment you may wish | ||
| 124 | # to enable journal support. Doing so will use the journal native protocol | ||
| 125 | # which includes structured metadata in addition to log messages.This option is | ||
| 126 | # ignored if log_config_append is set. (boolean value) | ||
| 127 | #use_journal = false | ||
| 128 | |||
| 129 | # Syslog facility to receive log lines. This option is ignored if | ||
| 130 | # log_config_append is set. (string value) | ||
| 131 | #syslog_log_facility = LOG_USER | ||
| 132 | |||
| 133 | # Log output to standard error. This option is ignored if log_config_append is | ||
| 134 | # set. (boolean value) | ||
| 135 | #use_stderr = false | ||
| 136 | |||
| 137 | # Format string to use for log messages with context. (string value) | ||
| 138 | #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s | ||
| 139 | |||
| 140 | # Format string to use for log messages when context is undefined. (string | ||
| 141 | # value) | ||
| 142 | #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | ||
| 143 | |||
| 144 | # Additional data to append to log message when logging level for the message | ||
| 145 | # is DEBUG. (string value) | ||
| 146 | #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d | ||
| 147 | |||
| 148 | # Prefix each line of exception output with this format. (string value) | ||
| 149 | #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s | ||
| 150 | |||
| 151 | # Defines the format string for %(user_identity)s that is used in | ||
| 152 | # logging_context_format_string. (string value) | ||
| 153 | #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s | ||
| 154 | |||
| 155 | # List of package logging levels in logger=LEVEL pairs. This option is ignored | ||
| 156 | # if log_config_append is set. (list value) | ||
| 157 | #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO | ||
| 158 | |||
| 159 | # Enables or disables publication of error events. (boolean value) | ||
| 160 | #publish_errors = false | ||
| 161 | |||
| 162 | # The format for an instance that is passed with the log message. (string | ||
| 163 | # value) | ||
| 164 | #instance_format = "[instance: %(uuid)s] " | ||
| 165 | |||
| 166 | # The format for an instance UUID that is passed with the log message. (string | ||
| 167 | # value) | ||
| 168 | #instance_uuid_format = "[instance: %(uuid)s] " | ||
| 169 | |||
| 170 | # Interval, number of seconds, of log rate limiting. (integer value) | ||
| 171 | #rate_limit_interval = 0 | ||
| 172 | |||
| 173 | # Maximum number of logged messages per rate_limit_interval. (integer value) | ||
| 174 | #rate_limit_burst = 0 | ||
| 175 | |||
| 176 | # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG | ||
| 177 | # or empty string. Logs with level greater or equal to rate_limit_except_level | ||
| 178 | # are not filtered. An empty string means that all levels are filtered. (string | ||
| 179 | # value) | ||
| 180 | #rate_limit_except_level = CRITICAL | ||
| 181 | |||
| 182 | # Enables or disables fatal status of deprecations. (boolean value) | ||
| 183 | #fatal_deprecations = false | ||
| 184 | |||
| 185 | |||
| 186 | [agent] | ||
| 187 | |||
| 188 | # | ||
| 189 | # From neutron.metadata.agent | ||
| 190 | # | ||
| 191 | |||
| 192 | # Seconds between nodes reporting state to server; should be less than | ||
| 193 | # agent_down_time, best if it is half or less than agent_down_time. (floating | ||
| 194 | # point value) | ||
| 195 | #report_interval = 30 | ||
| 196 | |||
| 197 | # Log agent heartbeats (boolean value) | ||
| 198 | #log_agent_heartbeats = false | ||
| 199 | |||
| 200 | |||
| 201 | [cache] | ||
| 202 | |||
| 203 | # | ||
| 204 | # From oslo.cache | ||
| 205 | # | ||
| 206 | |||
| 207 | # Prefix for building the configuration dictionary for the cache region. This | ||
| 208 | # should not need to be changed unless there is another dogpile.cache region | ||
| 209 | # with the same configuration name. (string value) | ||
| 210 | #config_prefix = cache.oslo | ||
| 211 | |||
| 212 | # Default TTL, in seconds, for any cached item in the dogpile.cache region. | ||
| 213 | # This applies to any cached method that doesn't have an explicit cache | ||
| 214 | # expiration time defined for it. (integer value) | ||
| 215 | #expiration_time = 600 | ||
| 216 | |||
| 217 | # Cache backend module. For eventlet-based or environments with hundreds of | ||
| 218 | # threaded servers, Memcache with pooling (oslo_cache.memcache_pool) is | ||
| 219 | # recommended. For environments with less than 100 threaded servers, Memcached | ||
| 220 | # (dogpile.cache.memcached) or Redis (dogpile.cache.redis) is recommended. Test | ||
| 221 | # environments with a single instance of the server can use the | ||
| 222 | # dogpile.cache.memory backend. (string value) | ||
| 223 | # Allowed values: oslo_cache.memcache_pool, oslo_cache.dict, dogpile.cache.memcached, dogpile.cache.redis, dogpile.cache.memory, dogpile.cache.null | ||
| 224 | #backend = dogpile.cache.null | ||
| 225 | |||
| 226 | # Arguments supplied to the backend module. Specify this option once per | ||
| 227 | # argument to be passed to the dogpile.cache backend. Example format: | ||
| 228 | # "<argname>:<value>". (multi valued) | ||
| 229 | #backend_argument = | ||
| 230 | |||
| 231 | # Proxy classes to import that will affect the way the dogpile.cache backend | ||
| 232 | # functions. See the dogpile.cache documentation on changing-backend-behavior. | ||
| 233 | # (list value) | ||
| 234 | #proxies = | ||
| 235 | |||
| 236 | # Global toggle for caching. (boolean value) | ||
| 237 | #enabled = false | ||
| 238 | |||
| 239 | # Extra debugging from the cache backend (cache keys, get/set/delete/etc | ||
| 240 | # calls). This is only really useful if you need to see the specific cache- | ||
| 241 | # backend get/set/delete calls with the keys/values. Typically this should be | ||
| 242 | # left set to false. (boolean value) | ||
| 243 | #debug_cache_backend = false | ||
| 244 | |||
| 245 | # Memcache servers in the format of "host:port". (dogpile.cache.memcache and | ||
| 246 | # oslo_cache.memcache_pool backends only). (list value) | ||
| 247 | #memcache_servers = localhost:11211 | ||
| 248 | |||
| 249 | # Number of seconds memcached server is considered dead before it is tried | ||
| 250 | # again. (dogpile.cache.memcache and oslo_cache.memcache_pool backends only). | ||
| 251 | # (integer value) | ||
| 252 | #memcache_dead_retry = 300 | ||
| 253 | |||
| 254 | # Timeout in seconds for every call to a server. (dogpile.cache.memcache and | ||
| 255 | # oslo_cache.memcache_pool backends only). (integer value) | ||
| 256 | #memcache_socket_timeout = 3 | ||
| 257 | |||
| 258 | # Max total number of open connections to every memcached server. | ||
| 259 | # (oslo_cache.memcache_pool backend only). (integer value) | ||
| 260 | #memcache_pool_maxsize = 10 | ||
| 261 | |||
| 262 | # Number of seconds a connection to memcached is held unused in the pool before | ||
| 263 | # it is closed. (oslo_cache.memcache_pool backend only). (integer value) | ||
| 264 | #memcache_pool_unused_timeout = 60 | ||
| 27 | 265 | ||
| 28 | # Location of Metadata Proxy UNIX domain socket | 266 | # Number of seconds that an operation will wait to get a memcache client |
| 29 | # metadata_proxy_socket = $state_path/metadata_proxy | 267 | # connection. (integer value) |
| 268 | #memcache_pool_connection_get_timeout = 10 | ||
