Advertisement
shaggycat

Untitled

May 12th, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. verbose=True
  4.  
  5. # Show debugging output in logs (sets DEBUG log level output)
  6. #debug=False
  7.  
  8. # Address to bind the registry server
  9. #bind_host=0.0.0.0
  10.  
  11. # Port the bind the registry server to
  12. #bind_port=9191
  13.  
  14. # Log to this file. Make sure you do not set the same log file for both the API
  15. # and registry servers!
  16. #
  17. # If `log_file` is omitted and `use_syslog` is false, then log messages are
  18. # sent to stdout as a fallback.
  19. #log_file=/var/log/glance/registry.log
  20.  
  21. # Backlog requests when creating socket
  22. #backlog=4096
  23.  
  24. # TCP_KEEPIDLE value in seconds when creating socket.
  25. # Not supported on OS X.
  26. #tcp_keepidle=600
  27.  
  28. # API to use for accessing data. Default value points to sqlalchemy
  29. # package.
  30. #data_api=glance.db.sqlalchemy.api
  31.  
  32. # The number of child process workers that will be
  33. # created to service Registry requests. The default will be
  34. # equal to the number of CPUs available. (integer value)
  35. #workers=None
  36.  
  37. # Enable Registry API versions individually or simultaneously
  38. #enable_v1_registry=True
  39. #enable_v2_registry=True
  40.  
  41. # Limit the api to return `param_limit_max` items in a call to a container. If
  42. # a larger `limit` query param is provided, it will be reduced to this value.
  43. #api_limit_max=1000
  44.  
  45. # If a `limit` query param is not provided in an api request, it will
  46. # default to `limit_param_default`
  47. #limit_param_default=25
  48.  
  49. # Role used to identify an authenticated user as administrator
  50. #admin_role=admin
  51.  
  52. # Whether to automatically create the database tables.
  53. # Default: False
  54. #db_auto_create=False
  55.  
  56. # Enable DEBUG log messages from sqlalchemy which prints every database
  57. # query and response.
  58. # Default: False
  59. #sqlalchemy_debug=True
  60.  
  61. # ================= Syslog Options ============================
  62.  
  63. # Send logs to syslog (/dev/log) instead of to file specified
  64. # by `log_file`
  65. #use_syslog=False
  66.  
  67. # Facility to use. If unset defaults to LOG_USER.
  68. #syslog_log_facility=LOG_LOCAL1
  69.  
  70. # ================= SSL Options ===============================
  71.  
  72. # Certificate file to use when starting registry server securely
  73. #cert_file=/path/to/certfile
  74.  
  75. # Private key file to use when starting registry server securely
  76. #key_file=/path/to/keyfile
  77.  
  78. # CA certificate file to use to verify connecting clients
  79. #ca_file=/path/to/cafile
  80.  
  81. # ============ Notification System Options =====================
  82.  
  83. # Driver or drivers to handle sending notifications. Set to
  84. # 'messaging' to send notifications to a message queue.
  85. notification_driver = noop
  86.  
  87. # Default publisher_id for outgoing notifications.
  88. # default_publisher_id = image.localhost
  89.  
  90. # Messaging driver used for 'messaging' notifications driver
  91. # rpc_backend = 'rabbit'
  92.  
  93. # Configuration options if sending notifications via rabbitmq (these are
  94. # the defaults)
  95. #rabbit_host=localhost
  96. #rabbit_port=5672
  97. #rabbit_use_ssl=false
  98. #rabbit_userid=guest
  99. #rabbit_password=guest
  100. #rabbit_virtual_host=/
  101. #rabbit_notification_exchange=glance
  102. #rabbit_notification_topic=notifications
  103. #rabbit_durable_queues=False
  104.  
  105. # Configuration options if sending notifications via Qpid (these are
  106. # the defaults)
  107. #qpid_notification_exchange=glance
  108. #qpid_notification_topic=notifications
  109. #qpid_hostname=localhost
  110. #qpid_port=5672
  111. #qpid_username=
  112. #qpid_password=
  113. #qpid_sasl_mechanisms=
  114. #qpid_reconnect_timeout=0
  115. #qpid_reconnect_limit=0
  116. #qpid_reconnect_interval_min=0
  117. #qpid_reconnect_interval_max=0
  118. #qpid_reconnect_interval=0
  119. #qpid_heartbeat=5
  120. # Set to 'ssl' to enable SSL
  121. #qpid_protocol=tcp
  122. #qpid_tcp_nodelay=True
  123.  
  124.  
  125. # ================= Database Options ==========================
  126.  
  127. [database]
  128. # The file name to use with SQLite (string value)
  129. #sqlite_db=glance.sqlite
  130.  
  131. # If True, SQLite uses synchronous mode (boolean value)
  132. #sqlite_synchronous=True
  133.  
  134. # The backend to use for db (string value)
  135. # Deprecated group/name - [DEFAULT]/db_backend
  136. #backend=sqlalchemy
  137.  
  138. # The SQLAlchemy connection string used to connect to the
  139. # database (string value)
  140. # Deprecated group/name - [DEFAULT]/sql_connection
  141. # Deprecated group/name - [DATABASE]/sql_connection
  142. # Deprecated group/name - [sql]/connection
  143. #connection=mysql://glance:glance@localhost/glance
  144.  
  145. connection = mysql://glance:glance@localhost/glance
  146.  
  147.  
  148. # The SQL mode to be used for MySQL sessions. This option,
  149. # including the default, overrides any server-set SQL mode. To
  150. # use whatever SQL mode is set by the server configuration,
  151. # set this to no value. Example: mysql_sql_mode= (string
  152. # value)
  153. #mysql_sql_mode=TRADITIONAL
  154.  
  155. # Timeout before idle sql connections are reaped (integer
  156. # value)
  157. # Deprecated group/name - [DEFAULT]/sql_idle_timeout
  158. # Deprecated group/name - [DATABASE]/sql_idle_timeout
  159. # Deprecated group/name - [sql]/idle_timeout
  160. #idle_timeout=3600
  161.  
  162. # Minimum number of SQL connections to keep open in a pool
  163. # (integer value)
  164. # Deprecated group/name - [DEFAULT]/sql_min_pool_size
  165. # Deprecated group/name - [DATABASE]/sql_min_pool_size
  166. #min_pool_size=1
  167.  
  168. # Maximum number of SQL connections to keep open in a pool
  169. # (integer value)
  170. # Deprecated group/name - [DEFAULT]/sql_max_pool_size
  171. # Deprecated group/name - [DATABASE]/sql_max_pool_size
  172. #max_pool_size=<None>
  173.  
  174. # Maximum db connection retries during startup. (setting -1
  175. # implies an infinite retry count) (integer value)
  176. # Deprecated group/name - [DEFAULT]/sql_max_retries
  177. # Deprecated group/name - [DATABASE]/sql_max_retries
  178. #max_retries=10
  179.  
  180. # Interval between retries of opening a sql connection
  181. # (integer value)
  182. # Deprecated group/name - [DEFAULT]/sql_retry_interval
  183. # Deprecated group/name - [DATABASE]/reconnect_interval
  184. #retry_interval=10
  185.  
  186. # If set, use this value for max_overflow with sqlalchemy
  187. # (integer value)
  188. # Deprecated group/name - [DEFAULT]/sql_max_overflow
  189. # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
  190. #max_overflow=<None>
  191.  
  192. # Verbosity of SQL debugging information. 0=None,
  193. # 100=Everything (integer value)
  194. # Deprecated group/name - [DEFAULT]/sql_connection_debug
  195. #connection_debug=0
  196.  
  197. # Add python stack traces to SQL as comment strings (boolean
  198. # value)
  199. # Deprecated group/name - [DEFAULT]/sql_connection_trace
  200. #connection_trace=False
  201.  
  202. # If set, use this value for pool_timeout with sqlalchemy
  203. # (integer value)
  204. # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
  205. #pool_timeout=<None>
  206.  
  207. # Enable the experimental use of database reconnect on
  208. # connection lost (boolean value)
  209. #use_db_reconnect=False
  210.  
  211. # seconds between db connection retries (integer value)
  212. #db_retry_interval=1
  213.  
  214. # Whether to increase interval between db connection retries,
  215. # up to db_max_retry_interval (boolean value)
  216. #db_inc_retry_interval=True
  217.  
  218. # max seconds between db connection retries, if
  219. # db_inc_retry_interval is enabled (integer value)
  220. #db_max_retry_interval=10
  221.  
  222. # maximum db connection retries before error is raised.
  223. # (setting -1 implies an infinite retry count) (integer value)
  224. #db_max_retries=20
  225.  
  226. #identity_uri=http://127.0.0.1:35357
  227. #admin_tenant_name=%SERVICE_TENANT_NAME%
  228. #admin_user=%SERVICE_USER%
  229. #admin_password=%SERVICE_PASSWORD%
  230.  
  231. [keystone_authtoken]
  232. identity_uri=http://localhost:35357
  233. admin_tenant_name=service
  234. auth_uri = http://localhost:5000/v2.0
  235.  
  236. admin_user = glance
  237. admin_password = glance
  238.  
  239. ###
  240. auth_plugin = password
  241. project_domain_id = default
  242. user_domain_id = default
  243. project_name = service
  244.  
  245.  
  246. [paste_deploy]
  247. # Name of the paste configuration file that defines the available pipelines
  248. #config_file=/usr/share/glance/glance-registry-dist-paste.ini
  249.  
  250. # Partial name of a pipeline in your paste configuration file with the
  251. # service name removed. For example, if your paste section name is
  252. # [pipeline:glance-registry-keystone], you would configure the flavor below
  253. # as 'keystone'.
  254. flavor=keystone
  255.  
  256. [profiler]
  257. # If False fully disable profiling feature.
  258. #enabled=True
  259.  
  260. # If False doesn't trace SQL requests.
  261. #trace_sqlalchemy=True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement