Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.02 KB | None | 0 0
  1. [DEFAULT]
  2.  
  3. #
  4. # From cotyledon
  5. #
  6.  
  7. # Enables or disables logging values of all registered options when starting a
  8. # service (at DEBUG level). (boolean value)
  9. # Note: This option can be changed without restarting.
  10. #log_options = true
  11.  
  12. # Specify a timeout after which a gracefully shutdown server will exit. Zero
  13. # value means endless wait. (integer value)
  14. # Note: This option can be changed without restarting.
  15. #graceful_shutdown_timeout = 60
  16.  
  17. #
  18. # From oslo.log
  19. #
  20.  
  21. # If set to true, the logging level will be set to DEBUG instead of the default
  22. # INFO level. (boolean value)
  23. # Note: This option can be changed without restarting.
  24. debug = true
  25.  
  26. # DEPRECATED: If set to false, the logging level will be set to WARNING instead
  27. # of the default INFO level. (boolean value)
  28. # This option is deprecated for removal.
  29. # Its value may be silently ignored in the future.
  30. #verbose = true
  31.  
  32. # The name of a logging configuration file. This file is appended to any
  33. # existing logging configuration files. For details about logging configuration
  34. # files, see the Python logging module documentation. Note that when logging
  35. # configuration files are used then all logging configuration is set in the
  36. # configuration file and other logging configuration options are ignored (for
  37. # example, logging_context_format_string). (string value)
  38. # Note: This option can be changed without restarting.
  39. # Deprecated group/name - [DEFAULT]/log_config
  40. #log_config_append = <None>
  41.  
  42. # Defines the format string for %%(asctime)s in log records. Default:
  43. # %(default)s . This option is ignored if log_config_append is set. (string
  44. # value)
  45. #log_date_format = %Y-%m-%d %H:%M:%S
  46.  
  47. # (Optional) Name of log file to send logging output to. If no default is set,
  48. # logging will go to stderr as defined by use_stderr. This option is ignored if
  49. # log_config_append is set. (string value)
  50. # Deprecated group/name - [DEFAULT]/logfile
  51. #log_file = <None>
  52.  
  53. # (Optional) The base directory used for relative log_file paths. This option
  54. # is ignored if log_config_append is set. (string value)
  55. # Deprecated group/name - [DEFAULT]/logdir
  56. #log_dir = <None>
  57.  
  58. # Uses logging handler designed to watch file system. When log file is moved or
  59. # removed this handler will open a new log file with specified path
  60. # instantaneously. It makes sense only if log_file option is specified and
  61. # Linux platform is used. This option is ignored if log_config_append is set.
  62. # (boolean value)
  63. #watch_log_file = false
  64.  
  65. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  66. # changed later to honor RFC5424. This option is ignored if log_config_append
  67. # is set. (boolean value)
  68. #use_syslog = false
  69.  
  70. # Syslog facility to receive log lines. This option is ignored if
  71. # log_config_append is set. (string value)
  72. #syslog_log_facility = LOG_USER
  73.  
  74. # Log output to standard error. This option is ignored if log_config_append is
  75. # set. (boolean value)
  76. #use_stderr = false
  77.  
  78. # Format string to use for log messages with context. (string value)
  79. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
  80.  
  81. # Format string to use for log messages when context is undefined. (string
  82. # value)
  83. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  84.  
  85. # Additional data to append to log message when logging level for the message
  86. # is DEBUG. (string value)
  87. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  88.  
  89. # Prefix each line of exception output with this format. (string value)
  90. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  91.  
  92. # Defines the format string for %(user_identity)s that is used in
  93. # logging_context_format_string. (string value)
  94. #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  95.  
  96. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  97. # if log_config_append is set. (list value)
  98. #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=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
  99.  
  100. # Enables or disables publication of error events. (boolean value)
  101. #publish_errors = false
  102.  
  103. # The format for an instance that is passed with the log message. (string
  104. # value)
  105. #instance_format = "[instance: %(uuid)s] "
  106.  
  107. # The format for an instance UUID that is passed with the log message. (string
  108. # value)
  109. #instance_uuid_format = "[instance: %(uuid)s] "
  110.  
  111. # Interval, number of seconds, of log rate limiting. (integer value)
  112. #rate_limit_interval = 0
  113.  
  114. # Maximum number of logged messages per rate_limit_interval. (integer value)
  115. #rate_limit_burst = 0
  116.  
  117. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  118. # or empty string. Logs with level greater or equal to rate_limit_except_level
  119. # are not filtered. An empty string means that all levels are filtered. (string
  120. # value)
  121. #rate_limit_except_level = CRITICAL
  122.  
  123. # Enables or disables fatal status of deprecations. (boolean value)
  124. #fatal_deprecations = false
  125.  
  126.  
  127. [api]
  128.  
  129. #
  130. # From gnocchi
  131. #
  132.  
  133. # Path to API Paste configuration. (string value)
  134. #paste_config = /usr/lib/python2.7/site-packages/gnocchi/rest/api-paste.ini
  135.  
  136. # Authentication mode to use. (string value)
  137. # Allowed values: keystone, noauth, basic
  138. auth_mode = keystone
  139.  
  140. # The maximum number of items returned in a single response from a collection
  141. # resource (integer value)
  142. #max_limit = 1000
  143.  
  144.  
  145. [archive_policy]
  146.  
  147. #
  148. # From gnocchi
  149. #
  150.  
  151. # Default aggregation methods to use in created archive policies (list value)
  152. #default_aggregation_methods = mean,min,max,sum,std,count
  153.  
  154.  
  155. [cors]
  156.  
  157. #
  158. # From oslo.middleware.cors
  159. #
  160.  
  161. # Indicate whether this resource may be shared with the domain received in the
  162. # requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
  163. # slash. Example: https://horizon.example.com (list value)
  164. #allowed_origin = <None>
  165.  
  166. # Indicate that the actual request can include user credentials (boolean value)
  167. #allow_credentials = true
  168.  
  169. # Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
  170. # Headers. (list value)
  171. #expose_headers =
  172.  
  173. # Maximum cache age of CORS preflight requests. (integer value)
  174. #max_age = 3600
  175.  
  176. # Indicate which methods can be used during the actual request. (list value)
  177. #allow_methods = OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,PATCH
  178.  
  179. # Indicate which header field names may be used during the actual request.
  180. # (list value)
  181. #allow_headers = X-Auth-Token,X-Subject-Token,X-User-Id,X-Domain-Id,X-Project-Id,X-Roles
  182.  
  183.  
  184. [cors.subdomain]
  185.  
  186. #
  187. # From oslo.middleware.cors
  188. #
  189.  
  190. # Indicate whether this resource may be shared with the domain received in the
  191. # requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
  192. # slash. Example: https://horizon.example.com (list value)
  193. #allowed_origin = <None>
  194.  
  195. # Indicate that the actual request can include user credentials (boolean value)
  196. #allow_credentials = true
  197.  
  198. # Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
  199. # Headers. (list value)
  200. #expose_headers =
  201.  
  202. # Maximum cache age of CORS preflight requests. (integer value)
  203. #max_age = 3600
  204.  
  205. # Indicate which methods can be used during the actual request. (list value)
  206. #allow_methods = OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,PATCH
  207.  
  208. # Indicate which header field names may be used during the actual request.
  209. # (list value)
  210. #allow_headers = X-Auth-Token,X-Subject-Token,X-User-Id,X-Domain-Id,X-Project-Id,X-Roles
  211.  
  212.  
  213. [database]
  214.  
  215. #
  216. # From oslo.db
  217. #
  218.  
  219. # DEPRECATED: The file name to use with SQLite. (string value)
  220. # Deprecated group/name - [DEFAULT]/sqlite_db
  221. # This option is deprecated for removal.
  222. # Its value may be silently ignored in the future.
  223. # Reason: Should use config option connection or slave_connection to connect
  224. # the database.
  225. #sqlite_db = oslo.sqlite
  226.  
  227. # If True, SQLite uses synchronous mode. (boolean value)
  228. # Deprecated group/name - [DEFAULT]/sqlite_synchronous
  229. #sqlite_synchronous = true
  230.  
  231. # The back end to use for the database. (string value)
  232. # Deprecated group/name - [DEFAULT]/db_backend
  233. #backend = sqlalchemy
  234.  
  235. # The SQLAlchemy connection string to use to connect to the database. (string
  236. # value)
  237. # Deprecated group/name - [DEFAULT]/sql_connection
  238. # Deprecated group/name - [DATABASE]/sql_connection
  239. # Deprecated group/name - [sql]/connection
  240. connection = postgresql://gnocchi:gnocchi@controller/gnocchi
  241.  
  242. # The SQLAlchemy connection string to use to connect to the slave database.
  243. # (string value)
  244. #slave_connection = <None>
  245.  
  246. # The SQL mode to be used for MySQL sessions. This option, including the
  247. # default, overrides any server-set SQL mode. To use whatever SQL mode is set
  248. # by the server configuration, set this to no value. Example: mysql_sql_mode=
  249. # (string value)
  250. #mysql_sql_mode = TRADITIONAL
  251.  
  252. # Timeout before idle SQL connections are reaped. (integer value)
  253. # Deprecated group/name - [DEFAULT]/sql_idle_timeout
  254. # Deprecated group/name - [DATABASE]/sql_idle_timeout
  255. # Deprecated group/name - [sql]/idle_timeout
  256. #idle_timeout = 3600
  257.  
  258. # Minimum number of SQL connections to keep open in a pool. (integer value)
  259. # Deprecated group/name - [DEFAULT]/sql_min_pool_size
  260. # Deprecated group/name - [DATABASE]/sql_min_pool_size
  261. #min_pool_size = 1
  262.  
  263. # Maximum number of SQL connections to keep open in a pool. Setting a value of
  264. # 0 indicates no limit. (integer value)
  265. # Deprecated group/name - [DEFAULT]/sql_max_pool_size
  266. # Deprecated group/name - [DATABASE]/sql_max_pool_size
  267. #max_pool_size = 5
  268.  
  269. # Maximum number of database connection retries during startup. Set to -1 to
  270. # specify an infinite retry count. (integer value)
  271. # Deprecated group/name - [DEFAULT]/sql_max_retries
  272. # Deprecated group/name - [DATABASE]/sql_max_retries
  273. #max_retries = 10
  274.  
  275. # Interval between retries of opening a SQL connection. (integer value)
  276. # Deprecated group/name - [DEFAULT]/sql_retry_interval
  277. # Deprecated group/name - [DATABASE]/reconnect_interval
  278. #retry_interval = 10
  279.  
  280. # If set, use this value for max_overflow with SQLAlchemy. (integer value)
  281. # Deprecated group/name - [DEFAULT]/sql_max_overflow
  282. # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
  283. #max_overflow = 50
  284.  
  285. # Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
  286. # value)
  287. # Minimum value: 0
  288. # Maximum value: 100
  289. # Deprecated group/name - [DEFAULT]/sql_connection_debug
  290. #connection_debug = 0
  291.  
  292. # Add Python stack traces to SQL as comment strings. (boolean value)
  293. # Deprecated group/name - [DEFAULT]/sql_connection_trace
  294. #connection_trace = false
  295.  
  296. # If set, use this value for pool_timeout with SQLAlchemy. (integer value)
  297. # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
  298. #pool_timeout = <None>
  299.  
  300. # Enable the experimental use of database reconnect on connection lost.
  301. # (boolean value)
  302. #use_db_reconnect = false
  303.  
  304. # Seconds between retries of a database transaction. (integer value)
  305. #db_retry_interval = 1
  306.  
  307. # If True, increases the interval between retries of a database operation up to
  308. # db_max_retry_interval. (boolean value)
  309. #db_inc_retry_interval = true
  310.  
  311. # If db_inc_retry_interval is set, the maximum seconds between retries of a
  312. # database operation. (integer value)
  313. #db_max_retry_interval = 10
  314.  
  315. # Maximum retries in case of connection error or deadlock error before error is
  316. # raised. Set to -1 to specify an infinite retry count. (integer value)
  317. #db_max_retries = 20
  318.  
  319.  
  320. [healthcheck]
  321.  
  322. #
  323. # From oslo.middleware.healthcheck
  324. #
  325.  
  326. # DEPRECATED: The path to respond to healtcheck requests on. (string value)
  327. # This option is deprecated for removal.
  328. # Its value may be silently ignored in the future.
  329. #path = /healthcheck
  330.  
  331. # Show more detailed information as part of the response (boolean value)
  332. #detailed = false
  333.  
  334. # Additional backends that can perform health checks and report that
  335. # information back as part of a request. (list value)
  336. #backends =
  337.  
  338. # Check the presence of a file to determine if an application is running on a
  339. # port. Used by DisableByFileHealthcheck plugin. (string value)
  340. #disable_by_file_path = <None>
  341.  
  342. # Check the presence of a file based on a port to determine if an application
  343. # is running on a port. Expects a "port:path" list of strings. Used by
  344. # DisableByFilesPortsHealthcheck plugin. (list value)
  345. #disable_by_file_paths =
  346.  
  347.  
  348. [incoming]
  349.  
  350. #
  351. # From gnocchi
  352. #
  353.  
  354. # Storage driver to use (string value)
  355. #driver = ${storage.driver}
  356.  
  357. # Ceph pool name to use. (string value)
  358. #ceph_pool = ${storage.ceph_pool}
  359.  
  360. # Ceph username (ie: admin without "client." prefix). (string value)
  361. #ceph_username = ${storage.ceph_username}
  362.  
  363. # Ceph key (string value)
  364. #ceph_secret = ${storage.ceph_secret}
  365.  
  366. # Ceph keyring path. (string value)
  367. #ceph_keyring = ${storage.ceph_keyring}
  368.  
  369. # Ceph configuration file. (string value)
  370. #ceph_conffile = ${storage.ceph_conffile}
  371.  
  372. # Path used to store gnocchi data files. (string value)
  373. #file_basepath = ${storage.file_basepath}
  374.  
  375. # Swift authentication version to user. (string value)
  376. #swift_auth_version = ${storage.swift_auth_version}
  377.  
  378. # Swift pre-auth URL. (string value)
  379. #swift_preauthurl = ${storage.swift_preauthurl}
  380.  
  381. # Swift auth URL. (string value)
  382. #swift_authurl = ${storage.swift_authurl}
  383.  
  384. # Swift token to user to authenticate. (string value)
  385. #swift_preauthtoken = ${storage.swift_preauthtoken}
  386.  
  387. # Swift user. (string value)
  388. #swift_user = ${storage.swift_user}
  389.  
  390. # Swift user domain name. (string value)
  391. #swift_user_domain_name = ${storage.swift_user_domain_name}
  392.  
  393. # Swift key/password. (string value)
  394. #swift_key = ${storage.swift_key}
  395.  
  396. # Swift tenant name, only used in v2/v3 auth. (string value)
  397. # Deprecated group/name - [incoming]/swift_tenant_name
  398. #swift_project_name = ${storage.swift_project_name}
  399.  
  400. # Swift project domain name. (string value)
  401. #swift_project_domain_name = ${storage.swift_project_domain_name}
  402.  
  403. # Prefix to namespace metric containers. (string value)
  404. #swift_container_prefix = ${storage.swift_container_prefix}
  405.  
  406. # Endpoint type to connect to Swift (string value)
  407. #swift_endpoint_type = ${storage.swift_endpoint_type}
  408.  
  409. # Connection timeout in seconds. (integer value)
  410. # Minimum value: 0
  411. #swift_timeout = ${storage.swift_timeout}
  412.  
  413. # S3 endpoint URL (string value)
  414. #s3_endpoint_url = ${storage.s3_endpoint_url}
  415.  
  416. # S3 region name (string value)
  417. #s3_region_name = ${storage.s3_region_name}
  418.  
  419. # S3 access key id (string value)
  420. #s3_access_key_id = ${storage.s3_access_key_id}
  421.  
  422. # S3 secret access key (string value)
  423. #s3_secret_access_key = ${storage.s3_secret_access_key}
  424.  
  425. # Prefix to namespace metric bucket. (string value)
  426. #s3_bucket_prefix = ${storage.s3_bucket_prefix}
  427.  
  428.  
  429. [indexer]
  430.  
  431. #
  432. # From gnocchi
  433. #
  434.  
  435. # Indexer driver to use (string value)
  436. url = postgresql://gnocchi:gnocchi@controller/gnocchi
  437.  
  438. [service_credentials]
  439.  
  440. auth_type = password
  441. auth_url = http://controller:5000/v3
  442. project_domain_name = Default
  443. user_domain_name = Default
  444. project_name = service
  445. username = gnocchi
  446. password = gnocchi
  447. #interface = internalURL
  448. #region_name = RegionOne
  449.  
  450. [keystone_authtoken]
  451. auth_uri = http://controller:5000
  452. auth_url = http://controller:35357
  453. memcached_servers = controller:11211
  454. auth_type = password
  455. project_domain_name = Default
  456. user_domain_name = Default
  457. project_name = service
  458. username = gnocchi
  459. password = gnocchi
  460. #
  461. # From keystonemiddleware.auth_token
  462. #
  463.  
  464. # Complete "public" Identity API endpoint. This endpoint should not be an
  465. # "admin" endpoint, as it should be accessible by all end users.
  466. # Unauthenticated clients are redirected to this endpoint to authenticate.
  467. # Although this endpoint should ideally be unversioned, client support in the
  468. # wild varies. If you're using a versioned v2 endpoint here, then this should
  469. # *not* be the same endpoint the service user utilizes for validating tokens,
  470. # because normal end users may not be able to reach that endpoint. (string
  471. # value)
  472. #auth_uri = <None>
  473.  
  474. # API version of the admin Identity API endpoint. (string value)
  475. #auth_version = <None>
  476.  
  477. # Do not handle authorization requests within the middleware, but delegate the
  478. # authorization decision to downstream WSGI components. (boolean value)
  479. #delay_auth_decision = false
  480.  
  481. # Request timeout value for communicating with Identity API server. (integer
  482. # value)
  483. #http_connect_timeout = <None>
  484.  
  485. # How many times are we trying to reconnect when communicating with Identity
  486. # API Server. (integer value)
  487. #http_request_max_retries = 3
  488.  
  489. # Request environment key where the Swift cache object is stored. When
  490. # auth_token middleware is deployed with a Swift cache, use this option to have
  491. # the middleware share a caching backend with swift. Otherwise, use the
  492. # ``memcached_servers`` option instead. (string value)
  493. #cache = <None>
  494.  
  495. # Required if identity server requires client certificate (string value)
  496. #certfile = <None>
  497.  
  498. # Required if identity server requires client certificate (string value)
  499. #keyfile = <None>
  500.  
  501. # A PEM encoded Certificate Authority to use when verifying HTTPs connections.
  502. # Defaults to system CAs. (string value)
  503. #cafile = <None>
  504.  
  505. # Verify HTTPS connections. (boolean value)
  506. #insecure = false
  507.  
  508. # The region in which the identity server can be found. (string value)
  509. #region_name = <None>
  510.  
  511. # DEPRECATED: Directory used to cache files related to PKI tokens. This option
  512. # has been deprecated in the Ocata release and will be removed in the P
  513. # release. (string value)
  514. # This option is deprecated for removal since Ocata.
  515. # Its value may be silently ignored in the future.
  516. # Reason: PKI token format is no longer supported.
  517. #signing_dir = <None>
  518.  
  519. # Optionally specify a list of memcached server(s) to use for caching. If left
  520. # undefined, tokens will instead be cached in-process. (list value)
  521. # Deprecated group/name - [keystone_authtoken]/memcache_servers
  522. #memcached_servers = <None>
  523.  
  524. # In order to prevent excessive effort spent validating tokens, the middleware
  525. # caches previously-seen tokens for a configurable duration (in seconds). Set
  526. # to -1 to disable caching completely. (integer value)
  527. #token_cache_time = 300
  528.  
  529. # DEPRECATED: Determines the frequency at which the list of revoked tokens is
  530. # retrieved from the Identity service (in seconds). A high number of revocation
  531. # events combined with a low cache duration may significantly reduce
  532. # performance. Only valid for PKI tokens. This option has been deprecated in
  533. # the Ocata release and will be removed in the P release. (integer value)
  534. # This option is deprecated for removal since Ocata.
  535. # Its value may be silently ignored in the future.
  536. # Reason: PKI token format is no longer supported.
  537. #revocation_cache_time = 10
  538.  
  539. # (Optional) If defined, indicate whether token data should be authenticated or
  540. # authenticated and encrypted. If MAC, token data is authenticated (with HMAC)
  541. # in the cache. If ENCRYPT, token data is encrypted and authenticated in the
  542. # cache. If the value is not one of these options or empty, auth_token will
  543. # raise an exception on initialization. (string value)
  544. # Allowed values: None, MAC, ENCRYPT
  545. #memcache_security_strategy = None
  546.  
  547. # (Optional, mandatory if memcache_security_strategy is defined) This string is
  548. # used for key derivation. (string value)
  549. #memcache_secret_key = <None>
  550.  
  551. # (Optional) Number of seconds memcached server is considered dead before it is
  552. # tried again. (integer value)
  553. #memcache_pool_dead_retry = 300
  554.  
  555. # (Optional) Maximum total number of open connections to every memcached
  556. # server. (integer value)
  557. #memcache_pool_maxsize = 10
  558.  
  559. # (Optional) Socket timeout in seconds for communicating with a memcached
  560. # server. (integer value)
  561. #memcache_pool_socket_timeout = 3
  562.  
  563. # (Optional) Number of seconds a connection to memcached is held unused in the
  564. # pool before it is closed. (integer value)
  565. #memcache_pool_unused_timeout = 60
  566.  
  567. # (Optional) Number of seconds that an operation will wait to get a memcached
  568. # client connection from the pool. (integer value)
  569. #memcache_pool_conn_get_timeout = 10
  570.  
  571. # (Optional) Use the advanced (eventlet safe) memcached client pool. The
  572. # advanced pool will only work under python 2.x. (boolean value)
  573. #memcache_use_advanced_pool = false
  574.  
  575. # (Optional) Indicate whether to set the X-Service-Catalog header. If False,
  576. # middleware will not ask for service catalog on token validation and will not
  577. # set the X-Service-Catalog header. (boolean value)
  578. #include_service_catalog = true
  579.  
  580. # Used to control the use and type of token binding. Can be set to: "disabled"
  581. # to not check token binding. "permissive" (default) to validate binding
  582. # information if the bind type is of a form known to the server and ignore it
  583. # if not. "strict" like "permissive" but if the bind type is unknown the token
  584. # will be rejected. "required" any form of token binding is needed to be
  585. # allowed. Finally the name of a binding method that must be present in tokens.
  586. # (string value)
  587. #enforce_token_bind = permissive
  588.  
  589. # DEPRECATED: If true, the revocation list will be checked for cached tokens.
  590. # This requires that PKI tokens are configured on the identity server. (boolean
  591. # value)
  592. # This option is deprecated for removal since Ocata.
  593. # Its value may be silently ignored in the future.
  594. # Reason: PKI token format is no longer supported.
  595. #check_revocations_for_cached = false
  596.  
  597. # DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a
  598. # single algorithm or multiple. The algorithms are those supported by Python
  599. # standard hashlib.new(). The hashes will be tried in the order given, so put
  600. # the preferred one first for performance. The result of the first hash will be
  601. # stored in the cache. This will typically be set to multiple values only while
  602. # migrating from a less secure algorithm to a more secure one. Once all the old
  603. # tokens are expired this option should be set to a single value for better
  604. # performance. (list value)
  605. # This option is deprecated for removal since Ocata.
  606. # Its value may be silently ignored in the future.
  607. # Reason: PKI token format is no longer supported.
  608. #hash_algorithms = md5
  609.  
  610. # A choice of roles that must be present in a service token. Service tokens are
  611. # allowed to request that an expired token can be used and so this check should
  612. # tightly control that only actual services should be sending this token. Roles
  613. # here are applied as an ANY check so any role in this list must be present.
  614. # For backwards compatibility reasons this currently only affects the
  615. # allow_expired check. (list value)
  616. #service_token_roles = service
  617.  
  618. # For backwards compatibility reasons we must let valid service tokens pass
  619. # that don't pass the service_token_roles check as valid. Setting this true
  620. # will become the default in a future release and should be enabled if
  621. # possible. (boolean value)
  622. #service_token_roles_required = false
  623.  
  624. # Authentication type to load (string value)
  625. # Deprecated group/name - [keystone_authtoken]/auth_plugin
  626. #auth_type = <None>
  627.  
  628. # Config Section from which to load plugin specific options (string value)
  629. #auth_section = <None>
  630.  
  631.  
  632. [metricd]
  633.  
  634. #
  635. # From gnocchi
  636. #
  637.  
  638. # Number of workers for Gnocchi metric daemons. By default the available number
  639. # of CPU is used. (integer value)
  640. # Minimum value: 1
  641. #workers = <None>
  642.  
  643. # How many seconds to wait between scheduling new metrics to process (integer
  644. # value)
  645. # Deprecated group/name - [storage]/metric_processing_delay
  646. #metric_processing_delay = 60
  647.  
  648. # How many seconds to wait between metric ingestion reporting. Set value to -1
  649. # to disable reporting (integer value)
  650. # Minimum value: -1
  651. # Deprecated group/name - [storage]/metric_reporting_delay
  652. #metric_reporting_delay = 120
  653.  
  654. # How many seconds to wait between cleaning of expired data (integer value)
  655. # Deprecated group/name - [storage]/metric_cleanup_delay
  656. #metric_cleanup_delay = 300
  657.  
  658.  
  659. [oslo_middleware]
  660.  
  661. #
  662. # From oslo.middleware.http_proxy_to_wsgi
  663. #
  664.  
  665. # Whether the application is behind a proxy or not. This determines if the
  666. # middleware should parse the headers or not. (boolean value)
  667. #enable_proxy_headers_parsing = false
  668.  
  669.  
  670. [oslo_policy]
  671.  
  672. #
  673. # From oslo.policy
  674. #
  675.  
  676. # The file that defines policies. (string value)
  677. # Deprecated group/name - [DEFAULT]/policy_file
  678. #policy_file = policy.json
  679.  
  680. # Default rule. Enforced when a requested rule is not found. (string value)
  681. # Deprecated group/name - [DEFAULT]/policy_default_rule
  682. #policy_default_rule = default
  683.  
  684. # Directories where policy configuration files are stored. They can be relative
  685. # to any directory in the search path defined by the config_dir option, or
  686. # absolute paths. The file defined by policy_file must exist for these
  687. # directories to be searched. Missing or empty directories are ignored. (multi
  688. # valued)
  689. # Deprecated group/name - [DEFAULT]/policy_dirs
  690. #policy_dirs = policy.d
  691.  
  692.  
  693. [statsd]
  694.  
  695. #
  696. # From gnocchi
  697. #
  698.  
  699. # The listen IP for statsd (string value)
  700. #host = 0.0.0.0
  701.  
  702. # The port for statsd (port value)
  703. # Minimum value: 0
  704. # Maximum value: 65535
  705. #port = 8125
  706.  
  707. # Resource UUID to use to identify statsd in Gnocchi (unknown value)
  708. #resource_id = <None>
  709.  
  710. # DEPRECATED: User ID to use to identify statsd in Gnocchi (string value)
  711. # This option is deprecated for removal.
  712. # Its value may be silently ignored in the future.
  713. #user_id = <None>
  714.  
  715. # DEPRECATED: Project ID to use to identify statsd in Gnocchi (string value)
  716. # This option is deprecated for removal.
  717. # Its value may be silently ignored in the future.
  718. #project_id = <None>
  719.  
  720. # Creator value to use to identify statsd in Gnocchi (string value)
  721. #creator = ${statsd.user_id}:${statsd.project_id}
  722.  
  723. # Archive policy name to use when creating metrics (string value)
  724. #archive_policy_name = <None>
  725.  
  726. # Delay between flushes (floating point value)
  727. #flush_delay = 10
  728.  
  729.  
  730. [storage]
  731.  
  732. #
  733. # From gnocchi
  734. #
  735.  
  736. # Storage driver to use (string value)
  737. driver = file
  738.  
  739. # Ceph pool name to use. (string value)
  740. #ceph_pool = gnocchi
  741.  
  742. # Ceph username (ie: admin without "client." prefix). (string value)
  743. #ceph_username = <None>
  744.  
  745. # Ceph key (string value)
  746. #ceph_secret = <None>
  747.  
  748. # Ceph keyring path. (string value)
  749. #ceph_keyring = <None>
  750.  
  751. # Ceph configuration file. (string value)
  752. #ceph_conffile = /etc/ceph/ceph.conf
  753.  
  754. # Path used to store gnocchi data files. (string value)
  755. file_basepath = /var/lib/gnocchi
  756.  
  757. # Swift authentication version to user. (string value)
  758. #swift_auth_version = 1
  759.  
  760. # Swift pre-auth URL. (string value)
  761. #swift_preauthurl = <None>
  762.  
  763. # Swift auth URL. (string value)
  764. #swift_authurl = http://localhost:8080/auth/v1.0
  765.  
  766. # Swift token to user to authenticate. (string value)
  767. #swift_preauthtoken = <None>
  768.  
  769. # Swift user. (string value)
  770. #swift_user = admin:admin
  771.  
  772. # Swift user domain name. (string value)
  773. #swift_user_domain_name = Default
  774.  
  775. # Swift key/password. (string value)
  776. #swift_key = admin
  777.  
  778. # Swift tenant name, only used in v2/v3 auth. (string value)
  779. # Deprecated group/name - [storage]/swift_tenant_name
  780. #swift_project_name = <None>
  781.  
  782. # Swift project domain name. (string value)
  783. #swift_project_domain_name = Default
  784.  
  785. # Prefix to namespace metric containers. (string value)
  786. #swift_container_prefix = gnocchi
  787.  
  788. # Endpoint type to connect to Swift (string value)
  789. #swift_endpoint_type = publicURL
  790.  
  791. # Connection timeout in seconds. (integer value)
  792. # Minimum value: 0
  793. #swift_timeout = 300
  794.  
  795. # S3 endpoint URL (string value)
  796. #s3_endpoint_url = <None>
  797.  
  798. # S3 region name (string value)
  799. #s3_region_name = <None>
  800.  
  801. # S3 access key id (string value)
  802. #s3_access_key_id = <None>
  803.  
  804. # S3 secret access key (string value)
  805. #s3_secret_access_key = <None>
  806.  
  807. # Prefix to namespace metric bucket. (string value)
  808. #s3_bucket_prefix = gnocchi
  809.  
  810. # Number of workers to run during adding new measures for pre-aggregation
  811. # needs. Due to the Python GIL, 1 is usually faster, unless you have high
  812. # latency I/O (integer value)
  813. # Minimum value: 1
  814. #aggregation_workers_number = 1
  815.  
  816. # Coordination driver URL (string value)
  817. coordination_url = file:///var/lib/gnocchi/locks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement