Advertisement
Guest User

Untitled

a guest
Jul 16th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.19 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. #verbose=True
  4. verbose=True
  5.  
  6. # Show debugging output in logs (sets DEBUG log level output)
  7. #debug=False
  8. debug=False
  9.  
  10. # Maximum image size (in bytes) that may be uploaded through the
  11. # Glance API server. Defaults to 1 TB.
  12. # WARNING: this value should only be increased after careful consideration
  13. # and must be set to a value under 8 EB (9223372036854775808).
  14. #image_size_cap=1099511627776
  15.  
  16. # Address to bind the API server
  17. #bind_host=0.0.0.0
  18. bind_host=0.0.0.0
  19.  
  20. # Port the bind the API server to
  21. #bind_port=9292
  22. bind_port=9292
  23.  
  24. # Log to this file. Make sure you do not set the same log file for both the API
  25. # and registry servers!
  26. #
  27. # If `log_file` is omitted and `use_syslog` is false, then log messages are
  28. # sent to stdout as a fallback.
  29. #log_file=/var/log/glance/api.log
  30. log_file=/var/log/glance/api.log
  31.  
  32. # Backlog requests when creating socket
  33. #backlog=4096
  34. backlog=4096
  35.  
  36. # TCP_KEEPIDLE value in seconds when creating socket.
  37. # Not supported on OS X.
  38. #tcp_keepidle=600
  39.  
  40. # API to use for accessing data. Default value points to sqlalchemy
  41. # package, it is also possible to use: glance.db.registry.api
  42. # data_api = glance.db.sqlalchemy.api
  43.  
  44. # The number of child process workers that will be
  45. # created to service API requests. The default will be
  46. # equal to the number of CPUs available. (integer value)
  47. #workers=4
  48. workers=32
  49.  
  50. # Maximum line size of message headers to be accepted.
  51. # max_header_line may need to be increased when using large tokens
  52. # (typically those generated by the Keystone v3 API with big service
  53. # catalogs)
  54. # max_header_line = 16384
  55.  
  56. # Role used to identify an authenticated user as administrator
  57. #admin_role=admin
  58.  
  59. # Allow unauthenticated users to access the API with read-only
  60. # privileges. This only applies when using ContextMiddleware.
  61. #allow_anonymous_access=False
  62.  
  63. # Allow access to version 1 of glance api
  64. #enable_v1_api=True
  65.  
  66. # Allow access to version 2 of glance api
  67. #enable_v2_api=True
  68.  
  69. # Return the URL that references where the data is stored on
  70. # the backend storage system. For example, if using the
  71. # file system store a URL of 'file:///path/to/image' will
  72. # be returned to the user in the 'direct_url' meta-data field.
  73. # The default value is false.
  74. #show_image_direct_url=False
  75. show_image_direct_url=False
  76.  
  77. # Send headers containing user and tenant information when making requests to
  78. # the v1 glance registry. This allows the registry to function as if a user is
  79. # authenticated without the need to authenticate a user itself using the
  80. # auth_token middleware.
  81. # The default value is false.
  82. #send_identity_headers=False
  83.  
  84. # Supported values for the 'container_format' image attribute
  85. #container_formats=ami,ari,aki,bare,ovf,ova
  86.  
  87. # Supported values for the 'disk_format' image attribute
  88. #disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso
  89.  
  90. # Property Protections config file
  91. # This file contains the rules for property protections and the roles/policies
  92. # associated with it.
  93. # If this config value is not specified, by default, property protections
  94. # won't be enforced.
  95. # If a value is specified and the file is not found, then the glance-api
  96. # service will not start.
  97. #property_protection_file =
  98.  
  99. # Specify whether 'roles' or 'policies' are used in the
  100. # property_protection_file.
  101. # The default value for property_protection_rule_format is 'roles'.
  102. #property_protection_rule_format=roles
  103.  
  104. # This value sets what strategy will be used to determine the image location
  105. # order. Currently two strategies are packaged with Glance 'location_order'
  106. # and 'store_type'.
  107. #location_strategy=location_order
  108.  
  109.  
  110. # Public url to use for versions endpoint. The default is None,
  111. # which will use the request's host_url attribute to populate the URL base.
  112. # If Glance is operating behind a proxy, you will want to change this to
  113. # represent the proxy's URL.
  114. #public_endpoint=<None>
  115.  
  116. # http_keepalive option. If False, server will return the header
  117. # "Connection: close", If True, server will return "Connection: Keep-Alive"
  118. # in its responses. In order to close the client socket connection
  119. # explicitly after the response is sent and read successfully by the client,
  120. # you simply have to set this option to False when you create a wsgi server.
  121. #http_keepalive=True
  122.  
  123. # ================= Syslog Options ============================
  124.  
  125. # Send logs to syslog (/dev/log) instead of to file specified
  126. # by `log_file`
  127. #use_syslog=False
  128. use_syslog=False
  129.  
  130. # Facility to use. If unset defaults to LOG_USER.
  131. #syslog_log_facility=LOG_LOCAL0
  132.  
  133. # ================= SSL Options ===============================
  134.  
  135. # Certificate file to use when starting API server securely
  136. #cert_file=/path/to/certfile
  137.  
  138. # Private key file to use when starting API server securely
  139. #key_file=/path/to/keyfile
  140.  
  141. # CA certificate file to use to verify connecting clients
  142. #ca_file=/path/to/cafile
  143.  
  144. # ================= Security Options ==========================
  145.  
  146. # AES key for encrypting store 'location' metadata, including
  147. # -- if used -- Swift or S3 credentials
  148. # Should be set to a random string of length 16, 24 or 32 bytes
  149. #metadata_encryption_key=<16, 24 or 32 char registry metadata key>
  150.  
  151.  
  152. # Digest algorithm which will be used for digital signature, the default is
  153. # sha1 in Kilo for a smooth upgrade process, and it will be updated with
  154. # sha256 in next release(L). Use command
  155. # "openssl list-message-digest-algorithms" to get the available algorithms
  156. # supported by the version of OpenSSL on the platform. Examples are 'sha1',
  157. # 'sha256', 'sha512', etc.
  158. #digest_algorithm=sha1
  159.  
  160. # ============ Registry Options ===============================
  161.  
  162. # Address to find the registry server
  163. #registry_host=0.0.0.0
  164. registry_host=0.0.0.0
  165.  
  166. # Port the registry server is listening on
  167. #registry_port=9191
  168. registry_port=9191
  169.  
  170. # What protocol to use when connecting to the registry server?
  171. # Set to https for secure HTTP communication
  172. #registry_client_protocol=http
  173. registry_client_protocol=http
  174.  
  175. # The path to the key file to use in SSL connections to the
  176. # registry server, if any. Alternately, you may set the
  177. # GLANCE_CLIENT_KEY_FILE environ variable to a filepath of the key file
  178. #registry_client_key_file=/path/to/key/file
  179.  
  180. # The path to the cert file to use in SSL connections to the
  181. # registry server, if any. Alternately, you may set the
  182. # GLANCE_CLIENT_CERT_FILE environ variable to a filepath of the cert file
  183. #registry_client_cert_file=/path/to/cert/file
  184.  
  185. # The path to the certifying authority cert file to use in SSL connections
  186. # to the registry server, if any. Alternately, you may set the
  187. # GLANCE_CLIENT_CA_FILE environ variable to a filepath of the CA cert file
  188. #registry_client_ca_file=/path/to/ca/file
  189.  
  190. # When using SSL in connections to the registry server, do not require
  191. # validation via a certifying authority. This is the registry's equivalent of
  192. # specifying --insecure on the command line using glanceclient for the API
  193. # Default: False
  194. #registry_client_insecure=False
  195.  
  196. # The period of time, in seconds, that the API server will wait for a registry
  197. # request to complete. A value of '0' implies no timeout.
  198. # Default: 600
  199. #registry_client_timeout=600
  200.  
  201. # Enable DEBUG log messages from sqlalchemy which prints every database
  202. # query and response.
  203. # Default: False
  204. #sqlalchemy_debug=True
  205.  
  206. # Pass the user's token through for API requests to the registry.
  207. # Default: True
  208. #use_user_token=True
  209.  
  210. # If 'use_user_token' is not in effect then admin credentials
  211. # can be specified. Requests to the registry on behalf of
  212. # the API will use these credentials.
  213. # Admin user name
  214. #admin_user=%SERVICE_USER%
  215. # Admin password
  216. #admin_password=%SERVICE_PASSWORD%
  217. # Admin tenant name
  218. #admin_tenant_name=%SERVICE_TENANT_NAME%
  219. # Keystone endpoint
  220. #auth_url=None
  221. # Keystone region
  222. #auth_region=None
  223. # Auth strategy
  224. #auth_strategy=keystone
  225.  
  226. # ============ Notification System Options =====================
  227.  
  228. # Driver or drivers to handle sending notifications. Set to
  229. # 'messaging' to send notifications to a message queue.
  230. # notification_driver = noop
  231. notification_driver = messaging
  232.  
  233. # Default publisher_id for outgoing notifications.
  234. # default_publisher_id = image.localhost
  235.  
  236. # List of disabled notifications. A notification can be given either as a
  237. # notification type to disable a single event, or as a notification group
  238. # prefix to disable all events within a group.
  239. # Example: if this config option is set to
  240. # ["image.create", "metadef_namespace"], then "image.create" notification will
  241. # not be sent after image is created and none of the notifications for
  242. # metadefinition namespaces will be sent.
  243. # disabled_notifications = []
  244.  
  245. # Messaging driver used for 'messaging' notifications driver
  246. # rpc_backend = 'rabbit'
  247.  
  248. # Configuration options if sending notifications via rabbitmq (these are
  249. # the defaults)
  250. #rabbit_host=localhost
  251. rabbit_host=192.168.75.47
  252. #rabbit_port=5672
  253. rabbit_port=5672
  254. #rabbit_use_ssl=false
  255. rabbit_use_ssl=False
  256. #rabbit_userid=guest
  257. rabbit_userid=guest
  258. #rabbit_password=guest
  259. rabbit_password=guest
  260. #rabbit_virtual_host=/
  261. rabbit_virtual_host=/
  262. #rabbit_notification_exchange=glance
  263. rabbit_notification_exchange=glance
  264. #rabbit_notification_topic=notifications
  265. rabbit_notification_topic=notifications
  266. #rabbit_durable_queues=False
  267.  
  268. # Configuration options if sending notifications via Qpid (these are
  269. # the defaults)
  270. #qpid_notification_exchange=glance
  271. #qpid_notification_topic=notifications
  272. #qpid_hostname=localhost
  273. #qpid_port=5672
  274. #qpid_username=
  275. #qpid_password=
  276. #qpid_sasl_mechanisms=
  277. #qpid_reconnect_timeout=0
  278. #qpid_reconnect_limit=0
  279. #qpid_reconnect_interval_min=0
  280. #qpid_reconnect_interval_max=0
  281. #qpid_reconnect_interval=0
  282. #qpid_heartbeat=5
  283. # Set to 'ssl' to enable SSL
  284. #qpid_protocol=tcp
  285. #qpid_tcp_nodelay=True
  286.  
  287. # ============ Delayed Delete Options =============================
  288.  
  289. # Turn on/off delayed delete
  290. #delayed_delete=False
  291.  
  292. # Delayed delete time in seconds
  293. #scrub_time=43200
  294.  
  295. # Directory that the scrubber will use to remind itself of what to delete
  296. # Make sure this is also set in glance-scrubber.conf
  297. #scrubber_datadir=/var/lib/glance/scrubber
  298.  
  299. # =============== Quota Options ==================================
  300.  
  301. # The maximum number of image members allowed per image
  302. #image_member_quota=128
  303.  
  304. # The maximum number of image properties allowed per image
  305. #image_property_quota=128
  306.  
  307. # The maximum number of tags allowed per image
  308. #image_tag_quota=128
  309.  
  310. # The maximum number of locations allowed per image
  311. #image_location_quota=10
  312.  
  313. # Set a system wide quota for every user. This value is the total number
  314. # of bytes that a user can use across all storage systems. A value of
  315. # 0 means unlimited.
  316. #user_storage_quota=0
  317.  
  318. # =============== Image Cache Options =============================
  319.  
  320. # Base directory that the Image Cache uses
  321. #image_cache_dir=/var/lib/glance/image-cache/
  322. image_cache_dir=/var/lib/glance/image-cache
  323.  
  324. # =============== Policy Options ==================================
  325. rabbit_ha_queues=False
  326. rabbit_hosts=192.168.75.47:5672
  327. amqp_durable_queues=False
  328. log_dir=/var/log/glance
  329. os_region_name=RegionOne
  330.  
  331. [oslo_policy]
  332. # The JSON file that defines policies.
  333. # Deprecated group/name - [DEFAULT]/policy_file
  334. #policy_file=policy.json
  335.  
  336. # Default rule. Enforced when a requested rule is not found.
  337. # Deprecated group/name - [DEFAULT]/policy_default_rule
  338. #policy_default_rule=default
  339.  
  340. # Directories where policy configuration files are stored.
  341. # They can be relative to any directory in the search path
  342. # defined by the config_dir option, or absolute paths.
  343. # The file defined by policy_file must exist for these
  344. # directories to be searched.
  345. # Deprecated group/name - [DEFAULT]/policy_dirs
  346. #policy_dirs=policy.d
  347.  
  348. # =============== Database Options =================================
  349.  
  350. [database]
  351. # The file name to use with SQLite (string value)
  352. #sqlite_db=oslo.sqlite
  353.  
  354. # If True, SQLite uses synchronous mode (boolean value)
  355. #sqlite_synchronous=True
  356.  
  357. # The backend to use for db (string value)
  358. # Deprecated group/name - [DEFAULT]/db_backend
  359. #backend=sqlalchemy
  360.  
  361. # The SQLAlchemy connection string used to connect to the
  362. # database (string value)
  363. # Deprecated group/name - [DEFAULT]/sql_connection
  364. # Deprecated group/name - [DATABASE]/sql_connection
  365. # Deprecated group/name - [sql]/connection
  366. #connection=mysql://glance:glance@localhost/glance
  367. connection=mysql://glance:dc105ef53b964274@192.168.75.47/glance
  368.  
  369. # The SQL mode to be used for MySQL sessions. This option,
  370. # including the default, overrides any server-set SQL mode. To
  371. # use whatever SQL mode is set by the server configuration,
  372. # set this to no value. Example: mysql_sql_mode= (string
  373. # value)
  374. #mysql_sql_mode=TRADITIONAL
  375.  
  376. # Timeout before idle sql connections are reaped (integer
  377. # value)
  378. # Deprecated group/name - [DEFAULT]/sql_idle_timeout
  379. # Deprecated group/name - [DATABASE]/sql_idle_timeout
  380. # Deprecated group/name - [sql]/idle_timeout
  381. #idle_timeout=3600
  382. idle_timeout=3600
  383.  
  384. # Minimum number of SQL connections to keep open in a pool
  385. # (integer value)
  386. # Deprecated group/name - [DEFAULT]/sql_min_pool_size
  387. # Deprecated group/name - [DATABASE]/sql_min_pool_size
  388. #min_pool_size=1
  389.  
  390. # Maximum number of SQL connections to keep open in a pool
  391. # (integer value)
  392. # Deprecated group/name - [DEFAULT]/sql_max_pool_size
  393. # Deprecated group/name - [DATABASE]/sql_max_pool_size
  394. #max_pool_size=<None>
  395.  
  396. # Maximum db connection retries during startup. (setting -1
  397. # implies an infinite retry count) (integer value)
  398. # Deprecated group/name - [DEFAULT]/sql_max_retries
  399. # Deprecated group/name - [DATABASE]/sql_max_retries
  400. #max_retries=10
  401.  
  402. # Interval between retries of opening a sql connection
  403. # (integer value)
  404. # Deprecated group/name - [DEFAULT]/sql_retry_interval
  405. # Deprecated group/name - [DATABASE]/reconnect_interval
  406. #retry_interval=10
  407.  
  408. # If set, use this value for max_overflow with sqlalchemy
  409. # (integer value)
  410. # Deprecated group/name - [DEFAULT]/sql_max_overflow
  411. # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
  412. #max_overflow=<None>
  413.  
  414. # Verbosity of SQL debugging information. 0=None,
  415. # 100=Everything (integer value)
  416. # Deprecated group/name - [DEFAULT]/sql_connection_debug
  417. #connection_debug=0
  418.  
  419. # Add python stack traces to SQL as comment strings (boolean
  420. # value)
  421. # Deprecated group/name - [DEFAULT]/sql_connection_trace
  422. #connection_trace=False
  423.  
  424. # If set, use this value for pool_timeout with sqlalchemy
  425. # (integer value)
  426. # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
  427. #pool_timeout=<None>
  428.  
  429. # Enable the experimental use of database reconnect on
  430. # connection lost (boolean value)
  431. #use_db_reconnect=False
  432.  
  433. # seconds between db connection retries (integer value)
  434. #db_retry_interval=1
  435.  
  436. # Whether to increase interval between db connection retries,
  437. # up to db_max_retry_interval (boolean value)
  438. #db_inc_retry_interval=True
  439.  
  440. # max seconds between db connection retries, if
  441. # db_inc_retry_interval is enabled (integer value)
  442. #db_max_retry_interval=10
  443.  
  444. # maximum db connection retries before error is raised.
  445. # (setting -1 implies an infinite retry count) (integer value)
  446. #db_max_retries=20
  447.  
  448. [oslo_concurrency]
  449.  
  450. # Enables or disables inter-process locks. (boolean value)
  451. # Deprecated group/name - [DEFAULT]/disable_process_locking
  452. #disable_process_locking=false
  453.  
  454. # Directory to use for lock files. For security, the specified
  455. # directory should only be writable by the user running the processes
  456. # that need locking. It could be read from environment variable
  457. # OSLO_LOCK_PATH. This setting needs to be the same for both
  458. # glance-scrubber and glance-api service. Default to a temp directory.
  459. # Deprecated group/name - [DEFAULT]/lock_path (string value)
  460. #lock_path=/tmp
  461.  
  462. [keystone_authtoken]
  463. #identity_uri=http://127.0.0.1:35357
  464. identity_uri=http://192.168.75.47:35357
  465. #admin_tenant_name=%SERVICE_TENANT_NAME%
  466. admin_tenant_name=services
  467. #admin_user=%SERVICE_USER%
  468. admin_user=glance
  469. #admin_password=%SERVICE_PASSWORD%
  470. admin_password=7c73af61eaca4949
  471. #revocation_cache_time=10
  472. auth_uri=http://192.168.75.47:5000/
  473.  
  474. [paste_deploy]
  475. # Name of the paste configuration file that defines the available pipelines
  476. #config_file=/usr/share/glance/glance-api-dist-paste.ini
  477.  
  478. # Partial name of a pipeline in your paste configuration file with the
  479. # service name removed. For example, if your paste section name is
  480. # [pipeline:glance-api-keystone], you would configure the flavor below
  481. # as 'keystone'.
  482. #flavor=
  483. flavor=keystone
  484.  
  485. [store_type_location_strategy]
  486. # The scheme list to use to get store preference order. The scheme must be
  487. # registered by one of the stores defined by the 'stores' config option.
  488. # This option will be applied when you using 'store_type' option as image
  489. # location strategy defined by the 'location_strategy' config option.
  490. #store_type_preference =
  491.  
  492. [profiler]
  493. # If False fully disable profiling feature.
  494. #enabled=False
  495.  
  496. # If False doesn't trace SQL requests.
  497. #trace_sqlalchemy=False
  498.  
  499. [task]
  500. # ================= Glance Tasks Options ============================
  501.  
  502. # Specifies how long (in hours) a task is supposed to live in the tasks DB
  503. # after succeeding or failing before getting soft-deleted.
  504. # The default value for task_time_to_live is 48 hours.
  505. # task_time_to_live = 48
  506.  
  507. # Specifies which task executor to be used to run the task scripts.
  508. # The default value for task_executor is taskflow.
  509. # task_executor = taskflow
  510.  
  511. # Work dir for asynchronous task operations. The directory set here
  512. # will be used to operate over images - normally before they are
  513. # imported in the destination store. When providing work dir, make sure
  514. # enough space is provided for concurrent tasks to run efficiently
  515. # without running out of space. A rough estimation can be done by
  516. # multiplying the number of `max_workers` - or the N of workers running
  517. # - by an average image size (e.g 500MB). The image size estimation
  518. # should be done based on the average size in your deployment. Note that
  519. # depending on the tasks running you may need to multiply this number by
  520. # some factor depending on what the task does. For example, you may want
  521. # to double the available size if image conversion is enabled. All this
  522. # being said, remember these are just estimations and you should do them
  523. # based on the worst case scenario and be prepared to act in case they
  524. # were wrong.
  525. # work_dir=None
  526.  
  527. # Specifies the maximum number of eventlet threads which can be spun up by
  528. # the eventlet based task executor to perform execution of Glance tasks.
  529. # DEPRECATED: Use [taskflow_executor]/max_workers instead.
  530. # eventlet_executor_pool_size = 1000
  531.  
  532. [taskflow_executor]
  533. # The mode in which the engine will run. Can be 'default', 'serial',
  534. # 'parallel' or 'worker-based'
  535. #engine_mode=serial
  536.  
  537. # The number of parallel activities executed at the same time by
  538. # the engine. The value can be greater than one when the engine mode is
  539. # 'parallel' or 'worker-based', otherwise this value will be ignored.
  540. #max_workers=10
  541.  
  542. [glance_store]
  543. # List of which store classes and store class locations are
  544. # currently known to glance at startup.
  545. # Deprecated group/name - [DEFAULT]/known_stores
  546. # Existing but disabled stores:
  547. # glance.store.rbd.Store,
  548. # glance.store.s3.Store,
  549. # glance.store.swift.Store,
  550. # glance.store.sheepdog.Store,
  551. # glance.store.cinder.Store,
  552. # glance.store.gridfs.Store,
  553. # glance.store.vmware_datastore.Store,
  554. #stores=glance.store.filesystem.Store,
  555. # glance.store.http.Store
  556.  
  557. # Which backend scheme should Glance use by default is not specified
  558. # in a request to add a new image to Glance? Known schemes are determined
  559. # by the stores option.
  560. # Deprecated group/name - [DEFAULT]/default_store
  561. # Default: 'file'
  562. #default_store=file
  563.  
  564. # ============ Filesystem Store Options ========================
  565.  
  566. # Directory that the Filesystem backend store
  567. # writes image data to
  568. #filesystem_store_datadir=/var/lib/glance/images/
  569.  
  570. # A list of directories where image data can be stored.
  571. # This option may be specified multiple times for specifying multiple store
  572. # directories. Either one of filesystem_store_datadirs or
  573. # filesystem_store_datadir option is required. A priority number may be given
  574. # after each directory entry, separated by a ":".
  575. # When adding an image, the highest priority directory will be selected, unless
  576. # there is not enough space available in cases where the image size is already
  577. # known. If no priority is given, it is assumed to be zero and the directory
  578. # will be considered for selection last. If multiple directories have the same
  579. # priority, then the one with the most free space available is selected.
  580. # If same store is specified multiple times then BadStoreConfiguration
  581. # exception will be raised.
  582. #filesystem_store_datadirs=/var/lib/glance/images/:1
  583.  
  584. # A path to a JSON file that contains metadata describing the storage
  585. # system. When show_multiple_locations is True the information in this
  586. # file will be returned with any location that is contained in this
  587. # store.
  588. #filesystem_store_metadata_file=None
  589.  
  590. # ============ Swift Store Options =============================
  591.  
  592. # Version of the authentication service to use
  593. # Valid versions are '2' for keystone and '1' for swauth and rackspace
  594. #swift_store_auth_version=2
  595.  
  596. # Address where the Swift authentication service lives
  597. # Valid schemes are 'http://' and 'https://'
  598. # If no scheme specified, default to 'https://'
  599. # For swauth, use something like '127.0.0.1:8080/v1.0/'
  600. #swift_store_auth_address=127.0.0.1:5000/v2.0/
  601.  
  602. # User to authenticate against the Swift authentication service
  603. # If you use Swift authentication service, set it to 'account':'user'
  604. # where 'account' is a Swift storage account and 'user'
  605. # is a user in that account
  606. #swift_store_user=jdoe:jdoe
  607.  
  608. # Auth key for the user authenticating against the
  609. # Swift authentication service
  610. #swift_store_key=a86850deb2742ec3cb41518e26aa2d89
  611.  
  612. # Container within the account that the account should use
  613. # for storing images in Swift
  614. #swift_store_container=glance
  615.  
  616. # Do we create the container if it does not exist?
  617. #swift_store_create_container_on_put=False
  618.  
  619. # What size, in MB, should Glance start chunking image files
  620. # and do a large object manifest in Swift? By default, this is
  621. # the maximum object size in Swift, which is 5GB
  622. #swift_store_large_object_size=5120
  623.  
  624. # swift_store_config_file = glance-swift.conf
  625. # This file contains references for each of the configured
  626. # Swift accounts/backing stores. If used, this option can prevent
  627. # credentials being stored in the database. Using Swift references
  628. # is disabled if this config is left blank.
  629.  
  630. # The reference to the default Swift parameters to use for adding new images.
  631. # default_swift_reference = 'ref1'
  632.  
  633. # When doing a large object manifest, what size, in MB, should
  634. # Glance write chunks to Swift? This amount of data is written
  635. # to a temporary disk buffer during the process of chunking
  636. # the image file, and the default is 200MB
  637. #swift_store_large_object_chunk_size=200
  638.  
  639. # If set, the configured endpoint will be used. If None, the storage URL
  640. # from the auth response will be used. The location of an object is
  641. # obtained by appending the container and object to the configured URL.
  642. #
  643. # swift_store_endpoint = https://www.example.com/v1/not_a_container
  644. #swift_store_endpoint =
  645.  
  646. # If set to True enables multi-tenant storage mode which causes Glance images
  647. # to be stored in tenant specific Swift accounts.
  648. #swift_store_multi_tenant=False
  649.  
  650. # If set to an integer value between 1 and 32, a single-tenant store will
  651. # use multiple containers to store images. If set to the default value of 0,
  652. # only a single container will be used. Multi-tenant stores are not affected
  653. # by this option. The max number of containers that will be used to store
  654. # images is approximately 16^N where N is the value of this option. Discuss
  655. # the impact of this with your swift deployment team, as this option is only
  656. # beneficial in the largest of deployments where swift rate limiting can lead
  657. # to unwanted throttling on a single container.
  658. #swift_store_multiple_containers_seed=0
  659.  
  660. # A list of swift ACL strings that will be applied as both read and
  661. # write ACLs to the containers created by Glance in multi-tenant
  662. # mode. This grants the specified tenants/users read and write access
  663. # to all newly created image objects. The standard swift ACL string
  664. # formats are allowed, including:
  665. # <tenant_id>:<username>
  666. # <tenant_name>:<username>
  667. # *:<username>
  668. # Multiple ACLs can be combined using a comma separated list, for
  669. # example: swift_store_admin_tenants = service:glance,*:admin
  670. #swift_store_admin_tenants =
  671.  
  672. # The region of the swift endpoint to be used for single tenant. This setting
  673. # is only necessary if the tenant has multiple swift endpoints.
  674. #swift_store_region =
  675.  
  676. # If set to False, disables SSL layer compression of https swift requests.
  677. # Setting to 'False' may improve performance for images which are already
  678. # in a compressed format, eg qcow2. If set to True, enables SSL layer
  679. # compression (provided it is supported by the target swift proxy).
  680. #swift_store_ssl_compression=True
  681.  
  682. # The number of times a Swift download will be retried before the
  683. # request fails
  684. #swift_store_retry_get_count=0
  685.  
  686. # Bypass SSL verification for Swift
  687. #swift_store_auth_insecure=False
  688.  
  689. # The path to a CA certificate bundle file to use for SSL verification when
  690. # communicating with Swift.
  691. #swift_store_cacert =
  692.  
  693. # ============ S3 Store Options =============================
  694.  
  695. # Address where the S3 authentication service lives
  696. # Valid schemes are 'http://' and 'https://'
  697. # If no scheme specified, default to 'http://'
  698. #s3_store_host=s3.amazonaws.com
  699.  
  700. # User to authenticate against the S3 authentication service
  701. #s3_store_access_key=<20-charAWSaccesskey>
  702.  
  703. # Auth key for the user authenticating against the
  704. # S3 authentication service
  705. #s3_store_secret_key=<40-charAWSsecretkey>
  706.  
  707. # Container within the account that the account should use
  708. # for storing images in S3. Note that S3 has a flat namespace,
  709. # so you need a unique bucket name for your glance images. An
  710. # easy way to do this is append your AWS access key to "glance".
  711. # S3 buckets in AWS *must* be lowercased, so remember to lowercase
  712. # your AWS access key if you use it in your bucket name below!
  713. #s3_store_bucket=<lowercased20-charawsaccesskey>glance
  714.  
  715. # Do we create the bucket if it does not exist?
  716. #s3_store_create_bucket_on_put=False
  717.  
  718. # When sending images to S3, the data will first be written to a
  719. # temporary buffer on disk. By default the platform's temporary directory
  720. # will be used. If required, an alternative directory can be specified here.
  721. #s3_store_object_buffer_dir=/path/to/dir
  722.  
  723. # When forming a bucket url, boto will either set the bucket name as the
  724. # subdomain or as the first token of the path. Amazon's S3 service will
  725. # accept it as the subdomain, but Swift's S3 middleware requires it be
  726. # in the path. Set this to 'path' or 'subdomain' - defaults to 'subdomain'.
  727. #s3_store_bucket_url_format=subdomain
  728.  
  729. # Size, in MB, should S3 start chunking image files
  730. # and do a multipart upload in S3. The default is 100MB.
  731. #s3_store_large_object_size=100
  732.  
  733. # Multipart upload part size, in MB, should S3 use when uploading
  734. # parts. The size must be greater than or equal to
  735. # 5MB. The default is 10MB.
  736. #s3_store_large_object_chunk_size=10
  737.  
  738. # The number of thread pools to perform a multipart upload
  739. # in S3. The default is 10.
  740. #s3_store_thread_pools=10
  741.  
  742. # ============ RBD Store Options =============================
  743.  
  744. # Ceph configuration file path
  745. # If using cephx authentication, this file should
  746. # include a reference to the right keyring
  747. # in a client.<USER> section
  748. #rbd_store_ceph_conf=/etc/ceph/ceph.conf
  749.  
  750. # RADOS user to authenticate as (only applicable if using cephx)
  751. # If <None>, a default will be chosen based on the client. section
  752. # in rbd_store_ceph_conf
  753. #rbd_store_user=<None>
  754.  
  755. # RADOS pool in which images are stored
  756. #rbd_store_pool=images
  757.  
  758. # RADOS images will be chunked into objects of this size (in megabytes).
  759. # For best performance, this should be a power of two
  760. #rbd_store_chunk_size=8
  761.  
  762. # ============ Sheepdog Store Options =============================
  763.  
  764. #sheepdog_store_address=localhost
  765.  
  766. #sheepdog_store_port=7000
  767.  
  768. # Images will be chunked into objects of this size (in megabytes).
  769. # For best performance, this should be a power of two
  770. #sheepdog_store_chunk_size=64
  771.  
  772. # ============ Cinder Store Options ===============================
  773.  
  774. # Info to match when looking for cinder in the service catalog
  775. # Format is : separated values of the form:
  776. # <service_type>:<service_name>:<endpoint_type> (string value)
  777. #cinder_catalog_info=volume:cinder:publicURL
  778.  
  779. # Override service catalog lookup with template for cinder endpoint
  780. # e.g. http://localhost:8776/v1/%(project_id)s (string value)
  781. #cinder_endpoint_template=<None>
  782.  
  783. # Region name of this node (string value)
  784. #os_region_name=<None>
  785.  
  786. # Location of ca certicates file to use for cinder client requests
  787. # (string value)
  788. #cinder_ca_certificates_file=<None>
  789.  
  790. # Number of cinderclient retries on failed http calls (integer value)
  791. #cinder_http_retries=3
  792.  
  793. # Allow to perform insecure SSL requests to cinder (boolean value)
  794. #cinder_api_insecure=False
  795.  
  796. # ============ VMware Datastore Store Options =====================
  797.  
  798. # ESX/ESXi or vCenter Server target system.
  799. # The server value can be an IP address or a DNS name
  800. # e.g. 127.0.0.1, 127.0.0.1:443, www.vmware-infra.com
  801. #vmware_server_host=<None>
  802.  
  803. # Server username (string value)
  804. #vmware_server_username=<None>
  805.  
  806. # Server password (string value)
  807. #vmware_server_password=<None>
  808.  
  809. # Inventory path to a datacenter (string value)
  810. # Value optional when vmware_server_ip is an ESX/ESXi host: if specified
  811. # should be `ha-datacenter`.
  812. # Deprecated in favor of vmware_datastores.
  813. #vmware_datacenter_path=<None>
  814.  
  815. # Datastore associated with the datacenter (string value)
  816. # Deprecated in favor of vmware_datastores.
  817. #vmware_datastore_name=<None>
  818.  
  819. # A list of datastores where the image can be stored.
  820. # This option may be specified multiple times for specifying multiple
  821. # datastores. Either one of vmware_datastore_name or vmware_datastores is
  822. # required. The datastore name should be specified after its datacenter
  823. # path, separated by ":". An optional weight may be given after the datastore
  824. # name, separated again by ":". Thus, the required format becomes
  825. # <datacenter_path>:<datastore_name>:<optional_weight>.
  826. # When adding an image, the datastore with highest weight will be selected,
  827. # unless there is not enough free space available in cases where the image size
  828. # is already known. If no weight is given, it is assumed to be zero and the
  829. # directory will be considered for selection last. If multiple datastores have
  830. # the same weight, then the one with the most free space available is selected.
  831. #vmware_datastores=<None>
  832.  
  833. # The number of times we retry on failures
  834. # e.g., socket error, etc (integer value)
  835. #vmware_api_retry_count=10
  836.  
  837. # The interval used for polling remote tasks
  838. # invoked on VMware ESX/VC server in seconds (integer value)
  839. #vmware_task_poll_interval=5
  840.  
  841. # Absolute path of the folder containing the images in the datastore
  842. # (string value)
  843. #vmware_store_image_dir=/openstack_glance
  844.  
  845. # Allow to perform insecure SSL requests to the target system (boolean value)
  846. #vmware_api_insecure=False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement