Advertisement
Guest User

Untitled

a guest
Jun 8th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 163.09 KB | None | 0 0
  1. [DEFAULT]
  2.  
  3. #
  4. # From glance.api
  5. #
  6.  
  7. #
  8. # Set the image owner to tenant or the authenticated user.
  9. #
  10. # Assign a boolean value to determine the owner of an image. When set to
  11. # True, the owner of the image is the tenant. When set to False, the
  12. # owner of the image will be the authenticated user issuing the request.
  13. # Setting it to False makes the image private to the associated user and
  14. # sharing with other users within the same tenant (or "project")
  15. # requires explicit image sharing via image membership.
  16. #
  17. # Possible values:
  18. # * True
  19. # * False
  20. #
  21. # Related options:
  22. # * None
  23. #
  24. # (boolean value)
  25. #owner_is_tenant = true
  26.  
  27. #
  28. # Role used to identify an authenticated user as administrator.
  29. #
  30. # Provide a string value representing a Keystone role to identify an
  31. # administrative user. Users with this role will be granted
  32. # administrative privileges. The default value for this option is
  33. # 'admin'.
  34. #
  35. # Possible values:
  36. # * A string value which is a valid Keystone role
  37. #
  38. # Related options:
  39. # * None
  40. #
  41. # (string value)
  42. #admin_role = admin
  43.  
  44. #
  45. # Allow limited access to unauthenticated users.
  46. #
  47. # Assign a boolean to determine API access for unathenticated
  48. # users. When set to False, the API cannot be accessed by
  49. # unauthenticated users. When set to True, unauthenticated users can
  50. # access the API with read-only privileges. This however only applies
  51. # when using ContextMiddleware.
  52. #
  53. # Possible values:
  54. # * True
  55. # * False
  56. #
  57. # Related options:
  58. # * None
  59. #
  60. # (boolean value)
  61. #allow_anonymous_access = false
  62.  
  63. #
  64. # Limit the request ID length.
  65. #
  66. # Provide an integer value to limit the length of the request ID to
  67. # the specified length. The default value is 64. Users can change this
  68. # to any ineteger value between 0 and 16384 however keeping in mind that
  69. # a larger value may flood the logs.
  70. #
  71. # Possible values:
  72. # * Integer value between 0 and 16384
  73. #
  74. # Related options:
  75. # * None
  76. #
  77. # (integer value)
  78. # Minimum value: 0
  79. #max_request_id_length = 64
  80.  
  81. #
  82. # Public url endpoint to use for Glance versions response.
  83. #
  84. # This is the public url endpoint that will appear in the Glance
  85. # "versions" response. If no value is specified, the endpoint that is
  86. # displayed in the version's response is that of the host running the
  87. # API service. Change the endpoint to represent the proxy URL if the
  88. # API service is running behind a proxy. If the service is running
  89. # behind a load balancer, add the load balancer's URL for this value.
  90. #
  91. # Possible values:
  92. # * None
  93. # * Proxy URL
  94. # * Load balancer URL
  95. #
  96. # Related options:
  97. # * None
  98. #
  99. # (string value)
  100. #public_endpoint = <None>
  101.  
  102. #
  103. # Allow users to add additional/custom properties to images.
  104. #
  105. # Glance defines a standard set of properties (in its schema) that
  106. # appear on every image. These properties are also known as
  107. # ``base properties``. In addition to these properties, Glance
  108. # allows users to add custom properties to images. These are known
  109. # as ``additional properties``.
  110. #
  111. # By default, this configuration option is set to ``True`` and users
  112. # are allowed to add additional properties. The number of additional
  113. # properties that can be added to an image can be controlled via
  114. # ``image_property_quota`` configuration option.
  115. #
  116. # Possible values:
  117. # * True
  118. # * False
  119. #
  120. # Related options:
  121. # * image_property_quota
  122. #
  123. # (boolean value)
  124. #allow_additional_image_properties = true
  125.  
  126. #
  127. # Maximum number of image members per image.
  128. #
  129. # This limits the maximum of users an image can be shared with. Any negative
  130. # value is interpreted as unlimited.
  131. #
  132. # Related options:
  133. # * None
  134. #
  135. # (integer value)
  136. #image_member_quota = 128
  137.  
  138. #
  139. # Maximum number of properties allowed on an image.
  140. #
  141. # This enforces an upper limit on the number of additional properties an image
  142. # can have. Any negative value is interpreted as unlimited.
  143. #
  144. # NOTE: This won't have any impact if additional properties are disabled. Please
  145. # refer to ``allow_additional_image_properties``.
  146. #
  147. # Related options:
  148. # * ``allow_additional_image_properties``
  149. #
  150. # (integer value)
  151. #image_property_quota = 128
  152.  
  153. #
  154. # Maximum number of tags allowed on an image.
  155. #
  156. # Any negative value is interpreted as unlimited.
  157. #
  158. # Related options:
  159. # * None
  160. #
  161. # (integer value)
  162. #image_tag_quota = 128
  163.  
  164. #
  165. # Maximum number of locations allowed on an image.
  166. #
  167. # Any negative value is interpreted as unlimited.
  168. #
  169. # Related options:
  170. # * None
  171. #
  172. # (integer value)
  173. #image_location_quota = 10
  174.  
  175. # DEPRECATED:
  176. # Python module path of data access API.
  177. #
  178. # Specifies the path to the API to use for accessing the data model.
  179. # This option determines how the image catalog data will be accessed.
  180. #
  181. # Possible values:
  182. # * glance.db.sqlalchemy.api
  183. # * glance.db.registry.api
  184. # * glance.db.simple.api
  185. #
  186. # If this option is set to ``glance.db.sqlalchemy.api`` then the image
  187. # catalog data is stored in and read from the database via the
  188. # SQLAlchemy Core and ORM APIs.
  189. #
  190. # Setting this option to ``glance.db.registry.api`` will force all
  191. # database access requests to be routed through the Registry service.
  192. # This avoids data access from the Glance API nodes for an added layer
  193. # of security, scalability and manageability.
  194. #
  195. # NOTE: In v2 OpenStack Images API, the registry service is optional.
  196. # In order to use the Registry API in v2, the option
  197. # ``enable_v2_registry`` must be set to ``True``.
  198. #
  199. # Finally, when this configuration option is set to
  200. # ``glance.db.simple.api``, image catalog data is stored in and read
  201. # from an in-memory data structure. This is primarily used for testing.
  202. #
  203. # Related options:
  204. # * enable_v2_api
  205. # * enable_v2_registry
  206. #
  207. # (string value)
  208. # This option is deprecated for removal since Queens.
  209. # Its value may be silently ignored in the future.
  210. # Reason:
  211. # Glance registry service is deprecated for removal.
  212. #
  213. # More information can be found from the spec:
  214. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  215. # /deprecate-registry.html
  216. #data_api = glance.db.sqlalchemy.api
  217.  
  218. #
  219. # The default number of results to return for a request.
  220. #
  221. # Responses to certain API requests, like list images, may return
  222. # multiple items. The number of results returned can be explicitly
  223. # controlled by specifying the ``limit`` parameter in the API request.
  224. # However, if a ``limit`` parameter is not specified, this
  225. # configuration value will be used as the default number of results to
  226. # be returned for any API request.
  227. #
  228. # NOTES:
  229. # * The value of this configuration option may not be greater than
  230. # the value specified by ``api_limit_max``.
  231. # * Setting this to a very large value may slow down database
  232. # queries and increase response times. Setting this to a
  233. # very low value may result in poor user experience.
  234. #
  235. # Possible values:
  236. # * Any positive integer
  237. #
  238. # Related options:
  239. # * api_limit_max
  240. #
  241. # (integer value)
  242. # Minimum value: 1
  243. #limit_param_default = 25
  244.  
  245. #
  246. # Maximum number of results that could be returned by a request.
  247. #
  248. # As described in the help text of ``limit_param_default``, some
  249. # requests may return multiple results. The number of results to be
  250. # returned are governed either by the ``limit`` parameter in the
  251. # request or the ``limit_param_default`` configuration option.
  252. # The value in either case, can't be greater than the absolute maximum
  253. # defined by this configuration option. Anything greater than this
  254. # value is trimmed down to the maximum value defined here.
  255. #
  256. # NOTE: Setting this to a very large value may slow down database
  257. # queries and increase response times. Setting this to a
  258. # very low value may result in poor user experience.
  259. #
  260. # Possible values:
  261. # * Any positive integer
  262. #
  263. # Related options:
  264. # * limit_param_default
  265. #
  266. # (integer value)
  267. # Minimum value: 1
  268. #api_limit_max = 1000
  269.  
  270. #
  271. # Show direct image location when returning an image.
  272. #
  273. # This configuration option indicates whether to show the direct image
  274. # location when returning image details to the user. The direct image
  275. # location is where the image data is stored in backend storage. This
  276. # image location is shown under the image property ``direct_url``.
  277. #
  278. # When multiple image locations exist for an image, the best location
  279. # is displayed based on the location strategy indicated by the
  280. # configuration option ``location_strategy``.
  281. #
  282. # NOTES:
  283. # * Revealing image locations can present a GRAVE SECURITY RISK as
  284. # image locations can sometimes include credentials. Hence, this
  285. # is set to ``False`` by default. Set this to ``True`` with
  286. # EXTREME CAUTION and ONLY IF you know what you are doing!
  287. # * If an operator wishes to avoid showing any image location(s)
  288. # to the user, then both this option and
  289. # ``show_multiple_locations`` MUST be set to ``False``.
  290. #
  291. # Possible values:
  292. # * True
  293. # * False
  294. #
  295. # Related options:
  296. # * show_multiple_locations
  297. # * location_strategy
  298. #
  299. # (boolean value)
  300. #show_image_direct_url = false
  301.  
  302. # DEPRECATED:
  303. # Show all image locations when returning an image.
  304. #
  305. # This configuration option indicates whether to show all the image
  306. # locations when returning image details to the user. When multiple
  307. # image locations exist for an image, the locations are ordered based
  308. # on the location strategy indicated by the configuration opt
  309. # ``location_strategy``. The image locations are shown under the
  310. # image property ``locations``.
  311. #
  312. # NOTES:
  313. # * Revealing image locations can present a GRAVE SECURITY RISK as
  314. # image locations can sometimes include credentials. Hence, this
  315. # is set to ``False`` by default. Set this to ``True`` with
  316. # EXTREME CAUTION and ONLY IF you know what you are doing!
  317. # * If an operator wishes to avoid showing any image location(s)
  318. # to the user, then both this option and
  319. # ``show_image_direct_url`` MUST be set to ``False``.
  320. #
  321. # Possible values:
  322. # * True
  323. # * False
  324. #
  325. # Related options:
  326. # * show_image_direct_url
  327. # * location_strategy
  328. #
  329. # (boolean value)
  330. # This option is deprecated for removal since Newton.
  331. # Its value may be silently ignored in the future.
  332. # Reason: This option will be removed in the Pike release or later because the
  333. # same functionality can be achieved with greater granularity by using policies.
  334. # Please see the Newton release notes for more information.
  335. #show_multiple_locations = false
  336.  
  337. #
  338. # Maximum size of image a user can upload in bytes.
  339. #
  340. # An image upload greater than the size mentioned here would result
  341. # in an image creation failure. This configuration option defaults to
  342. # 1099511627776 bytes (1 TiB).
  343. #
  344. # NOTES:
  345. # * This value should only be increased after careful
  346. # consideration and must be set less than or equal to
  347. # 8 EiB (9223372036854775808).
  348. # * This value must be set with careful consideration of the
  349. # backend storage capacity. Setting this to a very low value
  350. # may result in a large number of image failures. And, setting
  351. # this to a very large value may result in faster consumption
  352. # of storage. Hence, this must be set according to the nature of
  353. # images created and storage capacity available.
  354. #
  355. # Possible values:
  356. # * Any positive number less than or equal to 9223372036854775808
  357. #
  358. # (integer value)
  359. # Minimum value: 1
  360. # Maximum value: 9223372036854775808
  361. #image_size_cap = 1099511627776
  362.  
  363. #
  364. # Maximum amount of image storage per tenant.
  365. #
  366. # This enforces an upper limit on the cumulative storage consumed by all images
  367. # of a tenant across all stores. This is a per-tenant limit.
  368. #
  369. # The default unit for this configuration option is Bytes. However, storage
  370. # units can be specified using case-sensitive literals ``B``, ``KB``, ``MB``,
  371. # ``GB`` and ``TB`` representing Bytes, KiloBytes, MegaBytes, GigaBytes and
  372. # TeraBytes respectively. Note that there should not be any space between the
  373. # value and unit. Value ``0`` signifies no quota enforcement. Negative values
  374. # are invalid and result in errors.
  375. #
  376. # Possible values:
  377. # * A string that is a valid concatenation of a non-negative integer
  378. # representing the storage value and an optional string literal
  379. # representing storage units as mentioned above.
  380. #
  381. # Related options:
  382. # * None
  383. #
  384. # (string value)
  385. #user_storage_quota = 0
  386.  
  387. #
  388. # Deploy the v1 OpenStack Images API.
  389. #
  390. # When this option is set to ``True``, Glance service will respond to
  391. # requests on registered endpoints conforming to the v1 OpenStack
  392. # Images API.
  393. #
  394. # NOTES:
  395. # * If this option is enabled, then ``enable_v1_registry`` must
  396. # also be set to ``True`` to enable mandatory usage of Registry
  397. # service with v1 API.
  398. #
  399. # * If this option is disabled, then the ``enable_v1_registry``
  400. # option, which is enabled by default, is also recommended
  401. # to be disabled.
  402. #
  403. # * This option is separate from ``enable_v2_api``, both v1 and v2
  404. # OpenStack Images API can be deployed independent of each
  405. # other.
  406. #
  407. # * If deploying only the v2 Images API, this option, which is
  408. # enabled by default, should be disabled.
  409. #
  410. # Possible values:
  411. # * True
  412. # * False
  413. #
  414. # Related options:
  415. # * enable_v1_registry
  416. # * enable_v2_api
  417. #
  418. # (boolean value)
  419. #enable_v1_api = true
  420.  
  421. #
  422. # Deploy the v2 OpenStack Images API.
  423. #
  424. # When this option is set to ``True``, Glance service will respond
  425. # to requests on registered endpoints conforming to the v2 OpenStack
  426. # Images API.
  427. #
  428. # NOTES:
  429. # * If this option is disabled, then the ``enable_v2_registry``
  430. # option, which is enabled by default, is also recommended
  431. # to be disabled.
  432. #
  433. # * This option is separate from ``enable_v1_api``, both v1 and v2
  434. # OpenStack Images API can be deployed independent of each
  435. # other.
  436. #
  437. # * If deploying only the v1 Images API, this option, which is
  438. # enabled by default, should be disabled.
  439. #
  440. # Possible values:
  441. # * True
  442. # * False
  443. #
  444. # Related options:
  445. # * enable_v2_registry
  446. # * enable_v1_api
  447. #
  448. # (boolean value)
  449. #enable_v2_api = true
  450.  
  451. #
  452. # Deploy the v1 API Registry service.
  453. #
  454. # When this option is set to ``True``, the Registry service
  455. # will be enabled in Glance for v1 API requests.
  456. #
  457. # NOTES:
  458. # * Use of Registry is mandatory in v1 API, so this option must
  459. # be set to ``True`` if the ``enable_v1_api`` option is enabled.
  460. #
  461. # * If deploying only the v2 OpenStack Images API, this option,
  462. # which is enabled by default, should be disabled.
  463. #
  464. # Possible values:
  465. # * True
  466. # * False
  467. #
  468. # Related options:
  469. # * enable_v1_api
  470. #
  471. # (boolean value)
  472. #enable_v1_registry = true
  473.  
  474. # DEPRECATED:
  475. # Deploy the v2 API Registry service.
  476. #
  477. # When this option is set to ``True``, the Registry service
  478. # will be enabled in Glance for v2 API requests.
  479. #
  480. # NOTES:
  481. # * Use of Registry is optional in v2 API, so this option
  482. # must only be enabled if both ``enable_v2_api`` is set to
  483. # ``True`` and the ``data_api`` option is set to
  484. # ``glance.db.registry.api``.
  485. #
  486. # * If deploying only the v1 OpenStack Images API, this option,
  487. # which is enabled by default, should be disabled.
  488. #
  489. # Possible values:
  490. # * True
  491. # * False
  492. #
  493. # Related options:
  494. # * enable_v2_api
  495. # * data_api
  496. #
  497. # (boolean value)
  498. # This option is deprecated for removal since Queens.
  499. # Its value may be silently ignored in the future.
  500. # Reason:
  501. # Glance registry service is deprecated for removal.
  502. #
  503. # More information can be found from the spec:
  504. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  505. # /deprecate-registry.html
  506. #enable_v2_registry = true
  507.  
  508. #
  509. # Host address of the pydev server.
  510. #
  511. # Provide a string value representing the hostname or IP of the
  512. # pydev server to use for debugging. The pydev server listens for
  513. # debug connections on this address, facilitating remote debugging
  514. # in Glance.
  515. #
  516. # Possible values:
  517. # * Valid hostname
  518. # * Valid IP address
  519. #
  520. # Related options:
  521. # * None
  522. #
  523. # (unknown value)
  524. #pydev_worker_debug_host = localhost
  525.  
  526. #
  527. # Port number that the pydev server will listen on.
  528. #
  529. # Provide a port number to bind the pydev server to. The pydev
  530. # process accepts debug connections on this port and facilitates
  531. # remote debugging in Glance.
  532. #
  533. # Possible values:
  534. # * A valid port number
  535. #
  536. # Related options:
  537. # * None
  538. #
  539. # (port value)
  540. # Minimum value: 0
  541. # Maximum value: 65535
  542. #pydev_worker_debug_port = 5678
  543.  
  544. #
  545. # AES key for encrypting store location metadata.
  546. #
  547. # Provide a string value representing the AES cipher to use for
  548. # encrypting Glance store metadata.
  549. #
  550. # NOTE: The AES key to use must be set to a random string of length
  551. # 16, 24 or 32 bytes.
  552. #
  553. # Possible values:
  554. # * String value representing a valid AES key
  555. #
  556. # Related options:
  557. # * None
  558. #
  559. # (string value)
  560. #metadata_encryption_key = <None>
  561.  
  562. #
  563. # Digest algorithm to use for digital signature.
  564. #
  565. # Provide a string value representing the digest algorithm to
  566. # use for generating digital signatures. By default, ``sha256``
  567. # is used.
  568. #
  569. # To get a list of the available algorithms supported by the version
  570. # of OpenSSL on your platform, run the command:
  571. # ``openssl list-message-digest-algorithms``.
  572. # Examples are 'sha1', 'sha256', and 'sha512'.
  573. #
  574. # NOTE: ``digest_algorithm`` is not related to Glance's image signing
  575. # and verification. It is only used to sign the universally unique
  576. # identifier (UUID) as a part of the certificate file and key file
  577. # validation.
  578. #
  579. # Possible values:
  580. # * An OpenSSL message digest algorithm identifier
  581. #
  582. # Relation options:
  583. # * None
  584. #
  585. # (string value)
  586. #digest_algorithm = sha256
  587.  
  588. #
  589. # The URL provides location where the temporary data will be stored
  590. #
  591. # This option is for Glance internal use only. Glance will save the
  592. # image data uploaded by the user to 'staging' endpoint during the
  593. # image import process.
  594. #
  595. # This option does not change the 'staging' API endpoint by any means.
  596. #
  597. # NOTE: It is discouraged to use same path as [task]/work_dir
  598. #
  599. # NOTE: 'file://<absolute-directory-path>' is the only option
  600. # api_image_import flow will support for now.
  601. #
  602. # NOTE: The staging path must be on shared filesystem available to all
  603. # Glance API nodes.
  604. #
  605. # Possible values:
  606. # * String starting with 'file://' followed by absolute FS path
  607. #
  608. # Related options:
  609. # * [task]/work_dir
  610. # * [DEFAULT]/enable_image_import (*deprecated*)
  611. #
  612. # (string value)
  613. #node_staging_uri = file:///tmp/staging/
  614.  
  615. # DEPRECATED:
  616. # Enables the Image Import workflow introduced in Pike
  617. #
  618. # As '[DEFAULT]/node_staging_uri' is required for the Image
  619. # Import, it's disabled per default in Pike, enabled per
  620. # default in Queens and removed in Rocky. This allows Glance to
  621. # operate with previous version configs upon upgrade.
  622. #
  623. # Setting this option to False will disable the endpoints related
  624. # to Image Import Refactoring work.
  625. #
  626. # Related options:
  627. # * [DEFAULT]/node_staging_uri (boolean value)
  628. # This option is deprecated for removal since Pike.
  629. # Its value may be silently ignored in the future.
  630. # Reason:
  631. # This option is deprecated for removal in Rocky.
  632. #
  633. # It was introduced to make sure that the API is not enabled
  634. # before the '[DEFAULT]/node_staging_uri' is defined and is
  635. # long term redundant.
  636. #enable_image_import = true
  637.  
  638. #
  639. # List of enabled Image Import Methods
  640. #
  641. # Both 'glance-direct' and 'web-download' are enabled by default.
  642. #
  643. # Related options:
  644. # * [DEFAULT]/node_staging_uri
  645. # * [DEFAULT]/enable_image_import (list value)
  646. #enabled_import_methods = glance-direct,web-download
  647.  
  648. #
  649. # Strategy to determine the preference order of image locations.
  650. #
  651. # This configuration option indicates the strategy to determine
  652. # the order in which an image's locations must be accessed to
  653. # serve the image's data. Glance then retrieves the image data
  654. # from the first responsive active location it finds in this list.
  655. #
  656. # This option takes one of two possible values ``location_order``
  657. # and ``store_type``. The default value is ``location_order``,
  658. # which suggests that image data be served by using locations in
  659. # the order they are stored in Glance. The ``store_type`` value
  660. # sets the image location preference based on the order in which
  661. # the storage backends are listed as a comma separated list for
  662. # the configuration option ``store_type_preference``.
  663. #
  664. # Possible values:
  665. # * location_order
  666. # * store_type
  667. #
  668. # Related options:
  669. # * store_type_preference
  670. #
  671. # (string value)
  672. # Possible values:
  673. # location_order - <No description provided>
  674. # store_type - <No description provided>
  675. #location_strategy = location_order
  676.  
  677. #
  678. # The location of the property protection file.
  679. #
  680. # Provide a valid path to the property protection file which contains
  681. # the rules for property protections and the roles/policies associated
  682. # with them.
  683. #
  684. # A property protection file, when set, restricts the Glance image
  685. # properties to be created, read, updated and/or deleted by a specific
  686. # set of users that are identified by either roles or policies.
  687. # If this configuration option is not set, by default, property
  688. # protections won't be enforced. If a value is specified and the file
  689. # is not found, the glance-api service will fail to start.
  690. # More information on property protections can be found at:
  691. # https://docs.openstack.org/glance/latest/admin/property-protections.html
  692. #
  693. # Possible values:
  694. # * Empty string
  695. # * Valid path to the property protection configuration file
  696. #
  697. # Related options:
  698. # * property_protection_rule_format
  699. #
  700. # (string value)
  701. #property_protection_file = <None>
  702.  
  703. #
  704. # Rule format for property protection.
  705. #
  706. # Provide the desired way to set property protection on Glance
  707. # image properties. The two permissible values are ``roles``
  708. # and ``policies``. The default value is ``roles``.
  709. #
  710. # If the value is ``roles``, the property protection file must
  711. # contain a comma separated list of user roles indicating
  712. # permissions for each of the CRUD operations on each property
  713. # being protected. If set to ``policies``, a policy defined in
  714. # policy.json is used to express property protections for each
  715. # of the CRUD operations. Examples of how property protections
  716. # are enforced based on ``roles`` or ``policies`` can be found at:
  717. # https://docs.openstack.org/glance/latest/admin/property-
  718. # protections.html#examples
  719. #
  720. # Possible values:
  721. # * roles
  722. # * policies
  723. #
  724. # Related options:
  725. # * property_protection_file
  726. #
  727. # (string value)
  728. # Possible values:
  729. # roles - <No description provided>
  730. # policies - <No description provided>
  731. #property_protection_rule_format = roles
  732.  
  733. #
  734. # List of allowed exception modules to handle RPC exceptions.
  735. #
  736. # Provide a comma separated list of modules whose exceptions are
  737. # permitted to be recreated upon receiving exception data via an RPC
  738. # call made to Glance. The default list includes
  739. # ``glance.common.exception``, ``builtins``, and ``exceptions``.
  740. #
  741. # The RPC protocol permits interaction with Glance via calls across a
  742. # network or within the same system. Including a list of exception
  743. # namespaces with this option enables RPC to propagate the exceptions
  744. # back to the users.
  745. #
  746. # Possible values:
  747. # * A comma separated list of valid exception modules
  748. #
  749. # Related options:
  750. # * None
  751. # (list value)
  752. #allowed_rpc_exception_modules = glance.common.exception,builtins,exceptions
  753.  
  754. #
  755. # IP address to bind the glance servers to.
  756. #
  757. # Provide an IP address to bind the glance server to. The default
  758. # value is ``0.0.0.0``.
  759. #
  760. # Edit this option to enable the server to listen on one particular
  761. # IP address on the network card. This facilitates selection of a
  762. # particular network interface for the server.
  763. #
  764. # Possible values:
  765. # * A valid IPv4 address
  766. # * A valid IPv6 address
  767. #
  768. # Related options:
  769. # * None
  770. #
  771. # (unknown value)
  772. #bind_host = 0.0.0.0
  773.  
  774. #
  775. # Port number on which the server will listen.
  776. #
  777. # Provide a valid port number to bind the server's socket to. This
  778. # port is then set to identify processes and forward network messages
  779. # that arrive at the server. The default bind_port value for the API
  780. # server is 9292 and for the registry server is 9191.
  781. #
  782. # Possible values:
  783. # * A valid port number (0 to 65535)
  784. #
  785. # Related options:
  786. # * None
  787. #
  788. # (port value)
  789. # Minimum value: 0
  790. # Maximum value: 65535
  791. #bind_port = <None>
  792.  
  793. #
  794. # Number of Glance worker processes to start.
  795. #
  796. # Provide a non-negative integer value to set the number of child
  797. # process workers to service requests. By default, the number of CPUs
  798. # available is set as the value for ``workers`` limited to 8. For
  799. # example if the processor count is 6, 6 workers will be used, if the
  800. # processor count is 24 only 8 workers will be used. The limit will only
  801. # apply to the default value, if 24 workers is configured, 24 is used.
  802. #
  803. # Each worker process is made to listen on the port set in the
  804. # configuration file and contains a greenthread pool of size 1000.
  805. #
  806. # NOTE: Setting the number of workers to zero, triggers the creation
  807. # of a single API process with a greenthread pool of size 1000.
  808. #
  809. # Possible values:
  810. # * 0
  811. # * Positive integer value (typically equal to the number of CPUs)
  812. #
  813. # Related options:
  814. # * None
  815. #
  816. # (integer value)
  817. # Minimum value: 0
  818. #workers = <None>
  819.  
  820. #
  821. # Maximum line size of message headers.
  822. #
  823. # Provide an integer value representing a length to limit the size of
  824. # message headers. The default value is 16384.
  825. #
  826. # NOTE: ``max_header_line`` may need to be increased when using large
  827. # tokens (typically those generated by the Keystone v3 API with big
  828. # service catalogs). However, it is to be kept in mind that larger
  829. # values for ``max_header_line`` would flood the logs.
  830. #
  831. # Setting ``max_header_line`` to 0 sets no limit for the line size of
  832. # message headers.
  833. #
  834. # Possible values:
  835. # * 0
  836. # * Positive integer
  837. #
  838. # Related options:
  839. # * None
  840. #
  841. # (integer value)
  842. # Minimum value: 0
  843. #max_header_line = 16384
  844.  
  845. #
  846. # Set keep alive option for HTTP over TCP.
  847. #
  848. # Provide a boolean value to determine sending of keep alive packets.
  849. # If set to ``False``, the server returns the header
  850. # "Connection: close". If set to ``True``, the server returns a
  851. # "Connection: Keep-Alive" in its responses. This enables retention of
  852. # the same TCP connection for HTTP conversations instead of opening a
  853. # new one with each new request.
  854. #
  855. # This option must be set to ``False`` if the client socket connection
  856. # needs to be closed explicitly after the response is received and
  857. # read successfully by the client.
  858. #
  859. # Possible values:
  860. # * True
  861. # * False
  862. #
  863. # Related options:
  864. # * None
  865. #
  866. # (boolean value)
  867. #http_keepalive = true
  868.  
  869. #
  870. # Timeout for client connections' socket operations.
  871. #
  872. # Provide a valid integer value representing time in seconds to set
  873. # the period of wait before an incoming connection can be closed. The
  874. # default value is 900 seconds.
  875. #
  876. # The value zero implies wait forever.
  877. #
  878. # Possible values:
  879. # * Zero
  880. # * Positive integer
  881. #
  882. # Related options:
  883. # * None
  884. #
  885. # (integer value)
  886. # Minimum value: 0
  887. #client_socket_timeout = 900
  888.  
  889. #
  890. # Set the number of incoming connection requests.
  891. #
  892. # Provide a positive integer value to limit the number of requests in
  893. # the backlog queue. The default queue size is 4096.
  894. #
  895. # An incoming connection to a TCP listener socket is queued before a
  896. # connection can be established with the server. Setting the backlog
  897. # for a TCP socket ensures a limited queue size for incoming traffic.
  898. #
  899. # Possible values:
  900. # * Positive integer
  901. #
  902. # Related options:
  903. # * None
  904. #
  905. # (integer value)
  906. # Minimum value: 1
  907. #backlog = 4096
  908.  
  909. #
  910. # Set the wait time before a connection recheck.
  911. #
  912. # Provide a positive integer value representing time in seconds which
  913. # is set as the idle wait time before a TCP keep alive packet can be
  914. # sent to the host. The default value is 600 seconds.
  915. #
  916. # Setting ``tcp_keepidle`` helps verify at regular intervals that a
  917. # connection is intact and prevents frequent TCP connection
  918. # reestablishment.
  919. #
  920. # Possible values:
  921. # * Positive integer value representing time in seconds
  922. #
  923. # Related options:
  924. # * None
  925. #
  926. # (integer value)
  927. # Minimum value: 1
  928. #tcp_keepidle = 600
  929.  
  930. #
  931. # Absolute path to the CA file.
  932. #
  933. # Provide a string value representing a valid absolute path to
  934. # the Certificate Authority file to use for client authentication.
  935. #
  936. # A CA file typically contains necessary trusted certificates to
  937. # use for the client authentication. This is essential to ensure
  938. # that a secure connection is established to the server via the
  939. # internet.
  940. #
  941. # Possible values:
  942. # * Valid absolute path to the CA file
  943. #
  944. # Related options:
  945. # * None
  946. #
  947. # (string value)
  948. #ca_file = /etc/ssl/cafile
  949.  
  950. #
  951. # Absolute path to the certificate file.
  952. #
  953. # Provide a string value representing a valid absolute path to the
  954. # certificate file which is required to start the API service
  955. # securely.
  956. #
  957. # A certificate file typically is a public key container and includes
  958. # the server's public key, server name, server information and the
  959. # signature which was a result of the verification process using the
  960. # CA certificate. This is required for a secure connection
  961. # establishment.
  962. #
  963. # Possible values:
  964. # * Valid absolute path to the certificate file
  965. #
  966. # Related options:
  967. # * None
  968. #
  969. # (string value)
  970. #cert_file = /etc/ssl/certs
  971.  
  972. #
  973. # Absolute path to a private key file.
  974. #
  975. # Provide a string value representing a valid absolute path to a
  976. # private key file which is required to establish the client-server
  977. # connection.
  978. #
  979. # Possible values:
  980. # * Absolute path to the private key file
  981. #
  982. # Related options:
  983. # * None
  984. #
  985. # (string value)
  986. #key_file = /etc/ssl/key/key-file.pem
  987.  
  988. # DEPRECATED: The HTTP header used to determine the scheme for the original
  989. # request, even if it was removed by an SSL terminating proxy. Typical value is
  990. # "HTTP_X_FORWARDED_PROTO". (string value)
  991. # This option is deprecated for removal.
  992. # Its value may be silently ignored in the future.
  993. # Reason: Use the http_proxy_to_wsgi middleware instead.
  994. #secure_proxy_ssl_header = <None>
  995.  
  996. #
  997. # The relative path to sqlite file database that will be used for image cache
  998. # management.
  999. #
  1000. # This is a relative path to the sqlite file database that tracks the age and
  1001. # usage statistics of image cache. The path is relative to image cache base
  1002. # directory, specified by the configuration option ``image_cache_dir``.
  1003. #
  1004. # This is a lightweight database with just one table.
  1005. #
  1006. # Possible values:
  1007. # * A valid relative path to sqlite file database
  1008. #
  1009. # Related options:
  1010. # * ``image_cache_dir``
  1011. #
  1012. # (string value)
  1013. #image_cache_sqlite_db = cache.db
  1014.  
  1015. #
  1016. # The driver to use for image cache management.
  1017. #
  1018. # This configuration option provides the flexibility to choose between the
  1019. # different image-cache drivers available. An image-cache driver is responsible
  1020. # for providing the essential functions of image-cache like write images to/read
  1021. # images from cache, track age and usage of cached images, provide a list of
  1022. # cached images, fetch size of the cache, queue images for caching and clean up
  1023. # the cache, etc.
  1024. #
  1025. # The essential functions of a driver are defined in the base class
  1026. # ``glance.image_cache.drivers.base.Driver``. All image-cache drivers (existing
  1027. # and prospective) must implement this interface. Currently available drivers
  1028. # are ``sqlite`` and ``xattr``. These drivers primarily differ in the way they
  1029. # store the information about cached images:
  1030. # * The ``sqlite`` driver uses a sqlite database (which sits on every glance
  1031. # node locally) to track the usage of cached images.
  1032. # * The ``xattr`` driver uses the extended attributes of files to store this
  1033. # information. It also requires a filesystem that sets ``atime`` on the
  1034. # files
  1035. # when accessed.
  1036. #
  1037. # Possible values:
  1038. # * sqlite
  1039. # * xattr
  1040. #
  1041. # Related options:
  1042. # * None
  1043. #
  1044. # (string value)
  1045. # Possible values:
  1046. # sqlite - <No description provided>
  1047. # xattr - <No description provided>
  1048. #image_cache_driver = sqlite
  1049.  
  1050. #
  1051. # The upper limit on cache size, in bytes, after which the cache-pruner cleans
  1052. # up the image cache.
  1053. #
  1054. # NOTE: This is just a threshold for cache-pruner to act upon. It is NOT a
  1055. # hard limit beyond which the image cache would never grow. In fact, depending
  1056. # on how often the cache-pruner runs and how quickly the cache fills, the image
  1057. # cache can far exceed the size specified here very easily. Hence, care must be
  1058. # taken to appropriately schedule the cache-pruner and in setting this limit.
  1059. #
  1060. # Glance caches an image when it is downloaded. Consequently, the size of the
  1061. # image cache grows over time as the number of downloads increases. To keep the
  1062. # cache size from becoming unmanageable, it is recommended to run the
  1063. # cache-pruner as a periodic task. When the cache pruner is kicked off, it
  1064. # compares the current size of image cache and triggers a cleanup if the image
  1065. # cache grew beyond the size specified here. After the cleanup, the size of
  1066. # cache is less than or equal to size specified here.
  1067. #
  1068. # Possible values:
  1069. # * Any non-negative integer
  1070. #
  1071. # Related options:
  1072. # * None
  1073. #
  1074. # (integer value)
  1075. # Minimum value: 0
  1076. #image_cache_max_size = 10737418240
  1077.  
  1078. #
  1079. # The amount of time, in seconds, an incomplete image remains in the cache.
  1080. #
  1081. # Incomplete images are images for which download is in progress. Please see the
  1082. # description of configuration option ``image_cache_dir`` for more detail.
  1083. # Sometimes, due to various reasons, it is possible the download may hang and
  1084. # the incompletely downloaded image remains in the ``incomplete`` directory.
  1085. # This configuration option sets a time limit on how long the incomplete images
  1086. # should remain in the ``incomplete`` directory before they are cleaned up.
  1087. # Once an incomplete image spends more time than is specified here, it'll be
  1088. # removed by cache-cleaner on its next run.
  1089. #
  1090. # It is recommended to run cache-cleaner as a periodic task on the Glance API
  1091. # nodes to keep the incomplete images from occupying disk space.
  1092. #
  1093. # Possible values:
  1094. # * Any non-negative integer
  1095. #
  1096. # Related options:
  1097. # * None
  1098. #
  1099. # (integer value)
  1100. # Minimum value: 0
  1101. #image_cache_stall_time = 86400
  1102.  
  1103. #
  1104. # Base directory for image cache.
  1105. #
  1106. # This is the location where image data is cached and served out of. All cached
  1107. # images are stored directly under this directory. This directory also contains
  1108. # three subdirectories, namely, ``incomplete``, ``invalid`` and ``queue``.
  1109. #
  1110. # The ``incomplete`` subdirectory is the staging area for downloading images. An
  1111. # image is first downloaded to this directory. When the image download is
  1112. # successful it is moved to the base directory. However, if the download fails,
  1113. # the partially downloaded image file is moved to the ``invalid`` subdirectory.
  1114. #
  1115. # The ``queue``subdirectory is used for queuing images for download. This is
  1116. # used primarily by the cache-prefetcher, which can be scheduled as a periodic
  1117. # task like cache-pruner and cache-cleaner, to cache images ahead of their
  1118. # usage.
  1119. # Upon receiving the request to cache an image, Glance touches a file in the
  1120. # ``queue`` directory with the image id as the file name. The cache-prefetcher,
  1121. # when running, polls for the files in ``queue`` directory and starts
  1122. # downloading them in the order they were created. When the download is
  1123. # successful, the zero-sized file is deleted from the ``queue`` directory.
  1124. # If the download fails, the zero-sized file remains and it'll be retried the
  1125. # next time cache-prefetcher runs.
  1126. #
  1127. # Possible values:
  1128. # * A valid path
  1129. #
  1130. # Related options:
  1131. # * ``image_cache_sqlite_db``
  1132. #
  1133. # (string value)
  1134. #image_cache_dir = <None>
  1135.  
  1136. #
  1137. # Default publisher_id for outgoing Glance notifications.
  1138. #
  1139. # This is the value that the notification driver will use to identify
  1140. # messages for events originating from the Glance service. Typically,
  1141. # this is the hostname of the instance that generated the message.
  1142. #
  1143. # Possible values:
  1144. # * Any reasonable instance identifier, for example: image.host1
  1145. #
  1146. # Related options:
  1147. # * None
  1148. #
  1149. # (string value)
  1150. #default_publisher_id = image.localhost
  1151.  
  1152. #
  1153. # List of notifications to be disabled.
  1154. #
  1155. # Specify a list of notifications that should not be emitted.
  1156. # A notification can be given either as a notification type to
  1157. # disable a single event notification, or as a notification group
  1158. # prefix to disable all event notifications within a group.
  1159. #
  1160. # Possible values:
  1161. # A comma-separated list of individual notification types or
  1162. # notification groups to be disabled. Currently supported groups:
  1163. # * image
  1164. # * image.member
  1165. # * task
  1166. # * metadef_namespace
  1167. # * metadef_object
  1168. # * metadef_property
  1169. # * metadef_resource_type
  1170. # * metadef_tag
  1171. # For a complete listing and description of each event refer to:
  1172. # http://docs.openstack.org/developer/glance/notifications.html
  1173. #
  1174. # The values must be specified as: <group_name>.<event_name>
  1175. # For example: image.create,task.success,metadef_tag
  1176. #
  1177. # Related options:
  1178. # * None
  1179. #
  1180. # (list value)
  1181. #disabled_notifications =
  1182.  
  1183. # DEPRECATED:
  1184. # Address the registry server is hosted on.
  1185. #
  1186. # Possible values:
  1187. # * A valid IP or hostname
  1188. #
  1189. # Related options:
  1190. # * None
  1191. #
  1192. # (unknown value)
  1193. # This option is deprecated for removal since Queens.
  1194. # Its value may be silently ignored in the future.
  1195. # Reason:
  1196. # Glance registry service is deprecated for removal.
  1197. #
  1198. # More information can be found from the spec:
  1199. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1200. # /deprecate-registry.html
  1201. #registry_host = 0.0.0.0
  1202.  
  1203. # DEPRECATED:
  1204. # Port the registry server is listening on.
  1205. #
  1206. # Possible values:
  1207. # * A valid port number
  1208. #
  1209. # Related options:
  1210. # * None
  1211. #
  1212. # (port value)
  1213. # Minimum value: 0
  1214. # Maximum value: 65535
  1215. # This option is deprecated for removal since Queens.
  1216. # Its value may be silently ignored in the future.
  1217. # Reason:
  1218. # Glance registry service is deprecated for removal.
  1219. #
  1220. # More information can be found from the spec:
  1221. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1222. # /deprecate-registry.html
  1223. #registry_port = 9191
  1224.  
  1225. # DEPRECATED: Whether to pass through the user token when making requests to the
  1226. # registry. To prevent failures with token expiration during big files upload,
  1227. # it is recommended to set this parameter to False.If "use_user_token" is not in
  1228. # effect, then admin credentials can be specified. (boolean value)
  1229. # This option is deprecated for removal.
  1230. # Its value may be silently ignored in the future.
  1231. # Reason: This option was considered harmful and has been deprecated in M
  1232. # release. It will be removed in O release. For more information read OSSN-0060.
  1233. # Related functionality with uploading big images has been implemented with
  1234. # Keystone trusts support.
  1235. #use_user_token = true
  1236.  
  1237. # DEPRECATED: The administrators user name. If "use_user_token" is not in
  1238. # effect, then admin credentials can be specified. (string value)
  1239. # This option is deprecated for removal.
  1240. # Its value may be silently ignored in the future.
  1241. # Reason: This option was considered harmful and has been deprecated in M
  1242. # release. It will be removed in O release. For more information read OSSN-0060.
  1243. # Related functionality with uploading big images has been implemented with
  1244. # Keystone trusts support.
  1245. #admin_user = <None>
  1246.  
  1247. # DEPRECATED: The administrators password. If "use_user_token" is not in effect,
  1248. # then admin credentials can be specified. (string value)
  1249. # This option is deprecated for removal.
  1250. # Its value may be silently ignored in the future.
  1251. # Reason: This option was considered harmful and has been deprecated in M
  1252. # release. It will be removed in O release. For more information read OSSN-0060.
  1253. # Related functionality with uploading big images has been implemented with
  1254. # Keystone trusts support.
  1255. #admin_password = <None>
  1256.  
  1257. # DEPRECATED: The tenant name of the administrative user. If "use_user_token" is
  1258. # not in effect, then admin tenant name can be specified. (string value)
  1259. # This option is deprecated for removal.
  1260. # Its value may be silently ignored in the future.
  1261. # Reason: This option was considered harmful and has been deprecated in M
  1262. # release. It will be removed in O release. For more information read OSSN-0060.
  1263. # Related functionality with uploading big images has been implemented with
  1264. # Keystone trusts support.
  1265. #admin_tenant_name = <None>
  1266.  
  1267. # DEPRECATED: The URL to the keystone service. If "use_user_token" is not in
  1268. # effect and using keystone auth, then URL of keystone can be specified. (string
  1269. # value)
  1270. # This option is deprecated for removal.
  1271. # Its value may be silently ignored in the future.
  1272. # Reason: This option was considered harmful and has been deprecated in M
  1273. # release. It will be removed in O release. For more information read OSSN-0060.
  1274. # Related functionality with uploading big images has been implemented with
  1275. # Keystone trusts support.
  1276. auth_url = http://controller:5000
  1277.  
  1278. # DEPRECATED: The strategy to use for authentication. If "use_user_token" is not
  1279. # in effect, then auth strategy can be specified. (string value)
  1280. # This option is deprecated for removal.
  1281. # Its value may be silently ignored in the future.
  1282. # Reason: This option was considered harmful and has been deprecated in M
  1283. # release. It will be removed in O release. For more information read OSSN-0060.
  1284. # Related functionality with uploading big images has been implemented with
  1285. # Keystone trusts support.
  1286. #auth_strategy = noauth
  1287.  
  1288. # DEPRECATED: The region for the authentication service. If "use_user_token" is
  1289. # not in effect and using keystone auth, then region name can be specified.
  1290. # (string value)
  1291. # This option is deprecated for removal.
  1292. # Its value may be silently ignored in the future.
  1293. # Reason: This option was considered harmful and has been deprecated in M
  1294. # release. It will be removed in O release. For more information read OSSN-0060.
  1295. # Related functionality with uploading big images has been implemented with
  1296. # Keystone trusts support.
  1297. #auth_region = <None>
  1298.  
  1299. # DEPRECATED:
  1300. # Protocol to use for communication with the registry server.
  1301. #
  1302. # Provide a string value representing the protocol to use for
  1303. # communication with the registry server. By default, this option is
  1304. # set to ``http`` and the connection is not secure.
  1305. #
  1306. # This option can be set to ``https`` to establish a secure connection
  1307. # to the registry server. In this case, provide a key to use for the
  1308. # SSL connection using the ``registry_client_key_file`` option. Also
  1309. # include the CA file and cert file using the options
  1310. # ``registry_client_ca_file`` and ``registry_client_cert_file``
  1311. # respectively.
  1312. #
  1313. # Possible values:
  1314. # * http
  1315. # * https
  1316. #
  1317. # Related options:
  1318. # * registry_client_key_file
  1319. # * registry_client_cert_file
  1320. # * registry_client_ca_file
  1321. #
  1322. # (string value)
  1323. # Possible values:
  1324. # http - <No description provided>
  1325. # https - <No description provided>
  1326. # This option is deprecated for removal since Queens.
  1327. # Its value may be silently ignored in the future.
  1328. # Reason:
  1329. # Glance registry service is deprecated for removal.
  1330. #
  1331. # More information can be found from the spec:
  1332. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1333. # /deprecate-registry.html
  1334. #registry_client_protocol = http
  1335.  
  1336. # DEPRECATED:
  1337. # Absolute path to the private key file.
  1338. #
  1339. # Provide a string value representing a valid absolute path to the
  1340. # private key file to use for establishing a secure connection to
  1341. # the registry server.
  1342. #
  1343. # NOTE: This option must be set if ``registry_client_protocol`` is
  1344. # set to ``https``. Alternatively, the GLANCE_CLIENT_KEY_FILE
  1345. # environment variable may be set to a filepath of the key file.
  1346. #
  1347. # Possible values:
  1348. # * String value representing a valid absolute path to the key
  1349. # file.
  1350. #
  1351. # Related options:
  1352. # * registry_client_protocol
  1353. #
  1354. # (string value)
  1355. # This option is deprecated for removal since Queens.
  1356. # Its value may be silently ignored in the future.
  1357. # Reason:
  1358. # Glance registry service is deprecated for removal.
  1359. #
  1360. # More information can be found from the spec:
  1361. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1362. # /deprecate-registry.html
  1363. #registry_client_key_file = /etc/ssl/key/key-file.pem
  1364.  
  1365. # DEPRECATED:
  1366. # Absolute path to the certificate file.
  1367. #
  1368. # Provide a string value representing a valid absolute path to the
  1369. # certificate file to use for establishing a secure connection to
  1370. # the registry server.
  1371. #
  1372. # NOTE: This option must be set if ``registry_client_protocol`` is
  1373. # set to ``https``. Alternatively, the GLANCE_CLIENT_CERT_FILE
  1374. # environment variable may be set to a filepath of the certificate
  1375. # file.
  1376. #
  1377. # Possible values:
  1378. # * String value representing a valid absolute path to the
  1379. # certificate file.
  1380. #
  1381. # Related options:
  1382. # * registry_client_protocol
  1383. #
  1384. # (string value)
  1385. # This option is deprecated for removal since Queens.
  1386. # Its value may be silently ignored in the future.
  1387. # Reason:
  1388. # Glance registry service is deprecated for removal.
  1389. #
  1390. # More information can be found from the spec:
  1391. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1392. # /deprecate-registry.html
  1393. #registry_client_cert_file = /etc/ssl/certs/file.crt
  1394.  
  1395. # DEPRECATED:
  1396. # Absolute path to the Certificate Authority file.
  1397. #
  1398. # Provide a string value representing a valid absolute path to the
  1399. # certificate authority file to use for establishing a secure
  1400. # connection to the registry server.
  1401. #
  1402. # NOTE: This option must be set if ``registry_client_protocol`` is
  1403. # set to ``https``. Alternatively, the GLANCE_CLIENT_CA_FILE
  1404. # environment variable may be set to a filepath of the CA file.
  1405. # This option is ignored if the ``registry_client_insecure`` option
  1406. # is set to ``True``.
  1407. #
  1408. # Possible values:
  1409. # * String value representing a valid absolute path to the CA
  1410. # file.
  1411. #
  1412. # Related options:
  1413. # * registry_client_protocol
  1414. # * registry_client_insecure
  1415. #
  1416. # (string value)
  1417. # This option is deprecated for removal since Queens.
  1418. # Its value may be silently ignored in the future.
  1419. # Reason:
  1420. # Glance registry service is deprecated for removal.
  1421. #
  1422. # More information can be found from the spec:
  1423. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1424. # /deprecate-registry.html
  1425. #registry_client_ca_file = /etc/ssl/cafile/file.ca
  1426.  
  1427. # DEPRECATED:
  1428. # Set verification of the registry server certificate.
  1429. #
  1430. # Provide a boolean value to determine whether or not to validate
  1431. # SSL connections to the registry server. By default, this option
  1432. # is set to ``False`` and the SSL connections are validated.
  1433. #
  1434. # If set to ``True``, the connection to the registry server is not
  1435. # validated via a certifying authority and the
  1436. # ``registry_client_ca_file`` option is ignored. This is the
  1437. # registry's equivalent of specifying --insecure on the command line
  1438. # using glanceclient for the API.
  1439. #
  1440. # Possible values:
  1441. # * True
  1442. # * False
  1443. #
  1444. # Related options:
  1445. # * registry_client_protocol
  1446. # * registry_client_ca_file
  1447. #
  1448. # (boolean value)
  1449. # This option is deprecated for removal since Queens.
  1450. # Its value may be silently ignored in the future.
  1451. # Reason:
  1452. # Glance registry service is deprecated for removal.
  1453. #
  1454. # More information can be found from the spec:
  1455. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1456. # /deprecate-registry.html
  1457. #registry_client_insecure = false
  1458.  
  1459. # DEPRECATED:
  1460. # Timeout value for registry requests.
  1461. #
  1462. # Provide an integer value representing the period of time in seconds
  1463. # that the API server will wait for a registry request to complete.
  1464. # The default value is 600 seconds.
  1465. #
  1466. # A value of 0 implies that a request will never timeout.
  1467. #
  1468. # Possible values:
  1469. # * Zero
  1470. # * Positive integer
  1471. #
  1472. # Related options:
  1473. # * None
  1474. #
  1475. # (integer value)
  1476. # Minimum value: 0
  1477. # This option is deprecated for removal since Queens.
  1478. # Its value may be silently ignored in the future.
  1479. # Reason:
  1480. # Glance registry service is deprecated for removal.
  1481. #
  1482. # More information can be found from the spec:
  1483. # http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance
  1484. # /deprecate-registry.html
  1485. #registry_client_timeout = 600
  1486.  
  1487. #
  1488. # Send headers received from identity when making requests to
  1489. # registry.
  1490. #
  1491. # Typically, Glance registry can be deployed in multiple flavors,
  1492. # which may or may not include authentication. For example,
  1493. # ``trusted-auth`` is a flavor that does not require the registry
  1494. # service to authenticate the requests it receives. However, the
  1495. # registry service may still need a user context to be populated to
  1496. # serve the requests. This can be achieved by the caller
  1497. # (the Glance API usually) passing through the headers it received
  1498. # from authenticating with identity for the same request. The typical
  1499. # headers sent are ``X-User-Id``, ``X-Tenant-Id``, ``X-Roles``,
  1500. # ``X-Identity-Status`` and ``X-Service-Catalog``.
  1501. #
  1502. # Provide a boolean value to determine whether to send the identity
  1503. # headers to provide tenant and user information along with the
  1504. # requests to registry service. By default, this option is set to
  1505. # ``False``, which means that user and tenant information is not
  1506. # available readily. It must be obtained by authenticating. Hence, if
  1507. # this is set to ``False``, ``flavor`` must be set to value that
  1508. # either includes authentication or authenticated user context.
  1509. #
  1510. # Possible values:
  1511. # * True
  1512. # * False
  1513. #
  1514. # Related options:
  1515. # * flavor
  1516. #
  1517. # (boolean value)
  1518. #send_identity_headers = false
  1519.  
  1520. #
  1521. # The amount of time, in seconds, to delay image scrubbing.
  1522. #
  1523. # When delayed delete is turned on, an image is put into ``pending_delete``
  1524. # state upon deletion until the scrubber deletes its image data. Typically, soon
  1525. # after the image is put into ``pending_delete`` state, it is available for
  1526. # scrubbing. However, scrubbing can be delayed until a later point using this
  1527. # configuration option. This option denotes the time period an image spends in
  1528. # ``pending_delete`` state before it is available for scrubbing.
  1529. #
  1530. # It is important to realize that this has storage implications. The larger the
  1531. # ``scrub_time``, the longer the time to reclaim backend storage from deleted
  1532. # images.
  1533. #
  1534. # Possible values:
  1535. # * Any non-negative integer
  1536. #
  1537. # Related options:
  1538. # * ``delayed_delete``
  1539. #
  1540. # (integer value)
  1541. # Minimum value: 0
  1542. #scrub_time = 0
  1543.  
  1544. #
  1545. # The size of thread pool to be used for scrubbing images.
  1546. #
  1547. # When there are a large number of images to scrub, it is beneficial to scrub
  1548. # images in parallel so that the scrub queue stays in control and the backend
  1549. # storage is reclaimed in a timely fashion. This configuration option denotes
  1550. # the maximum number of images to be scrubbed in parallel. The default value is
  1551. # one, which signifies serial scrubbing. Any value above one indicates parallel
  1552. # scrubbing.
  1553. #
  1554. # Possible values:
  1555. # * Any non-zero positive integer
  1556. #
  1557. # Related options:
  1558. # * ``delayed_delete``
  1559. #
  1560. # (integer value)
  1561. # Minimum value: 1
  1562. #scrub_pool_size = 1
  1563.  
  1564. #
  1565. # Turn on/off delayed delete.
  1566. #
  1567. # Typically when an image is deleted, the ``glance-api`` service puts the image
  1568. # into ``deleted`` state and deletes its data at the same time. Delayed delete
  1569. # is a feature in Glance that delays the actual deletion of image data until a
  1570. # later point in time (as determined by the configuration option
  1571. # ``scrub_time``).
  1572. # When delayed delete is turned on, the ``glance-api`` service puts the image
  1573. # into ``pending_delete`` state upon deletion and leaves the image data in the
  1574. # storage backend for the image scrubber to delete at a later time. The image
  1575. # scrubber will move the image into ``deleted`` state upon successful deletion
  1576. # of image data.
  1577. #
  1578. # NOTE: When delayed delete is turned on, image scrubber MUST be running as a
  1579. # periodic task to prevent the backend storage from filling up with undesired
  1580. # usage.
  1581. #
  1582. # Possible values:
  1583. # * True
  1584. # * False
  1585. #
  1586. # Related options:
  1587. # * ``scrub_time``
  1588. # * ``wakeup_time``
  1589. # * ``scrub_pool_size``
  1590. #
  1591. # (boolean value)
  1592. #delayed_delete = false
  1593.  
  1594. #
  1595. # From oslo.log
  1596. #
  1597.  
  1598. # If set to true, the logging level will be set to DEBUG instead of the default
  1599. # INFO level. (boolean value)
  1600. # Note: This option can be changed without restarting.
  1601. #debug = false
  1602.  
  1603. # The name of a logging configuration file. This file is appended to any
  1604. # existing logging configuration files. For details about logging configuration
  1605. # files, see the Python logging module documentation. Note that when logging
  1606. # configuration files are used then all logging configuration is set in the
  1607. # configuration file and other logging configuration options are ignored (for
  1608. # example, logging_context_format_string). (string value)
  1609. # Note: This option can be changed without restarting.
  1610. # Deprecated group/name - [DEFAULT]/log_config
  1611. #log_config_append = <None>
  1612.  
  1613. # Defines the format string for %%(asctime)s in log records. Default:
  1614. # %(default)s . This option is ignored if log_config_append is set. (string
  1615. # value)
  1616. #log_date_format = %Y-%m-%d %H:%M:%S
  1617.  
  1618. # (Optional) Name of log file to send logging output to. If no default is set,
  1619. # logging will go to stderr as defined by use_stderr. This option is ignored if
  1620. # log_config_append is set. (string value)
  1621. # Deprecated group/name - [DEFAULT]/logfile
  1622. #log_file = <None>
  1623.  
  1624. # (Optional) The base directory used for relative log_file paths. This option
  1625. # is ignored if log_config_append is set. (string value)
  1626. # Deprecated group/name - [DEFAULT]/logdir
  1627. #log_dir = <None>
  1628.  
  1629. # Uses logging handler designed to watch file system. When log file is moved or
  1630. # removed this handler will open a new log file with specified path
  1631. # instantaneously. It makes sense only if log_file option is specified and Linux
  1632. # platform is used. This option is ignored if log_config_append is set. (boolean
  1633. # value)
  1634. #watch_log_file = false
  1635.  
  1636. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  1637. # changed later to honor RFC5424. This option is ignored if log_config_append is
  1638. # set. (boolean value)
  1639. #use_syslog = false
  1640.  
  1641. # Enable journald for logging. If running in a systemd environment you may wish
  1642. # to enable journal support. Doing so will use the journal native protocol which
  1643. # includes structured metadata in addition to log messages.This option is
  1644. # ignored if log_config_append is set. (boolean value)
  1645. #use_journal = false
  1646.  
  1647. # Syslog facility to receive log lines. This option is ignored if
  1648. # log_config_append is set. (string value)
  1649. #syslog_log_facility = LOG_USER
  1650.  
  1651. # Use JSON formatting for logging. This option is ignored if log_config_append
  1652. # is set. (boolean value)
  1653. #use_json = false
  1654.  
  1655. # Log output to standard error. This option is ignored if log_config_append is
  1656. # set. (boolean value)
  1657. #use_stderr = false
  1658.  
  1659. # Format string to use for log messages with context. (string value)
  1660. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
  1661.  
  1662. # Format string to use for log messages when context is undefined. (string
  1663. # value)
  1664. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  1665.  
  1666. # Additional data to append to log message when logging level for the message is
  1667. # DEBUG. (string value)
  1668. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  1669.  
  1670. # Prefix each line of exception output with this format. (string value)
  1671. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  1672.  
  1673. # Defines the format string for %(user_identity)s that is used in
  1674. # logging_context_format_string. (string value)
  1675. #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  1676.  
  1677. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  1678. # if log_config_append is set. (list value)
  1679. #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
  1680.  
  1681. # Enables or disables publication of error events. (boolean value)
  1682. #publish_errors = false
  1683.  
  1684. # The format for an instance that is passed with the log message. (string value)
  1685. #instance_format = "[instance: %(uuid)s] "
  1686.  
  1687. # The format for an instance UUID that is passed with the log message. (string
  1688. # value)
  1689. #instance_uuid_format = "[instance: %(uuid)s] "
  1690.  
  1691. # Interval, number of seconds, of log rate limiting. (integer value)
  1692. #rate_limit_interval = 0
  1693.  
  1694. # Maximum number of logged messages per rate_limit_interval. (integer value)
  1695. #rate_limit_burst = 0
  1696.  
  1697. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG or
  1698. # empty string. Logs with level greater or equal to rate_limit_except_level are
  1699. # not filtered. An empty string means that all levels are filtered. (string
  1700. # value)
  1701. #rate_limit_except_level = CRITICAL
  1702.  
  1703. # Enables or disables fatal status of deprecations. (boolean value)
  1704. #fatal_deprecations = false
  1705.  
  1706. #
  1707. # From oslo.messaging
  1708. #
  1709.  
  1710. # Size of RPC connection pool. (integer value)
  1711. #rpc_conn_pool_size = 30
  1712.  
  1713. # The pool size limit for connections expiration policy (integer value)
  1714. #conn_pool_min_size = 2
  1715.  
  1716. # The time-to-live in sec of idle connections in the pool (integer value)
  1717. #conn_pool_ttl = 1200
  1718.  
  1719. # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
  1720. # The "host" option should point or resolve to this address. (string value)
  1721. #rpc_zmq_bind_address = *
  1722.  
  1723. # MatchMaker driver. (string value)
  1724. # Possible values:
  1725. # redis - <No description provided>
  1726. # sentinel - <No description provided>
  1727. # dummy - <No description provided>
  1728. #rpc_zmq_matchmaker = redis
  1729.  
  1730. # Number of ZeroMQ contexts, defaults to 1. (integer value)
  1731. #rpc_zmq_contexts = 1
  1732.  
  1733. # Maximum number of ingress messages to locally buffer per topic. Default is
  1734. # unlimited. (integer value)
  1735. #rpc_zmq_topic_backlog = <None>
  1736.  
  1737. # Directory for holding IPC sockets. (string value)
  1738. #rpc_zmq_ipc_dir = /var/run/openstack
  1739.  
  1740. # Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
  1741. # "host" option, if running Nova. (string value)
  1742. #rpc_zmq_host = localhost
  1743.  
  1744. # Number of seconds to wait before all pending messages will be sent after
  1745. # closing a socket. The default value of -1 specifies an infinite linger period.
  1746. # The value of 0 specifies no linger period. Pending messages shall be discarded
  1747. # immediately when the socket is closed. Positive values specify an upper bound
  1748. # for the linger period. (integer value)
  1749. # Deprecated group/name - [DEFAULT]/rpc_cast_timeout
  1750. #zmq_linger = -1
  1751.  
  1752. # The default number of seconds that poll should wait. Poll raises timeout
  1753. # exception when timeout expired. (integer value)
  1754. #rpc_poll_timeout = 1
  1755.  
  1756. # Expiration timeout in seconds of a name service record about existing target (
  1757. # < 0 means no timeout). (integer value)
  1758. #zmq_target_expire = 300
  1759.  
  1760. # Update period in seconds of a name service record about existing target.
  1761. # (integer value)
  1762. #zmq_target_update = 180
  1763.  
  1764. # Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
  1765. # value)
  1766. #use_pub_sub = false
  1767.  
  1768. # Use ROUTER remote proxy. (boolean value)
  1769. #use_router_proxy = false
  1770.  
  1771. # This option makes direct connections dynamic or static. It makes sense only
  1772. # with use_router_proxy=False which means to use direct connections for direct
  1773. # message types (ignored otherwise). (boolean value)
  1774. #use_dynamic_connections = false
  1775.  
  1776. # How many additional connections to a host will be made for failover reasons.
  1777. # This option is actual only in dynamic connections mode. (integer value)
  1778. #zmq_failover_connections = 2
  1779.  
  1780. # Minimal port number for random ports range. (port value)
  1781. # Minimum value: 0
  1782. # Maximum value: 65535
  1783. #rpc_zmq_min_port = 49153
  1784.  
  1785. # Maximal port number for random ports range. (integer value)
  1786. # Minimum value: 1
  1787. # Maximum value: 65536
  1788. #rpc_zmq_max_port = 65536
  1789.  
  1790. # Number of retries to find free port number before fail with ZMQBindError.
  1791. # (integer value)
  1792. #rpc_zmq_bind_port_retries = 100
  1793.  
  1794. # Default serialization mechanism for serializing/deserializing
  1795. # outgoing/incoming messages (string value)
  1796. # Possible values:
  1797. # json - <No description provided>
  1798. # msgpack - <No description provided>
  1799. #rpc_zmq_serialization = json
  1800.  
  1801. # This option configures round-robin mode in zmq socket. True means not keeping
  1802. # a queue when server side disconnects. False means to keep queue and messages
  1803. # even if server is disconnected, when the server appears we send all
  1804. # accumulated messages to it. (boolean value)
  1805. #zmq_immediate = true
  1806.  
  1807. # Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
  1808. # other negative value) means to skip any overrides and leave it to OS default;
  1809. # 0 and 1 (or any other positive value) mean to disable and enable the option
  1810. # respectively. (integer value)
  1811. #zmq_tcp_keepalive = -1
  1812.  
  1813. # The duration between two keepalive transmissions in idle condition. The unit
  1814. # is platform dependent, for example, seconds in Linux, milliseconds in Windows
  1815. # etc. The default value of -1 (or any other negative value and 0) means to skip
  1816. # any overrides and leave it to OS default. (integer value)
  1817. #zmq_tcp_keepalive_idle = -1
  1818.  
  1819. # The number of retransmissions to be carried out before declaring that remote
  1820. # end is not available. The default value of -1 (or any other negative value and
  1821. # 0) means to skip any overrides and leave it to OS default. (integer value)
  1822. #zmq_tcp_keepalive_cnt = -1
  1823.  
  1824. # The duration between two successive keepalive retransmissions, if
  1825. # acknowledgement to the previous keepalive transmission is not received. The
  1826. # unit is platform dependent, for example, seconds in Linux, milliseconds in
  1827. # Windows etc. The default value of -1 (or any other negative value and 0) means
  1828. # to skip any overrides and leave it to OS default. (integer value)
  1829. #zmq_tcp_keepalive_intvl = -1
  1830.  
  1831. # Maximum number of (green) threads to work concurrently. (integer value)
  1832. #rpc_thread_pool_size = 100
  1833.  
  1834. # Expiration timeout in seconds of a sent/received message after which it is not
  1835. # tracked anymore by a client/server. (integer value)
  1836. #rpc_message_ttl = 300
  1837.  
  1838. # Wait for message acknowledgements from receivers. This mechanism works only
  1839. # via proxy without PUB/SUB. (boolean value)
  1840. #rpc_use_acks = false
  1841.  
  1842. # Number of seconds to wait for an ack from a cast/call. After each retry
  1843. # attempt this timeout is multiplied by some specified multiplier. (integer
  1844. # value)
  1845. #rpc_ack_timeout_base = 15
  1846.  
  1847. # Number to multiply base ack timeout by after each retry attempt. (integer
  1848. # value)
  1849. #rpc_ack_timeout_multiplier = 2
  1850.  
  1851. # Default number of message sending attempts in case of any problems occurred:
  1852. # positive value N means at most N retries, 0 means no retries, None or -1 (or
  1853. # any other negative values) mean to retry forever. This option is used only if
  1854. # acknowledgments are enabled. (integer value)
  1855. #rpc_retry_attempts = 3
  1856.  
  1857. # List of publisher hosts SubConsumer can subscribe on. This option has higher
  1858. # priority then the default publishers list taken from the matchmaker. (list
  1859. # value)
  1860. #subscribe_on =
  1861.  
  1862. # Size of executor thread pool when executor is threading or eventlet. (integer
  1863. # value)
  1864. # Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
  1865. #executor_thread_pool_size = 64
  1866.  
  1867. # Seconds to wait for a response from a call. (integer value)
  1868. #rpc_response_timeout = 60
  1869.  
  1870. # The network address and optional user credentials for connecting to the
  1871. # messaging backend, in URL format. The expected format is:
  1872. #
  1873. # driver://[user:pass@]host:port[,[userN:passN@]hostN:portN]/virtual_host?query
  1874. #
  1875. # Example: rabbit://rabbitmq:password@127.0.0.1:5672//
  1876. #
  1877. # For full details on the fields in the URL see the documentation of
  1878. # oslo_messaging.TransportURL at
  1879. # https://docs.openstack.org/oslo.messaging/latest/reference/transport.html
  1880. # (string value)
  1881. #transport_url = <None>
  1882.  
  1883. # DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers
  1884. # include amqp and zmq. (string value)
  1885. # This option is deprecated for removal.
  1886. # Its value may be silently ignored in the future.
  1887. # Reason: Replaced by [DEFAULT]/transport_url
  1888. #rpc_backend = rabbit
  1889.  
  1890. # The default exchange under which topics are scoped. May be overridden by an
  1891. # exchange name specified in the transport_url option. (string value)
  1892. #control_exchange = openstack
  1893.  
  1894.  
  1895. [cors]
  1896.  
  1897. #
  1898. # From oslo.middleware.cors
  1899. #
  1900.  
  1901. # Indicate whether this resource may be shared with the domain received in the
  1902. # requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
  1903. # slash. Example: https://horizon.example.com (list value)
  1904. #allowed_origin = <None>
  1905.  
  1906. # Indicate that the actual request can include user credentials (boolean value)
  1907. #allow_credentials = true
  1908.  
  1909. # Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
  1910. # Headers. (list value)
  1911. #expose_headers = X-Image-Meta-Checksum,X-Auth-Token,X-Subject-Token,X-Service-Token,X-OpenStack-Request-ID
  1912.  
  1913. # Maximum cache age of CORS preflight requests. (integer value)
  1914. #max_age = 3600
  1915.  
  1916. # Indicate which methods can be used during the actual request. (list value)
  1917. #allow_methods = GET,PUT,POST,DELETE,PATCH
  1918.  
  1919. # Indicate which header field names may be used during the actual request. (list
  1920. # value)
  1921. #allow_headers = Content-MD5,X-Image-Meta-Checksum,X-Storage-Token,Accept-Encoding,X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-OpenStack-Request-ID
  1922.  
  1923.  
  1924. [database]
  1925. controller = mysql+pymysql://glance:<omitted>@controller/glance
  1926. backend = sqlalchemy
  1927.  
  1928. #
  1929. # From oslo.db
  1930. #
  1931.  
  1932. # If True, SQLite uses synchronous mode. (boolean value)
  1933. #sqlite_synchronous = true
  1934.  
  1935. # The back end to use for the database. (string value)
  1936. # Deprecated group/name - [DEFAULT]/db_backend
  1937. #backend = sqlalchemy
  1938.  
  1939. # The SQLAlchemy connection string to use to connect to the database. (string
  1940. # value)
  1941. # Deprecated group/name - [DEFAULT]/sql_connection
  1942. # Deprecated group/name - [DATABASE]/sql_connection
  1943. # Deprecated group/name - [sql]/connection
  1944. #connection = <None>
  1945.  
  1946. # The SQLAlchemy connection string to use to connect to the slave database.
  1947. # (string value)
  1948. #slave_connection = <None>
  1949.  
  1950. # The SQL mode to be used for MySQL sessions. This option, including the
  1951. # default, overrides any server-set SQL mode. To use whatever SQL mode is set by
  1952. # the server configuration, set this to no value. Example: mysql_sql_mode=
  1953. # (string value)
  1954. #mysql_sql_mode = TRADITIONAL
  1955.  
  1956. # If True, transparently enables support for handling MySQL Cluster (NDB).
  1957. # (boolean value)
  1958. #mysql_enable_ndb = false
  1959.  
  1960. # Connections which have been present in the connection pool longer than this
  1961. # number of seconds will be replaced with a new one the next time they are
  1962. # checked out from the pool. (integer value)
  1963. # Deprecated group/name - [DATABASE]/idle_timeout
  1964. # Deprecated group/name - [database]/idle_timeout
  1965. # Deprecated group/name - [DEFAULT]/sql_idle_timeout
  1966. # Deprecated group/name - [DATABASE]/sql_idle_timeout
  1967. # Deprecated group/name - [sql]/idle_timeout
  1968. #connection_recycle_time = 3600
  1969.  
  1970. # Minimum number of SQL connections to keep open in a pool. (integer value)
  1971. # Deprecated group/name - [DEFAULT]/sql_min_pool_size
  1972. # Deprecated group/name - [DATABASE]/sql_min_pool_size
  1973. #min_pool_size = 1
  1974.  
  1975. # Maximum number of SQL connections to keep open in a pool. Setting a value of 0
  1976. # indicates no limit. (integer value)
  1977. # Deprecated group/name - [DEFAULT]/sql_max_pool_size
  1978. # Deprecated group/name - [DATABASE]/sql_max_pool_size
  1979. #max_pool_size = 5
  1980.  
  1981. # Maximum number of database connection retries during startup. Set to -1 to
  1982. # specify an infinite retry count. (integer value)
  1983. # Deprecated group/name - [DEFAULT]/sql_max_retries
  1984. # Deprecated group/name - [DATABASE]/sql_max_retries
  1985. #max_retries = 10
  1986.  
  1987. # Interval between retries of opening a SQL connection. (integer value)
  1988. # Deprecated group/name - [DEFAULT]/sql_retry_interval
  1989. # Deprecated group/name - [DATABASE]/reconnect_interval
  1990. #retry_interval = 10
  1991.  
  1992. # If set, use this value for max_overflow with SQLAlchemy. (integer value)
  1993. # Deprecated group/name - [DEFAULT]/sql_max_overflow
  1994. # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
  1995. #max_overflow = 50
  1996.  
  1997. # Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
  1998. # value)
  1999. # Minimum value: 0
  2000. # Maximum value: 100
  2001. # Deprecated group/name - [DEFAULT]/sql_connection_debug
  2002. #connection_debug = 0
  2003.  
  2004. # Add Python stack traces to SQL as comment strings. (boolean value)
  2005. # Deprecated group/name - [DEFAULT]/sql_connection_trace
  2006. #connection_trace = false
  2007.  
  2008. # If set, use this value for pool_timeout with SQLAlchemy. (integer value)
  2009. # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
  2010. #pool_timeout = <None>
  2011.  
  2012. # Enable the experimental use of database reconnect on connection lost. (boolean
  2013. # value)
  2014. #use_db_reconnect = false
  2015.  
  2016. # Seconds between retries of a database transaction. (integer value)
  2017. #db_retry_interval = 1
  2018.  
  2019. # If True, increases the interval between retries of a database operation up to
  2020. # db_max_retry_interval. (boolean value)
  2021. #db_inc_retry_interval = true
  2022.  
  2023. # If db_inc_retry_interval is set, the maximum seconds between retries of a
  2024. # database operation. (integer value)
  2025. #db_max_retry_interval = 10
  2026.  
  2027. # Maximum retries in case of connection error or deadlock error before error is
  2028. # raised. Set to -1 to specify an infinite retry count. (integer value)
  2029. #db_max_retries = 20
  2030.  
  2031. #
  2032. # From oslo.db.concurrency
  2033. #
  2034.  
  2035. # Enable the experimental use of thread pooling for all DB API calls (boolean
  2036. # value)
  2037. # Deprecated group/name - [DEFAULT]/dbapi_use_tpool
  2038. #use_tpool = false
  2039.  
  2040.  
  2041. [glance_store]
  2042.  
  2043. #
  2044. # From glance.store
  2045. #
  2046.  
  2047. #
  2048. # List of enabled Glance stores.
  2049. #
  2050. # Register the storage backends to use for storing disk images
  2051. # as a comma separated list. The default stores enabled for
  2052. # storing disk images with Glance are ``file`` and ``http``.
  2053. #
  2054. # Possible values:
  2055. # * A comma separated list that could include:
  2056. # * file
  2057. # * http
  2058. # * swift
  2059. # * rbd
  2060. # * sheepdog
  2061. # * cinder
  2062. # * vmware
  2063. #
  2064. # Related Options:
  2065. # * default_store
  2066. #
  2067. # (list value)
  2068. stores = file,http
  2069.  
  2070. #
  2071. # The default scheme to use for storing images.
  2072. #
  2073. # Provide a string value representing the default scheme to use for
  2074. # storing images. If not set, Glance uses ``file`` as the default
  2075. # scheme to store images with the ``file`` store.
  2076. #
  2077. # NOTE: The value given for this configuration option must be a valid
  2078. # scheme for a store registered with the ``stores`` configuration
  2079. # option.
  2080. #
  2081. # Possible values:
  2082. # * file
  2083. # * filesystem
  2084. # * http
  2085. # * https
  2086. # * swift
  2087. # * swift+http
  2088. # * swift+https
  2089. # * swift+config
  2090. # * rbd
  2091. # * sheepdog
  2092. # * cinder
  2093. # * vsphere
  2094. #
  2095. # Related Options:
  2096. # * stores
  2097. #
  2098. # (string value)
  2099. # Possible values:
  2100. # file - <No description provided>
  2101. # filesystem - <No description provided>
  2102. # http - <No description provided>
  2103. # https - <No description provided>
  2104. # swift - <No description provided>
  2105. # swift+http - <No description provided>
  2106. # swift+https - <No description provided>
  2107. # swift+config - <No description provided>
  2108. # rbd - <No description provided>
  2109. # sheepdog - <No description provided>
  2110. # cinder - <No description provided>
  2111. # vsphere - <No description provided>
  2112. default_store = file
  2113.  
  2114. #
  2115. # Minimum interval in seconds to execute updating dynamic storage
  2116. # capabilities based on current backend status.
  2117. #
  2118. # Provide an integer value representing time in seconds to set the
  2119. # minimum interval before an update of dynamic storage capabilities
  2120. # for a storage backend can be attempted. Setting
  2121. # ``store_capabilities_update_min_interval`` does not mean updates
  2122. # occur periodically based on the set interval. Rather, the update
  2123. # is performed at the elapse of this interval set, if an operation
  2124. # of the store is triggered.
  2125. #
  2126. # By default, this option is set to zero and is disabled. Provide an
  2127. # integer value greater than zero to enable this option.
  2128. #
  2129. # NOTE: For more information on store capabilities and their updates,
  2130. # please visit: https://specs.openstack.org/openstack/glance-specs/specs/kilo
  2131. # /store-capabilities.html
  2132. #
  2133. # For more information on setting up a particular store in your
  2134. # deployment and help with the usage of this feature, please contact
  2135. # the storage driver maintainers listed here:
  2136. # http://docs.openstack.org/developer/glance_store/drivers/index.html
  2137. #
  2138. # Possible values:
  2139. # * Zero
  2140. # * Positive integer
  2141. #
  2142. # Related Options:
  2143. # * None
  2144. #
  2145. # (integer value)
  2146. # Minimum value: 0
  2147. #store_capabilities_update_min_interval = 0
  2148.  
  2149. #
  2150. # Information to match when looking for cinder in the service catalog.
  2151. #
  2152. # When the ``cinder_endpoint_template`` is not set and any of
  2153. # ``cinder_store_auth_address``, ``cinder_store_user_name``,
  2154. # ``cinder_store_project_name``, ``cinder_store_password`` is not set,
  2155. # cinder store uses this information to lookup cinder endpoint from the service
  2156. # catalog in the current context. ``cinder_os_region_name``, if set, is taken
  2157. # into consideration to fetch the appropriate endpoint.
  2158. #
  2159. # The service catalog can be listed by the ``openstack catalog list`` command.
  2160. #
  2161. # Possible values:
  2162. # * A string of of the following form:
  2163. # ``<service_type>:<service_name>:<interface>``
  2164. # At least ``service_type`` and ``interface`` should be specified.
  2165. # ``service_name`` can be omitted.
  2166. #
  2167. # Related options:
  2168. # * cinder_os_region_name
  2169. # * cinder_endpoint_template
  2170. # * cinder_store_auth_address
  2171. # * cinder_store_user_name
  2172. # * cinder_store_project_name
  2173. # * cinder_store_password
  2174. #
  2175. # (string value)
  2176. #cinder_catalog_info = volumev2::publicURL
  2177.  
  2178. #
  2179. # Override service catalog lookup with template for cinder endpoint.
  2180. #
  2181. # When this option is set, this value is used to generate cinder endpoint,
  2182. # instead of looking up from the service catalog.
  2183. # This value is ignored if ``cinder_store_auth_address``,
  2184. # ``cinder_store_user_name``, ``cinder_store_project_name``, and
  2185. # ``cinder_store_password`` are specified.
  2186. #
  2187. # If this configuration option is set, ``cinder_catalog_info`` will be ignored.
  2188. #
  2189. # Possible values:
  2190. # * URL template string for cinder endpoint, where ``%%(tenant)s`` is
  2191. # replaced with the current tenant (project) name.
  2192. # For example: ``http://cinder.openstack.example.org/v2/%%(tenant)s``
  2193. #
  2194. # Related options:
  2195. # * cinder_store_auth_address
  2196. # * cinder_store_user_name
  2197. # * cinder_store_project_name
  2198. # * cinder_store_password
  2199. # * cinder_catalog_info
  2200. #
  2201. # (string value)
  2202. #cinder_endpoint_template = <None>
  2203.  
  2204. #
  2205. # Region name to lookup cinder service from the service catalog.
  2206. #
  2207. # This is used only when ``cinder_catalog_info`` is used for determining the
  2208. # endpoint. If set, the lookup for cinder endpoint by this node is filtered to
  2209. # the specified region. It is useful when multiple regions are listed in the
  2210. # catalog. If this is not set, the endpoint is looked up from every region.
  2211. #
  2212. # Possible values:
  2213. # * A string that is a valid region name.
  2214. #
  2215. # Related options:
  2216. # * cinder_catalog_info
  2217. #
  2218. # (string value)
  2219. # Deprecated group/name - [glance_store]/os_region_name
  2220. #cinder_os_region_name = <None>
  2221.  
  2222. #
  2223. # Location of a CA certificates file used for cinder client requests.
  2224. #
  2225. # The specified CA certificates file, if set, is used to verify cinder
  2226. # connections via HTTPS endpoint. If the endpoint is HTTP, this value is
  2227. # ignored.
  2228. # ``cinder_api_insecure`` must be set to ``True`` to enable the verification.
  2229. #
  2230. # Possible values:
  2231. # * Path to a ca certificates file
  2232. #
  2233. # Related options:
  2234. # * cinder_api_insecure
  2235. #
  2236. # (string value)
  2237. #cinder_ca_certificates_file = <None>
  2238.  
  2239. #
  2240. # Number of cinderclient retries on failed http calls.
  2241. #
  2242. # When a call failed by any errors, cinderclient will retry the call up to the
  2243. # specified times after sleeping a few seconds.
  2244. #
  2245. # Possible values:
  2246. # * A positive integer
  2247. #
  2248. # Related options:
  2249. # * None
  2250. #
  2251. # (integer value)
  2252. # Minimum value: 0
  2253. #cinder_http_retries = 3
  2254.  
  2255. #
  2256. # Time period, in seconds, to wait for a cinder volume transition to
  2257. # complete.
  2258. #
  2259. # When the cinder volume is created, deleted, or attached to the glance node to
  2260. # read/write the volume data, the volume's state is changed. For example, the
  2261. # newly created volume status changes from ``creating`` to ``available`` after
  2262. # the creation process is completed. This specifies the maximum time to wait for
  2263. # the status change. If a timeout occurs while waiting, or the status is changed
  2264. # to an unexpected value (e.g. `error``), the image creation fails.
  2265. #
  2266. # Possible values:
  2267. # * A positive integer
  2268. #
  2269. # Related options:
  2270. # * None
  2271. #
  2272. # (integer value)
  2273. # Minimum value: 0
  2274. #cinder_state_transition_timeout = 300
  2275.  
  2276. #
  2277. # Allow to perform insecure SSL requests to cinder.
  2278. #
  2279. # If this option is set to True, HTTPS endpoint connection is verified using the
  2280. # CA certificates file specified by ``cinder_ca_certificates_file`` option.
  2281. #
  2282. # Possible values:
  2283. # * True
  2284. # * False
  2285. #
  2286. # Related options:
  2287. # * cinder_ca_certificates_file
  2288. #
  2289. # (boolean value)
  2290. #cinder_api_insecure = false
  2291.  
  2292. #
  2293. # The address where the cinder authentication service is listening.
  2294. #
  2295. # When all of ``cinder_store_auth_address``, ``cinder_store_user_name``,
  2296. # ``cinder_store_project_name``, and ``cinder_store_password`` options are
  2297. # specified, the specified values are always used for the authentication.
  2298. # This is useful to hide the image volumes from users by storing them in a
  2299. # project/tenant specific to the image service. It also enables users to share
  2300. # the image volume among other projects under the control of glance's ACL.
  2301. #
  2302. # If either of these options are not set, the cinder endpoint is looked up
  2303. # from the service catalog, and current context's user and project are used.
  2304. #
  2305. # Possible values:
  2306. # * A valid authentication service address, for example:
  2307. # ``http://openstack.example.org/identity/v2.0``
  2308. #
  2309. # Related options:
  2310. # * cinder_store_user_name
  2311. # * cinder_store_password
  2312. # * cinder_store_project_name
  2313. #
  2314. # (string value)
  2315. #cinder_store_auth_address = <None>
  2316.  
  2317. #
  2318. # User name to authenticate against cinder.
  2319. #
  2320. # This must be used with all the following related options. If any of these are
  2321. # not specified, the user of the current context is used.
  2322. #
  2323. # Possible values:
  2324. # * A valid user name
  2325. #
  2326. # Related options:
  2327. # * cinder_store_auth_address
  2328. # * cinder_store_password
  2329. # * cinder_store_project_name
  2330. #
  2331. # (string value)
  2332. #cinder_store_user_name = <None>
  2333.  
  2334. #
  2335. # Password for the user authenticating against cinder.
  2336. #
  2337. # This must be used with all the following related options. If any of these are
  2338. # not specified, the user of the current context is used.
  2339. #
  2340. # Possible values:
  2341. # * A valid password for the user specified by ``cinder_store_user_name``
  2342. #
  2343. # Related options:
  2344. # * cinder_store_auth_address
  2345. # * cinder_store_user_name
  2346. # * cinder_store_project_name
  2347. #
  2348. # (string value)
  2349. #cinder_store_password = <None>
  2350.  
  2351. #
  2352. # Project name where the image volume is stored in cinder.
  2353. #
  2354. # If this configuration option is not set, the project in current context is
  2355. # used.
  2356. #
  2357. # This must be used with all the following related options. If any of these are
  2358. # not specified, the project of the current context is used.
  2359. #
  2360. # Possible values:
  2361. # * A valid project name
  2362. #
  2363. # Related options:
  2364. # * ``cinder_store_auth_address``
  2365. # * ``cinder_store_user_name``
  2366. # * ``cinder_store_password``
  2367. #
  2368. # (string value)
  2369. #cinder_store_project_name = <None>
  2370.  
  2371. #
  2372. # Path to the rootwrap configuration file to use for running commands as root.
  2373. #
  2374. # The cinder store requires root privileges to operate the image volumes (for
  2375. # connecting to iSCSI/FC volumes and reading/writing the volume data, etc.).
  2376. # The configuration file should allow the required commands by cinder store and
  2377. # os-brick library.
  2378. #
  2379. # Possible values:
  2380. # * Path to the rootwrap config file
  2381. #
  2382. # Related options:
  2383. # * None
  2384. #
  2385. # (string value)
  2386. #rootwrap_config = /etc/glance/rootwrap.conf
  2387.  
  2388. #
  2389. # Volume type that will be used for volume creation in cinder.
  2390. #
  2391. # Some cinder backends can have several volume types to optimize storage usage.
  2392. # Adding this option allows an operator to choose a specific volume type
  2393. # in cinder that can be optimized for images.
  2394. #
  2395. # If this is not set, then the default volume type specified in the cinder
  2396. # configuration will be used for volume creation.
  2397. #
  2398. # Possible values:
  2399. # * A valid volume type from cinder
  2400. #
  2401. # Related options:
  2402. # * None
  2403. #
  2404. # (string value)
  2405. #cinder_volume_type = <None>
  2406.  
  2407. #
  2408. # Directory to which the filesystem backend store writes images.
  2409. #
  2410. # Upon start up, Glance creates the directory if it doesn't already
  2411. # exist and verifies write access to the user under which
  2412. # ``glance-api`` runs. If the write access isn't available, a
  2413. # ``BadStoreConfiguration`` exception is raised and the filesystem
  2414. # store may not be available for adding new images.
  2415. #
  2416. # NOTE: This directory is used only when filesystem store is used as a
  2417. # storage backend. Either ``filesystem_store_datadir`` or
  2418. # ``filesystem_store_datadirs`` option must be specified in
  2419. # ``glance-api.conf``. If both options are specified, a
  2420. # ``BadStoreConfiguration`` will be raised and the filesystem store
  2421. # may not be available for adding new images.
  2422. #
  2423. # Possible values:
  2424. # * A valid path to a directory
  2425. #
  2426. # Related options:
  2427. # * ``filesystem_store_datadirs``
  2428. # * ``filesystem_store_file_perm``
  2429. #
  2430. # (string value)
  2431. filesystem_store_datadir = /var/lib/glance/images
  2432.  
  2433. #
  2434. # List of directories and their priorities to which the filesystem
  2435. # backend store writes images.
  2436. #
  2437. # The filesystem store can be configured to store images in multiple
  2438. # directories as opposed to using a single directory specified by the
  2439. # ``filesystem_store_datadir`` configuration option. When using
  2440. # multiple directories, each directory can be given an optional
  2441. # priority to specify the preference order in which they should
  2442. # be used. Priority is an integer that is concatenated to the
  2443. # directory path with a colon where a higher value indicates higher
  2444. # priority. When two directories have the same priority, the directory
  2445. # with most free space is used. When no priority is specified, it
  2446. # defaults to zero.
  2447. #
  2448. # More information on configuring filesystem store with multiple store
  2449. # directories can be found at
  2450. # http://docs.openstack.org/developer/glance/configuring.html
  2451. #
  2452. # NOTE: This directory is used only when filesystem store is used as a
  2453. # storage backend. Either ``filesystem_store_datadir`` or
  2454. # ``filesystem_store_datadirs`` option must be specified in
  2455. # ``glance-api.conf``. If both options are specified, a
  2456. # ``BadStoreConfiguration`` will be raised and the filesystem store
  2457. # may not be available for adding new images.
  2458. #
  2459. # Possible values:
  2460. # * List of strings of the following form:
  2461. # * ``<a valid directory path>:<optional integer priority>``
  2462. #
  2463. # Related options:
  2464. # * ``filesystem_store_datadir``
  2465. # * ``filesystem_store_file_perm``
  2466. #
  2467. # (multi valued)
  2468. #filesystem_store_datadirs =
  2469.  
  2470. #
  2471. # Filesystem store metadata file.
  2472. #
  2473. # The path to a file which contains the metadata to be returned with
  2474. # any location associated with the filesystem store. The file must
  2475. # contain a valid JSON object. The object should contain the keys
  2476. # ``id`` and ``mountpoint``. The value for both keys should be a
  2477. # string.
  2478. #
  2479. # Possible values:
  2480. # * A valid path to the store metadata file
  2481. #
  2482. # Related options:
  2483. # * None
  2484. #
  2485. # (string value)
  2486. #filesystem_store_metadata_file = <None>
  2487.  
  2488. #
  2489. # File access permissions for the image files.
  2490. #
  2491. # Set the intended file access permissions for image data. This provides
  2492. # a way to enable other services, e.g. Nova, to consume images directly
  2493. # from the filesystem store. The users running the services that are
  2494. # intended to be given access to could be made a member of the group
  2495. # that owns the files created. Assigning a value less then or equal to
  2496. # zero for this configuration option signifies that no changes be made
  2497. # to the default permissions. This value will be decoded as an octal
  2498. # digit.
  2499. #
  2500. # For more information, please refer the documentation at
  2501. # http://docs.openstack.org/developer/glance/configuring.html
  2502. #
  2503. # Possible values:
  2504. # * A valid file access permission
  2505. # * Zero
  2506. # * Any negative integer
  2507. #
  2508. # Related options:
  2509. # * None
  2510. #
  2511. # (integer value)
  2512. #filesystem_store_file_perm = 0
  2513.  
  2514. #
  2515. # Path to the CA bundle file.
  2516. #
  2517. # This configuration option enables the operator to use a custom
  2518. # Certificate Authority file to verify the remote server certificate. If
  2519. # this option is set, the ``https_insecure`` option will be ignored and
  2520. # the CA file specified will be used to authenticate the server
  2521. # certificate and establish a secure connection to the server.
  2522. #
  2523. # Possible values:
  2524. # * A valid path to a CA file
  2525. #
  2526. # Related options:
  2527. # * https_insecure
  2528. #
  2529. # (string value)
  2530. #https_ca_certificates_file = <None>
  2531.  
  2532. #
  2533. # Set verification of the remote server certificate.
  2534. #
  2535. # This configuration option takes in a boolean value to determine
  2536. # whether or not to verify the remote server certificate. If set to
  2537. # True, the remote server certificate is not verified. If the option is
  2538. # set to False, then the default CA truststore is used for verification.
  2539. #
  2540. # This option is ignored if ``https_ca_certificates_file`` is set.
  2541. # The remote server certificate will then be verified using the file
  2542. # specified using the ``https_ca_certificates_file`` option.
  2543. #
  2544. # Possible values:
  2545. # * True
  2546. # * False
  2547. #
  2548. # Related options:
  2549. # * https_ca_certificates_file
  2550. #
  2551. # (boolean value)
  2552. #https_insecure = true
  2553.  
  2554. #
  2555. # The http/https proxy information to be used to connect to the remote
  2556. # server.
  2557. #
  2558. # This configuration option specifies the http/https proxy information
  2559. # that should be used to connect to the remote server. The proxy
  2560. # information should be a key value pair of the scheme and proxy, for
  2561. # example, http:10.0.0.1:3128. You can also specify proxies for multiple
  2562. # schemes by separating the key value pairs with a comma, for example,
  2563. # http:10.0.0.1:3128, https:10.0.0.1:1080.
  2564. #
  2565. # Possible values:
  2566. # * A comma separated list of scheme:proxy pairs as described above
  2567. #
  2568. # Related options:
  2569. # * None
  2570. #
  2571. # (dict value)
  2572. #http_proxy_information =
  2573.  
  2574. #
  2575. # Size, in megabytes, to chunk RADOS images into.
  2576. #
  2577. # Provide an integer value representing the size in megabytes to chunk
  2578. # Glance images into. The default chunk size is 8 megabytes. For optimal
  2579. # performance, the value should be a power of two.
  2580. #
  2581. # When Ceph's RBD object storage system is used as the storage backend
  2582. # for storing Glance images, the images are chunked into objects of the
  2583. # size set using this option. These chunked objects are then stored
  2584. # across the distributed block data store to use for Glance.
  2585. #
  2586. # Possible Values:
  2587. # * Any positive integer value
  2588. #
  2589. # Related options:
  2590. # * None
  2591. #
  2592. # (integer value)
  2593. # Minimum value: 1
  2594. #rbd_store_chunk_size = 8
  2595.  
  2596. #
  2597. # RADOS pool in which images are stored.
  2598. #
  2599. # When RBD is used as the storage backend for storing Glance images, the
  2600. # images are stored by means of logical grouping of the objects (chunks
  2601. # of images) into a ``pool``. Each pool is defined with the number of
  2602. # placement groups it can contain. The default pool that is used is
  2603. # 'images'.
  2604. #
  2605. # More information on the RBD storage backend can be found here:
  2606. # http://ceph.com/planet/how-data-is-stored-in-ceph-cluster/
  2607. #
  2608. # Possible Values:
  2609. # * A valid pool name
  2610. #
  2611. # Related options:
  2612. # * None
  2613. #
  2614. # (string value)
  2615. #rbd_store_pool = images
  2616.  
  2617. #
  2618. # RADOS user to authenticate as.
  2619. #
  2620. # This configuration option takes in the RADOS user to authenticate as.
  2621. # This is only needed when RADOS authentication is enabled and is
  2622. # applicable only if the user is using Cephx authentication. If the
  2623. # value for this option is not set by the user or is set to None, a
  2624. # default value will be chosen, which will be based on the client.
  2625. # section in rbd_store_ceph_conf.
  2626. #
  2627. # Possible Values:
  2628. # * A valid RADOS user
  2629. #
  2630. # Related options:
  2631. # * rbd_store_ceph_conf
  2632. #
  2633. # (string value)
  2634. #rbd_store_user = <None>
  2635.  
  2636. #
  2637. # Ceph configuration file path.
  2638. #
  2639. # This configuration option takes in the path to the Ceph configuration
  2640. # file to be used. If the value for this option is not set by the user
  2641. # or is set to None, librados will locate the default configuration file
  2642. # which is located at /etc/ceph/ceph.conf. If using Cephx
  2643. # authentication, this file should include a reference to the right
  2644. # keyring in a client.<USER> section
  2645. #
  2646. # Possible Values:
  2647. # * A valid path to a configuration file
  2648. #
  2649. # Related options:
  2650. # * rbd_store_user
  2651. #
  2652. # (string value)
  2653. #rbd_store_ceph_conf = /etc/ceph/ceph.conf
  2654.  
  2655. #
  2656. # Timeout value for connecting to Ceph cluster.
  2657. #
  2658. # This configuration option takes in the timeout value in seconds used
  2659. # when connecting to the Ceph cluster i.e. it sets the time to wait for
  2660. # glance-api before closing the connection. This prevents glance-api
  2661. # hangups during the connection to RBD. If the value for this option
  2662. # is set to less than or equal to 0, no timeout is set and the default
  2663. # librados value is used.
  2664. #
  2665. # Possible Values:
  2666. # * Any integer value
  2667. #
  2668. # Related options:
  2669. # * None
  2670. #
  2671. # (integer value)
  2672. #rados_connect_timeout = 0
  2673.  
  2674. #
  2675. # Chunk size for images to be stored in Sheepdog data store.
  2676. #
  2677. # Provide an integer value representing the size in mebibyte
  2678. # (1048576 bytes) to chunk Glance images into. The default
  2679. # chunk size is 64 mebibytes.
  2680. #
  2681. # When using Sheepdog distributed storage system, the images are
  2682. # chunked into objects of this size and then stored across the
  2683. # distributed data store to use for Glance.
  2684. #
  2685. # Chunk sizes, if a power of two, help avoid fragmentation and
  2686. # enable improved performance.
  2687. #
  2688. # Possible values:
  2689. # * Positive integer value representing size in mebibytes.
  2690. #
  2691. # Related Options:
  2692. # * None
  2693. #
  2694. # (integer value)
  2695. # Minimum value: 1
  2696. #sheepdog_store_chunk_size = 64
  2697.  
  2698. #
  2699. # Port number on which the sheep daemon will listen.
  2700. #
  2701. # Provide an integer value representing a valid port number on
  2702. # which you want the Sheepdog daemon to listen on. The default
  2703. # port is 7000.
  2704. #
  2705. # The Sheepdog daemon, also called 'sheep', manages the storage
  2706. # in the distributed cluster by writing objects across the storage
  2707. # network. It identifies and acts on the messages it receives on
  2708. # the port number set using ``sheepdog_store_port`` option to store
  2709. # chunks of Glance images.
  2710. #
  2711. # Possible values:
  2712. # * A valid port number (0 to 65535)
  2713. #
  2714. # Related Options:
  2715. # * sheepdog_store_address
  2716. #
  2717. # (port value)
  2718. # Minimum value: 0
  2719. # Maximum value: 65535
  2720. #sheepdog_store_port = 7000
  2721.  
  2722. #
  2723. # Address to bind the Sheepdog daemon to.
  2724. #
  2725. # Provide a string value representing the address to bind the
  2726. # Sheepdog daemon to. The default address set for the 'sheep'
  2727. # is 127.0.0.1.
  2728. #
  2729. # The Sheepdog daemon, also called 'sheep', manages the storage
  2730. # in the distributed cluster by writing objects across the storage
  2731. # network. It identifies and acts on the messages directed to the
  2732. # address set using ``sheepdog_store_address`` option to store
  2733. # chunks of Glance images.
  2734. #
  2735. # Possible values:
  2736. # * A valid IPv4 address
  2737. # * A valid IPv6 address
  2738. # * A valid hostname
  2739. #
  2740. # Related Options:
  2741. # * sheepdog_store_port
  2742. #
  2743. # (unknown value)
  2744. #sheepdog_store_address = 127.0.0.1
  2745.  
  2746. #
  2747. # Set verification of the server certificate.
  2748. #
  2749. # This boolean determines whether or not to verify the server
  2750. # certificate. If this option is set to True, swiftclient won't check
  2751. # for a valid SSL certificate when authenticating. If the option is set
  2752. # to False, then the default CA truststore is used for verification.
  2753. #
  2754. # Possible values:
  2755. # * True
  2756. # * False
  2757. #
  2758. # Related options:
  2759. # * swift_store_cacert
  2760. #
  2761. # (boolean value)
  2762. #swift_store_auth_insecure = false
  2763.  
  2764. #
  2765. # Path to the CA bundle file.
  2766. #
  2767. # This configuration option enables the operator to specify the path to
  2768. # a custom Certificate Authority file for SSL verification when
  2769. # connecting to Swift.
  2770. #
  2771. # Possible values:
  2772. # * A valid path to a CA file
  2773. #
  2774. # Related options:
  2775. # * swift_store_auth_insecure
  2776. #
  2777. # (string value)
  2778. #swift_store_cacert = /etc/ssl/certs/ca-certificates.crt
  2779.  
  2780. #
  2781. # The region of Swift endpoint to use by Glance.
  2782. #
  2783. # Provide a string value representing a Swift region where Glance
  2784. # can connect to for image storage. By default, there is no region
  2785. # set.
  2786. #
  2787. # When Glance uses Swift as the storage backend to store images
  2788. # for a specific tenant that has multiple endpoints, setting of a
  2789. # Swift region with ``swift_store_region`` allows Glance to connect
  2790. # to Swift in the specified region as opposed to a single region
  2791. # connectivity.
  2792. #
  2793. # This option can be configured for both single-tenant and
  2794. # multi-tenant storage.
  2795. #
  2796. # NOTE: Setting the region with ``swift_store_region`` is
  2797. # tenant-specific and is necessary ``only if`` the tenant has
  2798. # multiple endpoints across different regions.
  2799. #
  2800. # Possible values:
  2801. # * A string value representing a valid Swift region.
  2802. #
  2803. # Related Options:
  2804. # * None
  2805. #
  2806. # (string value)
  2807. #swift_store_region = RegionTwo
  2808.  
  2809. #
  2810. # The URL endpoint to use for Swift backend storage.
  2811. #
  2812. # Provide a string value representing the URL endpoint to use for
  2813. # storing Glance images in Swift store. By default, an endpoint
  2814. # is not set and the storage URL returned by ``auth`` is used.
  2815. # Setting an endpoint with ``swift_store_endpoint`` overrides the
  2816. # storage URL and is used for Glance image storage.
  2817. #
  2818. # NOTE: The URL should include the path up to, but excluding the
  2819. # container. The location of an object is obtained by appending
  2820. # the container and object to the configured URL.
  2821. #
  2822. # Possible values:
  2823. # * String value representing a valid URL path up to a Swift container
  2824. #
  2825. # Related Options:
  2826. # * None
  2827. #
  2828. # (string value)
  2829. #swift_store_endpoint = https://swift.openstack.example.org/v1/path_not_including_container_name
  2830.  
  2831. #
  2832. # Endpoint Type of Swift service.
  2833. #
  2834. # This string value indicates the endpoint type to use to fetch the
  2835. # Swift endpoint. The endpoint type determines the actions the user will
  2836. # be allowed to perform, for instance, reading and writing to the Store.
  2837. # This setting is only used if swift_store_auth_version is greater than
  2838. # 1.
  2839. #
  2840. # Possible values:
  2841. # * publicURL
  2842. # * adminURL
  2843. # * internalURL
  2844. #
  2845. # Related options:
  2846. # * swift_store_endpoint
  2847. #
  2848. # (string value)
  2849. # Possible values:
  2850. # publicURL - <No description provided>
  2851. # adminURL - <No description provided>
  2852. # internalURL - <No description provided>
  2853. #swift_store_endpoint_type = publicURL
  2854.  
  2855. #
  2856. # Type of Swift service to use.
  2857. #
  2858. # Provide a string value representing the service type to use for
  2859. # storing images while using Swift backend storage. The default
  2860. # service type is set to ``object-store``.
  2861. #
  2862. # NOTE: If ``swift_store_auth_version`` is set to 2, the value for
  2863. # this configuration option needs to be ``object-store``. If using
  2864. # a higher version of Keystone or a different auth scheme, this
  2865. # option may be modified.
  2866. #
  2867. # Possible values:
  2868. # * A string representing a valid service type for Swift storage.
  2869. #
  2870. # Related Options:
  2871. # * None
  2872. #
  2873. # (string value)
  2874. #swift_store_service_type = object-store
  2875.  
  2876. #
  2877. # Name of single container to store images/name prefix for multiple containers
  2878. #
  2879. # When a single container is being used to store images, this configuration
  2880. # option indicates the container within the Glance account to be used for
  2881. # storing all images. When multiple containers are used to store images, this
  2882. # will be the name prefix for all containers. Usage of single/multiple
  2883. # containers can be controlled using the configuration option
  2884. # ``swift_store_multiple_containers_seed``.
  2885. #
  2886. # When using multiple containers, the containers will be named after the value
  2887. # set for this configuration option with the first N chars of the image UUID
  2888. # as the suffix delimited by an underscore (where N is specified by
  2889. # ``swift_store_multiple_containers_seed``).
  2890. #
  2891. # Example: if the seed is set to 3 and swift_store_container = ``glance``, then
  2892. # an image with UUID ``fdae39a1-bac5-4238-aba4-69bcc726e848`` would be placed in
  2893. # the container ``glance_fda``. All dashes in the UUID are included when
  2894. # creating the container name but do not count toward the character limit, so
  2895. # when N=10 the container name would be ``glance_fdae39a1-ba.``
  2896. #
  2897. # Possible values:
  2898. # * If using single container, this configuration option can be any string
  2899. # that is a valid swift container name in Glance's Swift account
  2900. # * If using multiple containers, this configuration option can be any
  2901. # string as long as it satisfies the container naming rules enforced by
  2902. # Swift. The value of ``swift_store_multiple_containers_seed`` should be
  2903. # taken into account as well.
  2904. #
  2905. # Related options:
  2906. # * ``swift_store_multiple_containers_seed``
  2907. # * ``swift_store_multi_tenant``
  2908. # * ``swift_store_create_container_on_put``
  2909. #
  2910. # (string value)
  2911. #swift_store_container = glance
  2912.  
  2913. #
  2914. # The size threshold, in MB, after which Glance will start segmenting image
  2915. # data.
  2916. #
  2917. # Swift has an upper limit on the size of a single uploaded object. By default,
  2918. # this is 5GB. To upload objects bigger than this limit, objects are segmented
  2919. # into multiple smaller objects that are tied together with a manifest file.
  2920. # For more detail, refer to
  2921. # http://docs.openstack.org/developer/swift/overview_large_objects.html
  2922. #
  2923. # This configuration option specifies the size threshold over which the Swift
  2924. # driver will start segmenting image data into multiple smaller files.
  2925. # Currently, the Swift driver only supports creating Dynamic Large Objects.
  2926. #
  2927. # NOTE: This should be set by taking into account the large object limit
  2928. # enforced by the Swift cluster in consideration.
  2929. #
  2930. # Possible values:
  2931. # * A positive integer that is less than or equal to the large object limit
  2932. # enforced by the Swift cluster in consideration.
  2933. #
  2934. # Related options:
  2935. # * ``swift_store_large_object_chunk_size``
  2936. #
  2937. # (integer value)
  2938. # Minimum value: 1
  2939. #swift_store_large_object_size = 5120
  2940.  
  2941. #
  2942. # The maximum size, in MB, of the segments when image data is segmented.
  2943. #
  2944. # When image data is segmented to upload images that are larger than the limit
  2945. # enforced by the Swift cluster, image data is broken into segments that are no
  2946. # bigger than the size specified by this configuration option.
  2947. # Refer to ``swift_store_large_object_size`` for more detail.
  2948. #
  2949. # For example: if ``swift_store_large_object_size`` is 5GB and
  2950. # ``swift_store_large_object_chunk_size`` is 1GB, an image of size 6.2GB will be
  2951. # segmented into 7 segments where the first six segments will be 1GB in size and
  2952. # the seventh segment will be 0.2GB.
  2953. #
  2954. # Possible values:
  2955. # * A positive integer that is less than or equal to the large object limit
  2956. # enforced by Swift cluster in consideration.
  2957. #
  2958. # Related options:
  2959. # * ``swift_store_large_object_size``
  2960. #
  2961. # (integer value)
  2962. # Minimum value: 1
  2963. #swift_store_large_object_chunk_size = 200
  2964.  
  2965. #
  2966. # Create container, if it doesn't already exist, when uploading image.
  2967. #
  2968. # At the time of uploading an image, if the corresponding container doesn't
  2969. # exist, it will be created provided this configuration option is set to True.
  2970. # By default, it won't be created. This behavior is applicable for both single
  2971. # and multiple containers mode.
  2972. #
  2973. # Possible values:
  2974. # * True
  2975. # * False
  2976. #
  2977. # Related options:
  2978. # * None
  2979. #
  2980. # (boolean value)
  2981. #swift_store_create_container_on_put = false
  2982.  
  2983. #
  2984. # Store images in tenant's Swift account.
  2985. #
  2986. # This enables multi-tenant storage mode which causes Glance images to be stored
  2987. # in tenant specific Swift accounts. If this is disabled, Glance stores all
  2988. # images in its own account. More details multi-tenant store can be found at
  2989. # https://wiki.openstack.org/wiki/GlanceSwiftTenantSpecificStorage
  2990. #
  2991. # NOTE: If using multi-tenant swift store, please make sure
  2992. # that you do not set a swift configuration file with the
  2993. # 'swift_store_config_file' option.
  2994. #
  2995. # Possible values:
  2996. # * True
  2997. # * False
  2998. #
  2999. # Related options:
  3000. # * swift_store_config_file
  3001. #
  3002. # (boolean value)
  3003. #swift_store_multi_tenant = false
  3004.  
  3005. #
  3006. # Seed indicating the number of containers to use for storing images.
  3007. #
  3008. # When using a single-tenant store, images can be stored in one or more than one
  3009. # containers. When set to 0, all images will be stored in one single container.
  3010. # When set to an integer value between 1 and 32, multiple containers will be
  3011. # used to store images. This configuration option will determine how many
  3012. # containers are created. The total number of containers that will be used is
  3013. # equal to 16^N, so if this config option is set to 2, then 16^2=256 containers
  3014. # will be used to store images.
  3015. #
  3016. # Please refer to ``swift_store_container`` for more detail on the naming
  3017. # convention. More detail about using multiple containers can be found at
  3018. # https://specs.openstack.org/openstack/glance-specs/specs/kilo/swift-store-
  3019. # multiple-containers.html
  3020. #
  3021. # NOTE: This is used only when swift_store_multi_tenant is disabled.
  3022. #
  3023. # Possible values:
  3024. # * A non-negative integer less than or equal to 32
  3025. #
  3026. # Related options:
  3027. # * ``swift_store_container``
  3028. # * ``swift_store_multi_tenant``
  3029. # * ``swift_store_create_container_on_put``
  3030. #
  3031. # (integer value)
  3032. # Minimum value: 0
  3033. # Maximum value: 32
  3034. #swift_store_multiple_containers_seed = 0
  3035.  
  3036. #
  3037. # List of tenants that will be granted admin access.
  3038. #
  3039. # This is a list of tenants that will be granted read/write access on
  3040. # all Swift containers created by Glance in multi-tenant mode. The
  3041. # default value is an empty list.
  3042. #
  3043. # Possible values:
  3044. # * A comma separated list of strings representing UUIDs of Keystone
  3045. # projects/tenants
  3046. #
  3047. # Related options:
  3048. # * None
  3049. #
  3050. # (list value)
  3051. #swift_store_admin_tenants =
  3052.  
  3053. #
  3054. # SSL layer compression for HTTPS Swift requests.
  3055. #
  3056. # Provide a boolean value to determine whether or not to compress
  3057. # HTTPS Swift requests for images at the SSL layer. By default,
  3058. # compression is enabled.
  3059. #
  3060. # When using Swift as the backend store for Glance image storage,
  3061. # SSL layer compression of HTTPS Swift requests can be set using
  3062. # this option. If set to False, SSL layer compression of HTTPS
  3063. # Swift requests is disabled. Disabling this option may improve
  3064. # performance for images which are already in a compressed format,
  3065. # for example, qcow2.
  3066. #
  3067. # Possible values:
  3068. # * True
  3069. # * False
  3070. #
  3071. # Related Options:
  3072. # * None
  3073. #
  3074. # (boolean value)
  3075. #swift_store_ssl_compression = true
  3076.  
  3077. #
  3078. # The number of times a Swift download will be retried before the
  3079. # request fails.
  3080. #
  3081. # Provide an integer value representing the number of times an image
  3082. # download must be retried before erroring out. The default value is
  3083. # zero (no retry on a failed image download). When set to a positive
  3084. # integer value, ``swift_store_retry_get_count`` ensures that the
  3085. # download is attempted this many more times upon a download failure
  3086. # before sending an error message.
  3087. #
  3088. # Possible values:
  3089. # * Zero
  3090. # * Positive integer value
  3091. #
  3092. # Related Options:
  3093. # * None
  3094. #
  3095. # (integer value)
  3096. # Minimum value: 0
  3097. #swift_store_retry_get_count = 0
  3098.  
  3099. #
  3100. # Time in seconds defining the size of the window in which a new
  3101. # token may be requested before the current token is due to expire.
  3102. #
  3103. # Typically, the Swift storage driver fetches a new token upon the
  3104. # expiration of the current token to ensure continued access to
  3105. # Swift. However, some Swift transactions (like uploading image
  3106. # segments) may not recover well if the token expires on the fly.
  3107. #
  3108. # Hence, by fetching a new token before the current token expiration,
  3109. # we make sure that the token does not expire or is close to expiry
  3110. # before a transaction is attempted. By default, the Swift storage
  3111. # driver requests for a new token 60 seconds or less before the
  3112. # current token expiration.
  3113. #
  3114. # Possible values:
  3115. # * Zero
  3116. # * Positive integer value
  3117. #
  3118. # Related Options:
  3119. # * None
  3120. #
  3121. # (integer value)
  3122. # Minimum value: 0
  3123. #swift_store_expire_soon_interval = 60
  3124.  
  3125. #
  3126. # Use trusts for multi-tenant Swift store.
  3127. #
  3128. # This option instructs the Swift store to create a trust for each
  3129. # add/get request when the multi-tenant store is in use. Using trusts
  3130. # allows the Swift store to avoid problems that can be caused by an
  3131. # authentication token expiring during the upload or download of data.
  3132. #
  3133. # By default, ``swift_store_use_trusts`` is set to ``True``(use of
  3134. # trusts is enabled). If set to ``False``, a user token is used for
  3135. # the Swift connection instead, eliminating the overhead of trust
  3136. # creation.
  3137. #
  3138. # NOTE: This option is considered only when
  3139. # ``swift_store_multi_tenant`` is set to ``True``
  3140. #
  3141. # Possible values:
  3142. # * True
  3143. # * False
  3144. #
  3145. # Related options:
  3146. # * swift_store_multi_tenant
  3147. #
  3148. # (boolean value)
  3149. #swift_store_use_trusts = true
  3150.  
  3151. #
  3152. # Buffer image segments before upload to Swift.
  3153. #
  3154. # Provide a boolean value to indicate whether or not Glance should
  3155. # buffer image data to disk while uploading to swift. This enables
  3156. # Glance to resume uploads on error.
  3157. #
  3158. # NOTES:
  3159. # When enabling this option, one should take great care as this
  3160. # increases disk usage on the API node. Be aware that depending
  3161. # upon how the file system is configured, the disk space used
  3162. # for buffering may decrease the actual disk space available for
  3163. # the glance image cache. Disk utilization will cap according to
  3164. # the following equation:
  3165. # (``swift_store_large_object_chunk_size`` * ``workers`` * 1000)
  3166. #
  3167. # Possible values:
  3168. # * True
  3169. # * False
  3170. #
  3171. # Related options:
  3172. # * swift_upload_buffer_dir
  3173. #
  3174. # (boolean value)
  3175. #swift_buffer_on_upload = false
  3176.  
  3177. #
  3178. # Reference to default Swift account/backing store parameters.
  3179. #
  3180. # Provide a string value representing a reference to the default set
  3181. # of parameters required for using swift account/backing store for
  3182. # image storage. The default reference value for this configuration
  3183. # option is 'ref1'. This configuration option dereferences the
  3184. # parameters and facilitates image storage in Swift storage backend
  3185. # every time a new image is added.
  3186. #
  3187. # Possible values:
  3188. # * A valid string value
  3189. #
  3190. # Related options:
  3191. # * None
  3192. #
  3193. # (string value)
  3194. #default_swift_reference = ref1
  3195.  
  3196. # DEPRECATED: Version of the authentication service to use. Valid versions are 2
  3197. # and 3 for keystone and 1 (deprecated) for swauth and rackspace. (string value)
  3198. # This option is deprecated for removal.
  3199. # Its value may be silently ignored in the future.
  3200. # Reason:
  3201. # The option 'auth_version' in the Swift back-end configuration file is
  3202. # used instead.
  3203. #swift_store_auth_version = 2
  3204.  
  3205. # DEPRECATED: The address where the Swift authentication service is listening.
  3206. # (string value)
  3207. # This option is deprecated for removal.
  3208. # Its value may be silently ignored in the future.
  3209. # Reason:
  3210. # The option 'auth_address' in the Swift back-end configuration file is
  3211. # used instead.
  3212. #swift_store_auth_address = <None>
  3213.  
  3214. # DEPRECATED: The user to authenticate against the Swift authentication service.
  3215. # (string value)
  3216. # This option is deprecated for removal.
  3217. # Its value may be silently ignored in the future.
  3218. # Reason:
  3219. # The option 'user' in the Swift back-end configuration file is set instead.
  3220. #swift_store_user = <None>
  3221.  
  3222. # DEPRECATED: Auth key for the user authenticating against the Swift
  3223. # authentication service. (string value)
  3224. # This option is deprecated for removal.
  3225. # Its value may be silently ignored in the future.
  3226. # Reason:
  3227. # The option 'key' in the Swift back-end configuration file is used
  3228. # to set the authentication key instead.
  3229. #swift_store_key = <None>
  3230.  
  3231. #
  3232. # Absolute path to the file containing the swift account(s)
  3233. # configurations.
  3234. #
  3235. # Include a string value representing the path to a configuration
  3236. # file that has references for each of the configured Swift
  3237. # account(s)/backing stores. By default, no file path is specified
  3238. # and customized Swift referencing is disabled. Configuring this
  3239. # option is highly recommended while using Swift storage backend for
  3240. # image storage as it avoids storage of credentials in the database.
  3241. #
  3242. # NOTE: Please do not configure this option if you have set
  3243. # ``swift_store_multi_tenant`` to ``True``.
  3244. #
  3245. # Possible values:
  3246. # * String value representing an absolute path on the glance-api
  3247. # node
  3248. #
  3249. # Related options:
  3250. # * swift_store_multi_tenant
  3251. #
  3252. # (string value)
  3253. #swift_store_config_file = <None>
  3254.  
  3255. #
  3256. # Directory to buffer image segments before upload to Swift.
  3257. #
  3258. # Provide a string value representing the absolute path to the
  3259. # directory on the glance node where image segments will be
  3260. # buffered briefly before they are uploaded to swift.
  3261. #
  3262. # NOTES:
  3263. # * This is required only when the configuration option
  3264. # ``swift_buffer_on_upload`` is set to True.
  3265. # * This directory should be provisioned keeping in mind the
  3266. # ``swift_store_large_object_chunk_size`` and the maximum
  3267. # number of images that could be uploaded simultaneously by
  3268. # a given glance node.
  3269. #
  3270. # Possible values:
  3271. # * String value representing an absolute directory path
  3272. #
  3273. # Related options:
  3274. # * swift_buffer_on_upload
  3275. # * swift_store_large_object_chunk_size
  3276. #
  3277. # (string value)
  3278. #swift_upload_buffer_dir = <None>
  3279.  
  3280. #
  3281. # Address of the ESX/ESXi or vCenter Server target system.
  3282. #
  3283. # This configuration option sets the address of the ESX/ESXi or vCenter
  3284. # Server target system. This option is required when using the VMware
  3285. # storage backend. The address can contain an IP address (127.0.0.1) or
  3286. # a DNS name (www.my-domain.com).
  3287. #
  3288. # Possible Values:
  3289. # * A valid IPv4 or IPv6 address
  3290. # * A valid DNS name
  3291. #
  3292. # Related options:
  3293. # * vmware_server_username
  3294. # * vmware_server_password
  3295. #
  3296. # (unknown value)
  3297. #vmware_server_host = 127.0.0.1
  3298.  
  3299. #
  3300. # Server username.
  3301. #
  3302. # This configuration option takes the username for authenticating with
  3303. # the VMware ESX/ESXi or vCenter Server. This option is required when
  3304. # using the VMware storage backend.
  3305. #
  3306. # Possible Values:
  3307. # * Any string that is the username for a user with appropriate
  3308. # privileges
  3309. #
  3310. # Related options:
  3311. # * vmware_server_host
  3312. # * vmware_server_password
  3313. #
  3314. # (string value)
  3315. #vmware_server_username = root
  3316.  
  3317. #
  3318. # Server password.
  3319. #
  3320. # This configuration option takes the password for authenticating with
  3321. # the VMware ESX/ESXi or vCenter Server. This option is required when
  3322. # using the VMware storage backend.
  3323. #
  3324. # Possible Values:
  3325. # * Any string that is a password corresponding to the username
  3326. # specified using the "vmware_server_username" option
  3327. #
  3328. # Related options:
  3329. # * vmware_server_host
  3330. # * vmware_server_username
  3331. #
  3332. # (string value)
  3333. #vmware_server_password = vmware
  3334.  
  3335. #
  3336. # The number of VMware API retries.
  3337. #
  3338. # This configuration option specifies the number of times the VMware
  3339. # ESX/VC server API must be retried upon connection related issues or
  3340. # server API call overload. It is not possible to specify 'retry
  3341. # forever'.
  3342. #
  3343. # Possible Values:
  3344. # * Any positive integer value
  3345. #
  3346. # Related options:
  3347. # * None
  3348. #
  3349. # (integer value)
  3350. # Minimum value: 1
  3351. #vmware_api_retry_count = 10
  3352.  
  3353. #
  3354. # Interval in seconds used for polling remote tasks invoked on VMware
  3355. # ESX/VC server.
  3356. #
  3357. # This configuration option takes in the sleep time in seconds for polling an
  3358. # on-going async task as part of the VMWare ESX/VC server API call.
  3359. #
  3360. # Possible Values:
  3361. # * Any positive integer value
  3362. #
  3363. # Related options:
  3364. # * None
  3365. #
  3366. # (integer value)
  3367. # Minimum value: 1
  3368. #vmware_task_poll_interval = 5
  3369.  
  3370. #
  3371. # The directory where the glance images will be stored in the datastore.
  3372. #
  3373. # This configuration option specifies the path to the directory where the
  3374. # glance images will be stored in the VMware datastore. If this option
  3375. # is not set, the default directory where the glance images are stored
  3376. # is openstack_glance.
  3377. #
  3378. # Possible Values:
  3379. # * Any string that is a valid path to a directory
  3380. #
  3381. # Related options:
  3382. # * None
  3383. #
  3384. # (string value)
  3385. #vmware_store_image_dir = /openstack_glance
  3386.  
  3387. #
  3388. # Set verification of the ESX/vCenter server certificate.
  3389. #
  3390. # This configuration option takes a boolean value to determine
  3391. # whether or not to verify the ESX/vCenter server certificate. If this
  3392. # option is set to True, the ESX/vCenter server certificate is not
  3393. # verified. If this option is set to False, then the default CA
  3394. # truststore is used for verification.
  3395. #
  3396. # This option is ignored if the "vmware_ca_file" option is set. In that
  3397. # case, the ESX/vCenter server certificate will then be verified using
  3398. # the file specified using the "vmware_ca_file" option .
  3399. #
  3400. # Possible Values:
  3401. # * True
  3402. # * False
  3403. #
  3404. # Related options:
  3405. # * vmware_ca_file
  3406. #
  3407. # (boolean value)
  3408. # Deprecated group/name - [glance_store]/vmware_api_insecure
  3409. #vmware_insecure = false
  3410.  
  3411. #
  3412. # Absolute path to the CA bundle file.
  3413. #
  3414. # This configuration option enables the operator to use a custom
  3415. # Cerificate Authority File to verify the ESX/vCenter certificate.
  3416. #
  3417. # If this option is set, the "vmware_insecure" option will be ignored
  3418. # and the CA file specified will be used to authenticate the ESX/vCenter
  3419. # server certificate and establish a secure connection to the server.
  3420. #
  3421. # Possible Values:
  3422. # * Any string that is a valid absolute path to a CA file
  3423. #
  3424. # Related options:
  3425. # * vmware_insecure
  3426. #
  3427. # (string value)
  3428. #vmware_ca_file = /etc/ssl/certs/ca-certificates.crt
  3429.  
  3430. #
  3431. # The datastores where the image can be stored.
  3432. #
  3433. # This configuration option specifies the datastores where the image can
  3434. # be stored in the VMWare store backend. This option may be specified
  3435. # multiple times for specifying multiple datastores. The datastore name
  3436. # should be specified after its datacenter path, separated by ":". An
  3437. # optional weight may be given after the datastore name, separated again
  3438. # by ":" to specify the priority. Thus, the required format becomes
  3439. # <datacenter_path>:<datastore_name>:<optional_weight>.
  3440. #
  3441. # When adding an image, the datastore with highest weight will be
  3442. # selected, unless there is not enough free space available in cases
  3443. # where the image size is already known. If no weight is given, it is
  3444. # assumed to be zero and the directory will be considered for selection
  3445. # last. If multiple datastores have the same weight, then the one with
  3446. # the most free space available is selected.
  3447. #
  3448. # Possible Values:
  3449. # * Any string of the format:
  3450. # <datacenter_path>:<datastore_name>:<optional_weight>
  3451. #
  3452. # Related options:
  3453. # * None
  3454. #
  3455. # (multi valued)
  3456. #vmware_datastores =
  3457.  
  3458.  
  3459. [image_format]
  3460.  
  3461. #
  3462. # From glance.api
  3463. #
  3464.  
  3465. # Supported values for the 'container_format' image attribute (list value)
  3466. # Deprecated group/name - [DEFAULT]/container_formats
  3467. #container_formats = ami,ari,aki,bare,ovf,ova,docker
  3468.  
  3469. # Supported values for the 'disk_format' image attribute (list value)
  3470. # Deprecated group/name - [DEFAULT]/disk_formats
  3471. disk_formats = ami,ari,aki,vhd,vhdx,vmdk,raw,qcow2,vdi,iso,ploop.root-tar
  3472.  
  3473.  
  3474. [keystone_authtoken]
  3475.  
  3476. #
  3477. # From keystonemiddleware.auth_token
  3478. #
  3479.  
  3480. # Complete "public" Identity API endpoint. This endpoint should not be an
  3481. # "admin" endpoint, as it should be accessible by all end users. Unauthenticated
  3482. # clients are redirected to this endpoint to authenticate. Although this
  3483. # endpoint should ideally be unversioned, client support in the wild varies. If
  3484. # you're using a versioned v2 endpoint here, then this should *not* be the same
  3485. # endpoint the service user utilizes for validating tokens, because normal end
  3486. # users may not be able to reach that endpoint. (string value)
  3487. # Deprecated group/name - [keystone_authtoken]/auth_uri
  3488. #www_authenticate_uri = http://controller:5000
  3489.  
  3490. # DEPRECATED: Complete "public" Identity API endpoint. This endpoint should not
  3491. # be an "admin" endpoint, as it should be accessible by all end users.
  3492. # Unauthenticated clients are redirected to this endpoint to authenticate.
  3493. # Although this endpoint should ideally be unversioned, client support in the
  3494. # wild varies. If you're using a versioned v2 endpoint here, then this should
  3495. # *not* be the same endpoint the service user utilizes for validating tokens,
  3496. # because normal end users may not be able to reach that endpoint. This option
  3497. # is deprecated in favor of www_authenticate_uri and will be removed in the S
  3498. # release. (string value)
  3499. # This option is deprecated for removal since Queens.
  3500. # Its value may be silently ignored in the future.
  3501. # Reason: The auth_uri option is deprecated in favor of www_authenticate_uri and
  3502. # will be removed in the S release.
  3503. auth_uri = http://controller:5000
  3504.  
  3505. # API version of the admin Identity API endpoint. (string value)
  3506. #auth_version = <None>
  3507.  
  3508. # Do not handle authorization requests within the middleware, but delegate the
  3509. # authorization decision to downstream WSGI components. (boolean value)
  3510. #delay_auth_decision = false
  3511.  
  3512. # Request timeout value for communicating with Identity API server. (integer
  3513. # value)
  3514. #http_connect_timeout = <None>
  3515.  
  3516. # How many times are we trying to reconnect when communicating with Identity API
  3517. # Server. (integer value)
  3518. #http_request_max_retries = 3
  3519.  
  3520. # Request environment key where the Swift cache object is stored. When
  3521. # auth_token middleware is deployed with a Swift cache, use this option to have
  3522. # the middleware share a caching backend with swift. Otherwise, use the
  3523. # ``memcached_servers`` option instead. (string value)
  3524. #cache = <None>
  3525.  
  3526. # Required if identity server requires client certificate (string value)
  3527. #certfile = <None>
  3528.  
  3529. # Required if identity server requires client certificate (string value)
  3530. #keyfile = <None>
  3531.  
  3532. # A PEM encoded Certificate Authority to use when verifying HTTPs connections.
  3533. # Defaults to system CAs. (string value)
  3534. #cafile = <None>
  3535.  
  3536. # Verify HTTPS connections. (boolean value)
  3537. #insecure = false
  3538.  
  3539. # The region in which the identity server can be found. (string value)
  3540. #region_name = <None>
  3541.  
  3542. # DEPRECATED: Directory used to cache files related to PKI tokens. This option
  3543. # has been deprecated in the Ocata release and will be removed in the P release.
  3544. # (string value)
  3545. # This option is deprecated for removal since Ocata.
  3546. # Its value may be silently ignored in the future.
  3547. # Reason: PKI token format is no longer supported.
  3548. #signing_dir = <None>
  3549.  
  3550. # Optionally specify a list of memcached server(s) to use for caching. If left
  3551. # undefined, tokens will instead be cached in-process. (list value)
  3552. # Deprecated group/name - [keystone_authtoken]/memcache_servers
  3553. memcached_servers = controller:11211
  3554.  
  3555. # In order to prevent excessive effort spent validating tokens, the middleware
  3556. # caches previously-seen tokens for a configurable duration (in seconds). Set to
  3557. # -1 to disable caching completely. (integer value)
  3558. #token_cache_time = 300
  3559.  
  3560. # DEPRECATED: Determines the frequency at which the list of revoked tokens is
  3561. # retrieved from the Identity service (in seconds). A high number of revocation
  3562. # events combined with a low cache duration may significantly reduce
  3563. # performance. Only valid for PKI tokens. This option has been deprecated in the
  3564. # Ocata release and will be removed in the P release. (integer value)
  3565. # This option is deprecated for removal since Ocata.
  3566. # Its value may be silently ignored in the future.
  3567. # Reason: PKI token format is no longer supported.
  3568. #revocation_cache_time = 10
  3569.  
  3570. # (Optional) If defined, indicate whether token data should be authenticated or
  3571. # authenticated and encrypted. If MAC, token data is authenticated (with HMAC)
  3572. # in the cache. If ENCRYPT, token data is encrypted and authenticated in the
  3573. # cache. If the value is not one of these options or empty, auth_token will
  3574. # raise an exception on initialization. (string value)
  3575. # Possible values:
  3576. # None - <No description provided>
  3577. # MAC - <No description provided>
  3578. # ENCRYPT - <No description provided>
  3579. #memcache_security_strategy = None
  3580.  
  3581. # (Optional, mandatory if memcache_security_strategy is defined) This string is
  3582. # used for key derivation. (string value)
  3583. #memcache_secret_key = <None>
  3584.  
  3585. # (Optional) Number of seconds memcached server is considered dead before it is
  3586. # tried again. (integer value)
  3587. #memcache_pool_dead_retry = 300
  3588.  
  3589. # (Optional) Maximum total number of open connections to every memcached server.
  3590. # (integer value)
  3591. #memcache_pool_maxsize = 10
  3592.  
  3593. # (Optional) Socket timeout in seconds for communicating with a memcached
  3594. # server. (integer value)
  3595. #memcache_pool_socket_timeout = 3
  3596.  
  3597. # (Optional) Number of seconds a connection to memcached is held unused in the
  3598. # pool before it is closed. (integer value)
  3599. #memcache_pool_unused_timeout = 60
  3600.  
  3601. # (Optional) Number of seconds that an operation will wait to get a memcached
  3602. # client connection from the pool. (integer value)
  3603. #memcache_pool_conn_get_timeout = 10
  3604.  
  3605. # (Optional) Use the advanced (eventlet safe) memcached client pool. The
  3606. # advanced pool will only work under python 2.x. (boolean value)
  3607. #memcache_use_advanced_pool = false
  3608.  
  3609. # (Optional) Indicate whether to set the X-Service-Catalog header. If False,
  3610. # middleware will not ask for service catalog on token validation and will not
  3611. # set the X-Service-Catalog header. (boolean value)
  3612. #include_service_catalog = true
  3613.  
  3614. # Used to control the use and type of token binding. Can be set to: "disabled"
  3615. # to not check token binding. "permissive" (default) to validate binding
  3616. # information if the bind type is of a form known to the server and ignore it if
  3617. # not. "strict" like "permissive" but if the bind type is unknown the token will
  3618. # be rejected. "required" any form of token binding is needed to be allowed.
  3619. # Finally the name of a binding method that must be present in tokens. (string
  3620. # value)
  3621. #enforce_token_bind = permissive
  3622.  
  3623. # DEPRECATED: If true, the revocation list will be checked for cached tokens.
  3624. # This requires that PKI tokens are configured on the identity server. (boolean
  3625. # value)
  3626. # This option is deprecated for removal since Ocata.
  3627. # Its value may be silently ignored in the future.
  3628. # Reason: PKI token format is no longer supported.
  3629. #check_revocations_for_cached = false
  3630.  
  3631. # DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a
  3632. # single algorithm or multiple. The algorithms are those supported by Python
  3633. # standard hashlib.new(). The hashes will be tried in the order given, so put
  3634. # the preferred one first for performance. The result of the first hash will be
  3635. # stored in the cache. This will typically be set to multiple values only while
  3636. # migrating from a less secure algorithm to a more secure one. Once all the old
  3637. # tokens are expired this option should be set to a single value for better
  3638. # performance. (list value)
  3639. # This option is deprecated for removal since Ocata.
  3640. # Its value may be silently ignored in the future.
  3641. # Reason: PKI token format is no longer supported.
  3642. #hash_algorithms = md5
  3643.  
  3644. # A choice of roles that must be present in a service token. Service tokens are
  3645. # allowed to request that an expired token can be used and so this check should
  3646. # tightly control that only actual services should be sending this token. Roles
  3647. # here are applied as an ANY check so any role in this list must be present. For
  3648. # backwards compatibility reasons this currently only affects the allow_expired
  3649. # check. (list value)
  3650. #service_token_roles = service
  3651.  
  3652. # For backwards compatibility reasons we must let valid service tokens pass that
  3653. # don't pass the service_token_roles check as valid. Setting this true will
  3654. # become the default in a future release and should be enabled if possible.
  3655. # (boolean value)
  3656. service_token_roles_required = true
  3657.  
  3658. # Authentication type to load (string value)
  3659. # Deprecated group/name - [keystone_authtoken]/auth_plugin
  3660. auth_type = password
  3661.  
  3662. # Config Section from which to load plugin specific options (string value)
  3663. #auth_section = <None>
  3664.  
  3665. project_domain_name = Default
  3666. user_domain_name = Default
  3667. project_name = service
  3668. username = glance
  3669. password = <omitted>
  3670.  
  3671. [matchmaker_redis]
  3672.  
  3673. #
  3674. # From oslo.messaging
  3675. #
  3676.  
  3677. # DEPRECATED: Host to locate redis. (string value)
  3678. # This option is deprecated for removal.
  3679. # Its value may be silently ignored in the future.
  3680. # Reason: Replaced by [DEFAULT]/transport_url
  3681. #host = 127.0.0.1
  3682.  
  3683. # DEPRECATED: Use this port to connect to redis host. (port value)
  3684. # Minimum value: 0
  3685. # Maximum value: 65535
  3686. # This option is deprecated for removal.
  3687. # Its value may be silently ignored in the future.
  3688. # Reason: Replaced by [DEFAULT]/transport_url
  3689. #port = 6379
  3690.  
  3691. # DEPRECATED: Password for Redis server (optional). (string value)
  3692. # This option is deprecated for removal.
  3693. # Its value may be silently ignored in the future.
  3694. # Reason: Replaced by [DEFAULT]/transport_url
  3695. #password =
  3696.  
  3697. # DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g.,
  3698. # [host:port, host1:port ... ] (list value)
  3699. # This option is deprecated for removal.
  3700. # Its value may be silently ignored in the future.
  3701. # Reason: Replaced by [DEFAULT]/transport_url
  3702. #sentinel_hosts =
  3703.  
  3704. # Redis replica set name. (string value)
  3705. #sentinel_group_name = oslo-messaging-zeromq
  3706.  
  3707. # Time in ms to wait between connection attempts. (integer value)
  3708. #wait_timeout = 2000
  3709.  
  3710. # Time in ms to wait before the transaction is killed. (integer value)
  3711. #check_timeout = 20000
  3712.  
  3713. # Timeout in ms on blocking socket operations. (integer value)
  3714. #socket_timeout = 10000
  3715.  
  3716.  
  3717. [oslo_concurrency]
  3718.  
  3719. #
  3720. # From oslo.concurrency
  3721. #
  3722.  
  3723. # Enables or disables inter-process locks. (boolean value)
  3724. #disable_process_locking = false
  3725.  
  3726. # Directory to use for lock files. For security, the specified directory should
  3727. # only be writable by the user running the processes that need locking. Defaults
  3728. # to environment variable OSLO_LOCK_PATH. If external locks are used, a lock
  3729. # path must be set. (string value)
  3730. #lock_path = <None>
  3731.  
  3732.  
  3733. [oslo_messaging_amqp]
  3734.  
  3735. #
  3736. # From oslo.messaging
  3737. #
  3738.  
  3739. # Name for the AMQP container. must be globally unique. Defaults to a generated
  3740. # UUID (string value)
  3741. #container_name = <None>
  3742.  
  3743. # Timeout for inactive connections (in seconds) (integer value)
  3744. #idle_timeout = 0
  3745.  
  3746. # Debug: dump AMQP frames to stdout (boolean value)
  3747. #trace = false
  3748.  
  3749. # Attempt to connect via SSL. If no other ssl-related parameters are given, it
  3750. # will use the system's CA-bundle to verify the server's certificate. (boolean
  3751. # value)
  3752. #ssl = false
  3753.  
  3754. # CA certificate PEM file used to verify the server's certificate (string value)
  3755. #ssl_ca_file =
  3756.  
  3757. # Self-identifying certificate PEM file for client authentication (string value)
  3758. #ssl_cert_file =
  3759.  
  3760. # Private key PEM file used to sign ssl_cert_file certificate (optional) (string
  3761. # value)
  3762. #ssl_key_file =
  3763.  
  3764. # Password for decrypting ssl_key_file (if encrypted) (string value)
  3765. #ssl_key_password = <None>
  3766.  
  3767. # By default SSL checks that the name in the server's certificate matches the
  3768. # hostname in the transport_url. In some configurations it may be preferable to
  3769. # use the virtual hostname instead, for example if the server uses the Server
  3770. # Name Indication TLS extension (rfc6066) to provide a certificate per virtual
  3771. # host. Set ssl_verify_vhost to True if the server's SSL certificate uses the
  3772. # virtual host name instead of the DNS name. (boolean value)
  3773. #ssl_verify_vhost = false
  3774.  
  3775. # DEPRECATED: Accept clients using either SSL or plain TCP (boolean value)
  3776. # This option is deprecated for removal.
  3777. # Its value may be silently ignored in the future.
  3778. # Reason: Not applicable - not a SSL server
  3779. #allow_insecure_clients = false
  3780.  
  3781. # Space separated list of acceptable SASL mechanisms (string value)
  3782. #sasl_mechanisms =
  3783.  
  3784. # Path to directory that contains the SASL configuration (string value)
  3785. #sasl_config_dir =
  3786.  
  3787. # Name of configuration file (without .conf suffix) (string value)
  3788. #sasl_config_name =
  3789.  
  3790. # SASL realm to use if no realm present in username (string value)
  3791. #sasl_default_realm =
  3792.  
  3793. # DEPRECATED: User name for message broker authentication (string value)
  3794. # This option is deprecated for removal.
  3795. # Its value may be silently ignored in the future.
  3796. # Reason: Should use configuration option transport_url to provide the username.
  3797. #username =
  3798.  
  3799. # DEPRECATED: Password for message broker authentication (string value)
  3800. # This option is deprecated for removal.
  3801. # Its value may be silently ignored in the future.
  3802. # Reason: Should use configuration option transport_url to provide the password.
  3803. #password =
  3804.  
  3805. # Seconds to pause before attempting to re-connect. (integer value)
  3806. # Minimum value: 1
  3807. #connection_retry_interval = 1
  3808.  
  3809. # Increase the connection_retry_interval by this many seconds after each
  3810. # unsuccessful failover attempt. (integer value)
  3811. # Minimum value: 0
  3812. #connection_retry_backoff = 2
  3813.  
  3814. # Maximum limit for connection_retry_interval + connection_retry_backoff
  3815. # (integer value)
  3816. # Minimum value: 1
  3817. #connection_retry_interval_max = 30
  3818.  
  3819. # Time to pause between re-connecting an AMQP 1.0 link that failed due to a
  3820. # recoverable error. (integer value)
  3821. # Minimum value: 1
  3822. #link_retry_delay = 10
  3823.  
  3824. # The maximum number of attempts to re-send a reply message which failed due to
  3825. # a recoverable error. (integer value)
  3826. # Minimum value: -1
  3827. #default_reply_retry = 0
  3828.  
  3829. # The deadline for an rpc reply message delivery. (integer value)
  3830. # Minimum value: 5
  3831. #default_reply_timeout = 30
  3832.  
  3833. # The deadline for an rpc cast or call message delivery. Only used when caller
  3834. # does not provide a timeout expiry. (integer value)
  3835. # Minimum value: 5
  3836. #default_send_timeout = 30
  3837.  
  3838. # The deadline for a sent notification message delivery. Only used when caller
  3839. # does not provide a timeout expiry. (integer value)
  3840. # Minimum value: 5
  3841. #default_notify_timeout = 30
  3842.  
  3843. # The duration to schedule a purge of idle sender links. Detach link after
  3844. # expiry. (integer value)
  3845. # Minimum value: 1
  3846. #default_sender_link_timeout = 600
  3847.  
  3848. # Indicates the addressing mode used by the driver.
  3849. # Permitted values:
  3850. # 'legacy' - use legacy non-routable addressing
  3851. # 'routable' - use routable addresses
  3852. # 'dynamic' - use legacy addresses if the message bus does not support routing
  3853. # otherwise use routable addressing (string value)
  3854. #addressing_mode = dynamic
  3855.  
  3856. # Enable virtual host support for those message buses that do not natively
  3857. # support virtual hosting (such as qpidd). When set to true the virtual host
  3858. # name will be added to all message bus addresses, effectively creating a
  3859. # private 'subnet' per virtual host. Set to False if the message bus supports
  3860. # virtual hosting using the 'hostname' field in the AMQP 1.0 Open performative
  3861. # as the name of the virtual host. (boolean value)
  3862. #pseudo_vhost = true
  3863.  
  3864. # address prefix used when sending to a specific server (string value)
  3865. #server_request_prefix = exclusive
  3866.  
  3867. # address prefix used when broadcasting to all servers (string value)
  3868. #broadcast_prefix = broadcast
  3869.  
  3870. # address prefix when sending to any server in group (string value)
  3871. #group_request_prefix = unicast
  3872.  
  3873. # Address prefix for all generated RPC addresses (string value)
  3874. #rpc_address_prefix = openstack.org/om/rpc
  3875.  
  3876. # Address prefix for all generated Notification addresses (string value)
  3877. #notify_address_prefix = openstack.org/om/notify
  3878.  
  3879. # Appended to the address prefix when sending a fanout message. Used by the
  3880. # message bus to identify fanout messages. (string value)
  3881. #multicast_address = multicast
  3882.  
  3883. # Appended to the address prefix when sending to a particular RPC/Notification
  3884. # server. Used by the message bus to identify messages sent to a single
  3885. # destination. (string value)
  3886. #unicast_address = unicast
  3887.  
  3888. # Appended to the address prefix when sending to a group of consumers. Used by
  3889. # the message bus to identify messages that should be delivered in a round-robin
  3890. # fashion across consumers. (string value)
  3891. #anycast_address = anycast
  3892.  
  3893. # Exchange name used in notification addresses.
  3894. # Exchange name resolution precedence:
  3895. # Target.exchange if set
  3896. # else default_notification_exchange if set
  3897. # else control_exchange if set
  3898. # else 'notify' (string value)
  3899. #default_notification_exchange = <None>
  3900.  
  3901. # Exchange name used in RPC addresses.
  3902. # Exchange name resolution precedence:
  3903. # Target.exchange if set
  3904. # else default_rpc_exchange if set
  3905. # else control_exchange if set
  3906. # else 'rpc' (string value)
  3907. #default_rpc_exchange = <None>
  3908.  
  3909. # Window size for incoming RPC Reply messages. (integer value)
  3910. # Minimum value: 1
  3911. #reply_link_credit = 200
  3912.  
  3913. # Window size for incoming RPC Request messages (integer value)
  3914. # Minimum value: 1
  3915. #rpc_server_credit = 100
  3916.  
  3917. # Window size for incoming Notification messages (integer value)
  3918. # Minimum value: 1
  3919. #notify_server_credit = 100
  3920.  
  3921. # Send messages of this type pre-settled.
  3922. # Pre-settled messages will not receive acknowledgement
  3923. # from the peer. Note well: pre-settled messages may be
  3924. # silently discarded if the delivery fails.
  3925. # Permitted values:
  3926. # 'rpc-call' - send RPC Calls pre-settled
  3927. # 'rpc-reply'- send RPC Replies pre-settled
  3928. # 'rpc-cast' - Send RPC Casts pre-settled
  3929. # 'notify' - Send Notifications pre-settled
  3930. # (multi valued)
  3931. #pre_settled = rpc-cast
  3932. #pre_settled = rpc-reply
  3933.  
  3934.  
  3935. [oslo_messaging_kafka]
  3936.  
  3937. #
  3938. # From oslo.messaging
  3939. #
  3940.  
  3941. # DEPRECATED: Default Kafka broker Host (string value)
  3942. # This option is deprecated for removal.
  3943. # Its value may be silently ignored in the future.
  3944. # Reason: Replaced by [DEFAULT]/transport_url
  3945. #kafka_default_host = localhost
  3946.  
  3947. # DEPRECATED: Default Kafka broker Port (port value)
  3948. # Minimum value: 0
  3949. # Maximum value: 65535
  3950. # This option is deprecated for removal.
  3951. # Its value may be silently ignored in the future.
  3952. # Reason: Replaced by [DEFAULT]/transport_url
  3953. #kafka_default_port = 9092
  3954.  
  3955. # Max fetch bytes of Kafka consumer (integer value)
  3956. #kafka_max_fetch_bytes = 1048576
  3957.  
  3958. # Default timeout(s) for Kafka consumers (floating point value)
  3959. #kafka_consumer_timeout = 1.0
  3960.  
  3961. # DEPRECATED: Pool Size for Kafka Consumers (integer value)
  3962. # This option is deprecated for removal.
  3963. # Its value may be silently ignored in the future.
  3964. # Reason: Driver no longer uses connection pool.
  3965. #pool_size = 10
  3966.  
  3967. # DEPRECATED: The pool size limit for connections expiration policy (integer
  3968. # value)
  3969. # This option is deprecated for removal.
  3970. # Its value may be silently ignored in the future.
  3971. # Reason: Driver no longer uses connection pool.
  3972. #conn_pool_min_size = 2
  3973.  
  3974. # DEPRECATED: The time-to-live in sec of idle connections in the pool (integer
  3975. # value)
  3976. # This option is deprecated for removal.
  3977. # Its value may be silently ignored in the future.
  3978. # Reason: Driver no longer uses connection pool.
  3979. #conn_pool_ttl = 1200
  3980.  
  3981. # Group id for Kafka consumer. Consumers in one group will coordinate message
  3982. # consumption (string value)
  3983. #consumer_group = oslo_messaging_consumer
  3984.  
  3985. # Upper bound on the delay for KafkaProducer batching in seconds (floating point
  3986. # value)
  3987. #producer_batch_timeout = 0.0
  3988.  
  3989. # Size of batch for the producer async send (integer value)
  3990. #producer_batch_size = 16384
  3991.  
  3992.  
  3993. [oslo_messaging_notifications]
  3994.  
  3995. #
  3996. # From oslo.messaging
  3997. #
  3998.  
  3999. # The Drivers(s) to handle sending notifications. Possible values are messaging,
  4000. # messagingv2, routing, log, test, noop (multi valued)
  4001. # Deprecated group/name - [DEFAULT]/notification_driver
  4002. #driver =
  4003.  
  4004. # A URL representing the messaging driver to use for notifications. If not set,
  4005. # we fall back to the same configuration used for RPC. (string value)
  4006. # Deprecated group/name - [DEFAULT]/notification_transport_url
  4007. #transport_url = <None>
  4008.  
  4009. # AMQP topic used for OpenStack notifications. (list value)
  4010. # Deprecated group/name - [rpc_notifier2]/topics
  4011. # Deprecated group/name - [DEFAULT]/notification_topics
  4012. #topics = notifications
  4013.  
  4014. # The maximum number of attempts to re-send a notification message which failed
  4015. # to be delivered due to a recoverable error. 0 - No retry, -1 - indefinite
  4016. # (integer value)
  4017. #retry = -1
  4018.  
  4019.  
  4020. [oslo_messaging_rabbit]
  4021.  
  4022. #
  4023. # From oslo.messaging
  4024. #
  4025.  
  4026. # Use durable queues in AMQP. (boolean value)
  4027. # Deprecated group/name - [DEFAULT]/amqp_durable_queues
  4028. # Deprecated group/name - [DEFAULT]/rabbit_durable_queues
  4029. #amqp_durable_queues = false
  4030.  
  4031. # Auto-delete queues in AMQP. (boolean value)
  4032. #amqp_auto_delete = false
  4033.  
  4034. # Enable SSL (boolean value)
  4035. #ssl = <None>
  4036.  
  4037. # SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
  4038. # SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
  4039. # distributions. (string value)
  4040. # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_version
  4041. #ssl_version =
  4042.  
  4043. # SSL key file (valid only if SSL enabled). (string value)
  4044. # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_keyfile
  4045. #ssl_key_file =
  4046.  
  4047. # SSL cert file (valid only if SSL enabled). (string value)
  4048. # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_certfile
  4049. #ssl_cert_file =
  4050.  
  4051. # SSL certification authority file (valid only if SSL enabled). (string value)
  4052. # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_ca_certs
  4053. #ssl_ca_file =
  4054.  
  4055. # How long to wait before reconnecting in response to an AMQP consumer cancel
  4056. # notification. (floating point value)
  4057. #kombu_reconnect_delay = 1.0
  4058.  
  4059. # EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not
  4060. # be used. This option may not be available in future versions. (string value)
  4061. #kombu_compression = <None>
  4062.  
  4063. # How long to wait a missing client before abandoning to send it its replies.
  4064. # This value should not be longer than rpc_response_timeout. (integer value)
  4065. # Deprecated group/name - [oslo_messaging_rabbit]/kombu_reconnect_timeout
  4066. #kombu_missing_consumer_retry_timeout = 60
  4067.  
  4068. # Determines how the next RabbitMQ node is chosen in case the one we are
  4069. # currently connected to becomes unavailable. Takes effect only if more than one
  4070. # RabbitMQ node is provided in config. (string value)
  4071. # Possible values:
  4072. # round-robin - <No description provided>
  4073. # shuffle - <No description provided>
  4074. #kombu_failover_strategy = round-robin
  4075.  
  4076. # DEPRECATED: The RabbitMQ broker address where a single node is used. (string
  4077. # value)
  4078. # This option is deprecated for removal.
  4079. # Its value may be silently ignored in the future.
  4080. # Reason: Replaced by [DEFAULT]/transport_url
  4081. #rabbit_host = localhost
  4082.  
  4083. # DEPRECATED: The RabbitMQ broker port where a single node is used. (port value)
  4084. # Minimum value: 0
  4085. # Maximum value: 65535
  4086. # This option is deprecated for removal.
  4087. # Its value may be silently ignored in the future.
  4088. # Reason: Replaced by [DEFAULT]/transport_url
  4089. #rabbit_port = 5672
  4090.  
  4091. # DEPRECATED: RabbitMQ HA cluster host:port pairs. (list value)
  4092. # This option is deprecated for removal.
  4093. # Its value may be silently ignored in the future.
  4094. # Reason: Replaced by [DEFAULT]/transport_url
  4095. #rabbit_hosts = $rabbit_host:$rabbit_port
  4096.  
  4097. # DEPRECATED: The RabbitMQ userid. (string value)
  4098. # This option is deprecated for removal.
  4099. # Its value may be silently ignored in the future.
  4100. # Reason: Replaced by [DEFAULT]/transport_url
  4101. #rabbit_userid = guest
  4102.  
  4103. # DEPRECATED: The RabbitMQ password. (string value)
  4104. # This option is deprecated for removal.
  4105. # Its value may be silently ignored in the future.
  4106. # Reason: Replaced by [DEFAULT]/transport_url
  4107. #rabbit_password = guest
  4108.  
  4109. # The RabbitMQ login method. (string value)
  4110. # Possible values:
  4111. # PLAIN - <No description provided>
  4112. # AMQPLAIN - <No description provided>
  4113. # RABBIT-CR-DEMO - <No description provided>
  4114. #rabbit_login_method = AMQPLAIN
  4115.  
  4116. # DEPRECATED: The RabbitMQ virtual host. (string value)
  4117. # This option is deprecated for removal.
  4118. # Its value may be silently ignored in the future.
  4119. # Reason: Replaced by [DEFAULT]/transport_url
  4120. #rabbit_virtual_host = /
  4121.  
  4122. # How frequently to retry connecting with RabbitMQ. (integer value)
  4123. #rabbit_retry_interval = 1
  4124.  
  4125. # How long to backoff for between retries when connecting to RabbitMQ. (integer
  4126. # value)
  4127. #rabbit_retry_backoff = 2
  4128.  
  4129. # Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
  4130. # (integer value)
  4131. #rabbit_interval_max = 30
  4132.  
  4133. # DEPRECATED: Maximum number of RabbitMQ connection retries. Default is 0
  4134. # (infinite retry count). (integer value)
  4135. # This option is deprecated for removal.
  4136. # Its value may be silently ignored in the future.
  4137. #rabbit_max_retries = 0
  4138.  
  4139. # Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
  4140. # option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
  4141. # is no longer controlled by the x-ha-policy argument when declaring a queue. If
  4142. # you just want to make sure that all queues (except those with auto-generated
  4143. # names) are mirrored across all nodes, run: "rabbitmqctl set_policy HA
  4144. # '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
  4145. #rabbit_ha_queues = false
  4146.  
  4147. # Positive integer representing duration in seconds for queue TTL (x-expires).
  4148. # Queues which are unused for the duration of the TTL are automatically deleted.
  4149. # The parameter affects only reply and fanout queues. (integer value)
  4150. # Minimum value: 1
  4151. #rabbit_transient_queues_ttl = 1800
  4152.  
  4153. # Specifies the number of messages to prefetch. Setting to zero allows unlimited
  4154. # messages. (integer value)
  4155. #rabbit_qos_prefetch_count = 0
  4156.  
  4157. # Number of seconds after which the Rabbit broker is considered down if
  4158. # heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
  4159. # value)
  4160. #heartbeat_timeout_threshold = 60
  4161.  
  4162. # How often times during the heartbeat_timeout_threshold we check the heartbeat.
  4163. # (integer value)
  4164. #heartbeat_rate = 2
  4165.  
  4166. # Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
  4167. #fake_rabbit = false
  4168.  
  4169. # Maximum number of channels to allow (integer value)
  4170. #channel_max = <None>
  4171.  
  4172. # The maximum byte size for an AMQP frame (integer value)
  4173. #frame_max = <None>
  4174.  
  4175. # How often to send heartbeats for consumer's connections (integer value)
  4176. #heartbeat_interval = 3
  4177.  
  4178. # Arguments passed to ssl.wrap_socket (dict value)
  4179. #ssl_options = <None>
  4180.  
  4181. # Set socket timeout in seconds for connection's socket (floating point value)
  4182. #socket_timeout = 0.25
  4183.  
  4184. # Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point value)
  4185. #tcp_user_timeout = 0.25
  4186.  
  4187. # Set delay for reconnection to some host which has connection error (floating
  4188. # point value)
  4189. #host_connection_reconnect_delay = 0.25
  4190.  
  4191. # Connection factory implementation (string value)
  4192. # Possible values:
  4193. # new - <No description provided>
  4194. # single - <No description provided>
  4195. # read_write - <No description provided>
  4196. #connection_factory = single
  4197.  
  4198. # Maximum number of connections to keep queued. (integer value)
  4199. #pool_max_size = 30
  4200.  
  4201. # Maximum number of connections to create above `pool_max_size`. (integer value)
  4202. #pool_max_overflow = 0
  4203.  
  4204. # Default number of seconds to wait for a connections to available (integer
  4205. # value)
  4206. #pool_timeout = 30
  4207.  
  4208. # Lifetime of a connection (since creation) in seconds or None for no recycling.
  4209. # Expired connections are closed on acquire. (integer value)
  4210. #pool_recycle = 600
  4211.  
  4212. # Threshold at which inactive (since release) connections are considered stale
  4213. # in seconds or None for no staleness. Stale connections are closed on acquire.
  4214. # (integer value)
  4215. #pool_stale = 60
  4216.  
  4217. # Default serialization mechanism for serializing/deserializing
  4218. # outgoing/incoming messages (string value)
  4219. # Possible values:
  4220. # json - <No description provided>
  4221. # msgpack - <No description provided>
  4222. #default_serializer_type = json
  4223.  
  4224. # Persist notification messages. (boolean value)
  4225. #notification_persistence = false
  4226.  
  4227. # Exchange name for sending notifications (string value)
  4228. #default_notification_exchange = ${control_exchange}_notification
  4229.  
  4230. # Max number of not acknowledged message which RabbitMQ can send to notification
  4231. # listener. (integer value)
  4232. #notification_listener_prefetch_count = 100
  4233.  
  4234. # Reconnecting retry count in case of connectivity problem during sending
  4235. # notification, -1 means infinite retry. (integer value)
  4236. #default_notification_retry_attempts = -1
  4237.  
  4238. # Reconnecting retry delay in case of connectivity problem during sending
  4239. # notification message (floating point value)
  4240. #notification_retry_delay = 0.25
  4241.  
  4242. # Time to live for rpc queues without consumers in seconds. (integer value)
  4243. #rpc_queue_expiration = 60
  4244.  
  4245. # Exchange name for sending RPC messages (string value)
  4246. #default_rpc_exchange = ${control_exchange}_rpc
  4247.  
  4248. # Exchange name for receiving RPC replies (string value)
  4249. #rpc_reply_exchange = ${control_exchange}_rpc_reply
  4250.  
  4251. # Max number of not acknowledged message which RabbitMQ can send to rpc
  4252. # listener. (integer value)
  4253. #rpc_listener_prefetch_count = 100
  4254.  
  4255. # Max number of not acknowledged message which RabbitMQ can send to rpc reply
  4256. # listener. (integer value)
  4257. #rpc_reply_listener_prefetch_count = 100
  4258.  
  4259. # Reconnecting retry count in case of connectivity problem during sending reply.
  4260. # -1 means infinite retry during rpc_timeout (integer value)
  4261. #rpc_reply_retry_attempts = -1
  4262.  
  4263. # Reconnecting retry delay in case of connectivity problem during sending reply.
  4264. # (floating point value)
  4265. #rpc_reply_retry_delay = 0.25
  4266.  
  4267. # Reconnecting retry count in case of connectivity problem during sending RPC
  4268. # message, -1 means infinite retry. If actual retry attempts in not 0 the rpc
  4269. # request could be processed more than one time (integer value)
  4270. #default_rpc_retry_attempts = -1
  4271.  
  4272. # Reconnecting retry delay in case of connectivity problem during sending RPC
  4273. # message (floating point value)
  4274. #rpc_retry_delay = 0.25
  4275.  
  4276.  
  4277. [oslo_messaging_zmq]
  4278.  
  4279. #
  4280. # From oslo.messaging
  4281. #
  4282.  
  4283. # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
  4284. # The "host" option should point or resolve to this address. (string value)
  4285. #rpc_zmq_bind_address = *
  4286.  
  4287. # MatchMaker driver. (string value)
  4288. # Possible values:
  4289. # redis - <No description provided>
  4290. # sentinel - <No description provided>
  4291. # dummy - <No description provided>
  4292. #rpc_zmq_matchmaker = redis
  4293.  
  4294. # Number of ZeroMQ contexts, defaults to 1. (integer value)
  4295. #rpc_zmq_contexts = 1
  4296.  
  4297. # Maximum number of ingress messages to locally buffer per topic. Default is
  4298. # unlimited. (integer value)
  4299. #rpc_zmq_topic_backlog = <None>
  4300.  
  4301. # Directory for holding IPC sockets. (string value)
  4302. #rpc_zmq_ipc_dir = /var/run/openstack
  4303.  
  4304. # Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
  4305. # "host" option, if running Nova. (string value)
  4306. #rpc_zmq_host = localhost
  4307.  
  4308. # Number of seconds to wait before all pending messages will be sent after
  4309. # closing a socket. The default value of -1 specifies an infinite linger period.
  4310. # The value of 0 specifies no linger period. Pending messages shall be discarded
  4311. # immediately when the socket is closed. Positive values specify an upper bound
  4312. # for the linger period. (integer value)
  4313. # Deprecated group/name - [DEFAULT]/rpc_cast_timeout
  4314. #zmq_linger = -1
  4315.  
  4316. # The default number of seconds that poll should wait. Poll raises timeout
  4317. # exception when timeout expired. (integer value)
  4318. #rpc_poll_timeout = 1
  4319.  
  4320. # Expiration timeout in seconds of a name service record about existing target (
  4321. # < 0 means no timeout). (integer value)
  4322. #zmq_target_expire = 300
  4323.  
  4324. # Update period in seconds of a name service record about existing target.
  4325. # (integer value)
  4326. #zmq_target_update = 180
  4327.  
  4328. # Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
  4329. # value)
  4330. #use_pub_sub = false
  4331.  
  4332. # Use ROUTER remote proxy. (boolean value)
  4333. #use_router_proxy = false
  4334.  
  4335. # This option makes direct connections dynamic or static. It makes sense only
  4336. # with use_router_proxy=False which means to use direct connections for direct
  4337. # message types (ignored otherwise). (boolean value)
  4338. #use_dynamic_connections = false
  4339.  
  4340. # How many additional connections to a host will be made for failover reasons.
  4341. # This option is actual only in dynamic connections mode. (integer value)
  4342. #zmq_failover_connections = 2
  4343.  
  4344. # Minimal port number for random ports range. (port value)
  4345. # Minimum value: 0
  4346. # Maximum value: 65535
  4347. #rpc_zmq_min_port = 49153
  4348.  
  4349. # Maximal port number for random ports range. (integer value)
  4350. # Minimum value: 1
  4351. # Maximum value: 65536
  4352. #rpc_zmq_max_port = 65536
  4353.  
  4354. # Number of retries to find free port number before fail with ZMQBindError.
  4355. # (integer value)
  4356. #rpc_zmq_bind_port_retries = 100
  4357.  
  4358. # Default serialization mechanism for serializing/deserializing
  4359. # outgoing/incoming messages (string value)
  4360. # Possible values:
  4361. # json - <No description provided>
  4362. # msgpack - <No description provided>
  4363. #rpc_zmq_serialization = json
  4364.  
  4365. # This option configures round-robin mode in zmq socket. True means not keeping
  4366. # a queue when server side disconnects. False means to keep queue and messages
  4367. # even if server is disconnected, when the server appears we send all
  4368. # accumulated messages to it. (boolean value)
  4369. #zmq_immediate = true
  4370.  
  4371. # Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
  4372. # other negative value) means to skip any overrides and leave it to OS default;
  4373. # 0 and 1 (or any other positive value) mean to disable and enable the option
  4374. # respectively. (integer value)
  4375. #zmq_tcp_keepalive = -1
  4376.  
  4377. # The duration between two keepalive transmissions in idle condition. The unit
  4378. # is platform dependent, for example, seconds in Linux, milliseconds in Windows
  4379. # etc. The default value of -1 (or any other negative value and 0) means to skip
  4380. # any overrides and leave it to OS default. (integer value)
  4381. #zmq_tcp_keepalive_idle = -1
  4382.  
  4383. # The number of retransmissions to be carried out before declaring that remote
  4384. # end is not available. The default value of -1 (or any other negative value and
  4385. # 0) means to skip any overrides and leave it to OS default. (integer value)
  4386. #zmq_tcp_keepalive_cnt = -1
  4387.  
  4388. # The duration between two successive keepalive retransmissions, if
  4389. # acknowledgement to the previous keepalive transmission is not received. The
  4390. # unit is platform dependent, for example, seconds in Linux, milliseconds in
  4391. # Windows etc. The default value of -1 (or any other negative value and 0) means
  4392. # to skip any overrides and leave it to OS default. (integer value)
  4393. #zmq_tcp_keepalive_intvl = -1
  4394.  
  4395. # Maximum number of (green) threads to work concurrently. (integer value)
  4396. #rpc_thread_pool_size = 100
  4397.  
  4398. # Expiration timeout in seconds of a sent/received message after which it is not
  4399. # tracked anymore by a client/server. (integer value)
  4400. #rpc_message_ttl = 300
  4401.  
  4402. # Wait for message acknowledgements from receivers. This mechanism works only
  4403. # via proxy without PUB/SUB. (boolean value)
  4404. #rpc_use_acks = false
  4405.  
  4406. # Number of seconds to wait for an ack from a cast/call. After each retry
  4407. # attempt this timeout is multiplied by some specified multiplier. (integer
  4408. # value)
  4409. #rpc_ack_timeout_base = 15
  4410.  
  4411. # Number to multiply base ack timeout by after each retry attempt. (integer
  4412. # value)
  4413. #rpc_ack_timeout_multiplier = 2
  4414.  
  4415. # Default number of message sending attempts in case of any problems occurred:
  4416. # positive value N means at most N retries, 0 means no retries, None or -1 (or
  4417. # any other negative values) mean to retry forever. This option is used only if
  4418. # acknowledgments are enabled. (integer value)
  4419. #rpc_retry_attempts = 3
  4420.  
  4421. # List of publisher hosts SubConsumer can subscribe on. This option has higher
  4422. # priority then the default publishers list taken from the matchmaker. (list
  4423. # value)
  4424. #subscribe_on =
  4425.  
  4426.  
  4427. [oslo_middleware]
  4428.  
  4429. #
  4430. # From oslo.middleware.http_proxy_to_wsgi
  4431. #
  4432.  
  4433. # Whether the application is behind a proxy or not. This determines if the
  4434. # middleware should parse the headers or not. (boolean value)
  4435. #enable_proxy_headers_parsing = false
  4436.  
  4437.  
  4438. [oslo_policy]
  4439.  
  4440. #
  4441. # From oslo.policy
  4442. #
  4443.  
  4444. # This option controls whether or not to enforce scope when evaluating policies.
  4445. # If ``True``, the scope of the token used in the request is compared to the
  4446. # ``scope_types`` of the policy being enforced. If the scopes do not match, an
  4447. # ``InvalidScope`` exception will be raised. If ``False``, a message will be
  4448. # logged informing operators that policies are being invoked with mismatching
  4449. # scope. (boolean value)
  4450. #enforce_scope = false
  4451.  
  4452. # The file that defines policies. (string value)
  4453. #policy_file = policy.json
  4454.  
  4455. # Default rule. Enforced when a requested rule is not found. (string value)
  4456. #policy_default_rule = default
  4457.  
  4458. # Directories where policy configuration files are stored. They can be relative
  4459. # to any directory in the search path defined by the config_dir option, or
  4460. # absolute paths. The file defined by policy_file must exist for these
  4461. # directories to be searched. Missing or empty directories are ignored. (multi
  4462. # valued)
  4463. #policy_dirs = policy.d
  4464.  
  4465. # Content Type to send and receive data for REST based policy check (string
  4466. # value)
  4467. # Possible values:
  4468. # application/x-www-form-urlencoded - <No description provided>
  4469. # application/json - <No description provided>
  4470. #remote_content_type = application/x-www-form-urlencoded
  4471.  
  4472. # server identity verification for REST based policy check (boolean value)
  4473. #remote_ssl_verify_server_crt = false
  4474.  
  4475. # Absolute path to ca cert file for REST based policy check (string value)
  4476. #remote_ssl_ca_crt_file = <None>
  4477.  
  4478. # Absolute path to client cert for REST based policy check (string value)
  4479. #remote_ssl_client_crt_file = <None>
  4480.  
  4481. # Absolute path client key file REST based policy check (string value)
  4482. #remote_ssl_client_key_file = <None>
  4483.  
  4484.  
  4485. [paste_deploy]
  4486.  
  4487. #
  4488. # From glance.api
  4489. #
  4490.  
  4491. #
  4492. # Deployment flavor to use in the server application pipeline.
  4493. #
  4494. # Provide a string value representing the appropriate deployment
  4495. # flavor used in the server application pipleline. This is typically
  4496. # the partial name of a pipeline in the paste configuration file with
  4497. # the service name removed.
  4498. #
  4499. # For example, if your paste section name in the paste configuration
  4500. # file is [pipeline:glance-api-keystone], set ``flavor`` to
  4501. # ``keystone``.
  4502. #
  4503. # Possible values:
  4504. # * String value representing a partial pipeline name.
  4505. #
  4506. # Related Options:
  4507. # * config_file
  4508. #
  4509. # (string value)
  4510. flavor = keystone
  4511.  
  4512. #
  4513. # Name of the paste configuration file.
  4514. #
  4515. # Provide a string value representing the name of the paste
  4516. # configuration file to use for configuring piplelines for
  4517. # server application deployments.
  4518. #
  4519. # NOTES:
  4520. # * Provide the name or the path relative to the glance directory
  4521. # for the paste configuration file and not the absolute path.
  4522. # * The sample paste configuration file shipped with Glance need
  4523. # not be edited in most cases as it comes with ready-made
  4524. # pipelines for all common deployment flavors.
  4525. #
  4526. # If no value is specified for this option, the ``paste.ini`` file
  4527. # with the prefix of the corresponding Glance service's configuration
  4528. # file name will be searched for in the known configuration
  4529. # directories. (For example, if this option is missing from or has no
  4530. # value set in ``glance-api.conf``, the service will look for a file
  4531. # named ``glance-api-paste.ini``.) If the paste configuration file is
  4532. # not found, the service will not start.
  4533. #
  4534. # Possible values:
  4535. # * A string value representing the name of the paste configuration
  4536. # file.
  4537. #
  4538. # Related Options:
  4539. # * flavor
  4540. #
  4541. # (string value)
  4542. #config_file = glance-api-paste.ini
  4543.  
  4544.  
  4545. [profiler]
  4546.  
  4547. #
  4548. # From glance.api
  4549. #
  4550.  
  4551. #
  4552. # Enables the profiling for all services on this node. Default value is False
  4553. # (fully disable the profiling feature).
  4554. #
  4555. # Possible values:
  4556. #
  4557. # * True: Enables the feature
  4558. # * False: Disables the feature. The profiling cannot be started via this
  4559. # project
  4560. # operations. If the profiling is triggered by another project, this project
  4561. # part
  4562. # will be empty.
  4563. # (boolean value)
  4564. # Deprecated group/name - [profiler]/profiler_enabled
  4565. #enabled = false
  4566.  
  4567. #
  4568. # Enables SQL requests profiling in services. Default value is False (SQL
  4569. # requests won't be traced).
  4570. #
  4571. # Possible values:
  4572. #
  4573. # * True: Enables SQL requests profiling. Each SQL query will be part of the
  4574. # trace and can the be analyzed by how much time was spent for that.
  4575. # * False: Disables SQL requests profiling. The spent time is only shown on a
  4576. # higher level of operations. Single SQL queries cannot be analyzed this
  4577. # way.
  4578. # (boolean value)
  4579. #trace_sqlalchemy = false
  4580.  
  4581. #
  4582. # Secret key(s) to use for encrypting context data for performance profiling.
  4583. # This string value should have the following format: <key1>[,<key2>,...<keyn>],
  4584. # where each key is some random string. A user who triggers the profiling via
  4585. # the REST API has to set one of these keys in the headers of the REST API call
  4586. # to include profiling results of this node for this particular project.
  4587. #
  4588. # Both "enabled" flag and "hmac_keys" config options should be set to enable
  4589. # profiling. Also, to generate correct profiling information across all services
  4590. # at least one key needs to be consistent between OpenStack projects. This
  4591. # ensures it can be used from client side to generate the trace, containing
  4592. # information from all possible resources. (string value)
  4593. #hmac_keys = SECRET_KEY
  4594.  
  4595. #
  4596. # Connection string for a notifier backend. Default value is messaging:// which
  4597. # sets the notifier to oslo_messaging.
  4598. #
  4599. # Examples of possible values:
  4600. #
  4601. # * messaging://: use oslo_messaging driver for sending notifications.
  4602. # * mongodb://127.0.0.1:27017 : use mongodb driver for sending notifications.
  4603. # * elasticsearch://127.0.0.1:9200 : use elasticsearch driver for sending
  4604. # notifications.
  4605. # (string value)
  4606. #connection_string = messaging://
  4607.  
  4608. #
  4609. # Document type for notification indexing in elasticsearch.
  4610. # (string value)
  4611. #es_doc_type = notification
  4612.  
  4613. #
  4614. # This parameter is a time value parameter (for example: es_scroll_time=2m),
  4615. # indicating for how long the nodes that participate in the search will maintain
  4616. # relevant resources in order to continue and support it.
  4617. # (string value)
  4618. #es_scroll_time = 2m
  4619.  
  4620. #
  4621. # Elasticsearch splits large requests in batches. This parameter defines
  4622. # maximum size of each batch (for example: es_scroll_size=10000).
  4623. # (integer value)
  4624. #es_scroll_size = 10000
  4625.  
  4626. #
  4627. # Redissentinel provides a timeout option on the connections.
  4628. # This parameter defines that timeout (for example: socket_timeout=0.1).
  4629. # (floating point value)
  4630. #socket_timeout = 0.1
  4631.  
  4632. #
  4633. # Redissentinel uses a service name to identify a master redis service.
  4634. # This parameter defines the name (for example:
  4635. # sentinal_service_name=mymaster).
  4636. # (string value)
  4637. #sentinel_service_name = mymaster
  4638.  
  4639.  
  4640. [store_type_location_strategy]
  4641.  
  4642. #
  4643. # From glance.api
  4644. #
  4645.  
  4646. #
  4647. # Preference order of storage backends.
  4648. #
  4649. # Provide a comma separated list of store names in the order in
  4650. # which images should be retrieved from storage backends.
  4651. # These store names must be registered with the ``stores``
  4652. # configuration option.
  4653. #
  4654. # NOTE: The ``store_type_preference`` configuration option is applied
  4655. # only if ``store_type`` is chosen as a value for the
  4656. # ``location_strategy`` configuration option. An empty list will not
  4657. # change the location order.
  4658. #
  4659. # Possible values:
  4660. # * Empty list
  4661. # * Comma separated list of registered store names. Legal values are:
  4662. # * file
  4663. # * http
  4664. # * rbd
  4665. # * swift
  4666. # * sheepdog
  4667. # * cinder
  4668. # * vmware
  4669. #
  4670. # Related options:
  4671. # * location_strategy
  4672. # * stores
  4673. #
  4674. # (list value)
  4675. #store_type_preference =
  4676.  
  4677.  
  4678. [task]
  4679.  
  4680. #
  4681. # From glance.api
  4682. #
  4683.  
  4684. # Time in hours for which a task lives after, either succeeding or failing
  4685. # (integer value)
  4686. # Deprecated group/name - [DEFAULT]/task_time_to_live
  4687. #task_time_to_live = 48
  4688.  
  4689. #
  4690. # Task executor to be used to run task scripts.
  4691. #
  4692. # Provide a string value representing the executor to use for task
  4693. # executions. By default, ``TaskFlow`` executor is used.
  4694. #
  4695. # ``TaskFlow`` helps make task executions easy, consistent, scalable
  4696. # and reliable. It also enables creation of lightweight task objects
  4697. # and/or functions that are combined together into flows in a
  4698. # declarative manner.
  4699. #
  4700. # Possible values:
  4701. # * taskflow
  4702. #
  4703. # Related Options:
  4704. # * None
  4705. #
  4706. # (string value)
  4707. #task_executor = taskflow
  4708.  
  4709. #
  4710. # Absolute path to the work directory to use for asynchronous
  4711. # task operations.
  4712. #
  4713. # The directory set here will be used to operate over images -
  4714. # normally before they are imported in the destination store.
  4715. #
  4716. # NOTE: When providing a value for ``work_dir``, please make sure
  4717. # that enough space is provided for concurrent tasks to run
  4718. # efficiently without running out of space.
  4719. #
  4720. # A rough estimation can be done by multiplying the number of
  4721. # ``max_workers`` with an average image size (e.g 500MB). The image
  4722. # size estimation should be done based on the average size in your
  4723. # deployment. Note that depending on the tasks running you may need
  4724. # to multiply this number by some factor depending on what the task
  4725. # does. For example, you may want to double the available size if
  4726. # image conversion is enabled. All this being said, remember these
  4727. # are just estimations and you should do them based on the worst
  4728. # case scenario and be prepared to act in case they were wrong.
  4729. #
  4730. # Possible values:
  4731. # * String value representing the absolute path to the working
  4732. # directory
  4733. #
  4734. # Related Options:
  4735. # * None
  4736. #
  4737. # (string value)
  4738. #work_dir = /work_dir
  4739.  
  4740.  
  4741. [taskflow_executor]
  4742.  
  4743. #
  4744. # From glance.api
  4745. #
  4746.  
  4747. #
  4748. # Set the taskflow engine mode.
  4749. #
  4750. # Provide a string type value to set the mode in which the taskflow
  4751. # engine would schedule tasks to the workers on the hosts. Based on
  4752. # this mode, the engine executes tasks either in single or multiple
  4753. # threads. The possible values for this configuration option are:
  4754. # ``serial`` and ``parallel``. When set to ``serial``, the engine runs
  4755. # all the tasks in a single thread which results in serial execution
  4756. # of tasks. Setting this to ``parallel`` makes the engine run tasks in
  4757. # multiple threads. This results in parallel execution of tasks.
  4758. #
  4759. # Possible values:
  4760. # * serial
  4761. # * parallel
  4762. #
  4763. # Related options:
  4764. # * max_workers
  4765. #
  4766. # (string value)
  4767. # Possible values:
  4768. # serial - <No description provided>
  4769. # parallel - <No description provided>
  4770. #engine_mode = parallel
  4771.  
  4772. #
  4773. # Set the number of engine executable tasks.
  4774. #
  4775. # Provide an integer value to limit the number of workers that can be
  4776. # instantiated on the hosts. In other words, this number defines the
  4777. # number of parallel tasks that can be executed at the same time by
  4778. # the taskflow engine. This value can be greater than one when the
  4779. # engine mode is set to parallel.
  4780. #
  4781. # Possible values:
  4782. # * Integer value greater than or equal to 1
  4783. #
  4784. # Related options:
  4785. # * engine_mode
  4786. #
  4787. # (integer value)
  4788. # Minimum value: 1
  4789. # Deprecated group/name - [task]/eventlet_executor_pool_size
  4790. #max_workers = 10
  4791.  
  4792. #
  4793. # Set the desired image conversion format.
  4794. #
  4795. # Provide a valid image format to which you want images to be
  4796. # converted before they are stored for consumption by Glance.
  4797. # Appropriate image format conversions are desirable for specific
  4798. # storage backends in order to facilitate efficient handling of
  4799. # bandwidth and usage of the storage infrastructure.
  4800. #
  4801. # By default, ``conversion_format`` is not set and must be set
  4802. # explicitly in the configuration file.
  4803. #
  4804. # The allowed values for this option are ``raw``, ``qcow2`` and
  4805. # ``vmdk``. The ``raw`` format is the unstructured disk format and
  4806. # should be chosen when RBD or Ceph storage backends are used for
  4807. # image storage. ``qcow2`` is supported by the QEMU emulator that
  4808. # expands dynamically and supports Copy on Write. The ``vmdk`` is
  4809. # another common disk format supported by many common virtual machine
  4810. # monitors like VMWare Workstation.
  4811. #
  4812. # Possible values:
  4813. # * qcow2
  4814. # * raw
  4815. # * vmdk
  4816. #
  4817. # Related options:
  4818. # * disk_formats
  4819. #
  4820. # (string value)
  4821. # Possible values:
  4822. # qcow2 - <No description provided>
  4823. # raw - <No description provided>
  4824. # vmdk - <No description provided>
  4825. #conversion_format = raw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement