Advertisement
Guest User

glance-registry.conf file

a guest
Mar 6th, 2015
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 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 = True
  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. # Enable Registry API versions individually or simultaneously
  33. #enable_v1_registry = True
  34. #enable_v2_registry = True
  35.  
  36. # Limit the api to return `param_limit_max` items in a call to a container. If
  37. # a larger `limit` query param is provided, it will be reduced to this value.
  38. api_limit_max = 1000
  39.  
  40. # If a `limit` query param is not provided in an api request, it will
  41. # default to `limit_param_default`
  42. limit_param_default = 25
  43.  
  44. # Role used to identify an authenticated user as administrator
  45. #admin_role = admin
  46.  
  47. # Whether to automatically create the database tables.
  48. # Default: False
  49. #db_auto_create = False
  50.  
  51. # Enable DEBUG log messages from sqlalchemy which prints every database
  52. # query and response.
  53. # Default: False
  54. #sqlalchemy_debug = True
  55.  
  56. # ================= Syslog Options ============================
  57.  
  58. # Send logs to syslog (/dev/log) instead of to file specified
  59. # by `log_file`
  60. #use_syslog = False
  61.  
  62. # Facility to use. If unset defaults to LOG_USER.
  63. #syslog_log_facility = LOG_LOCAL1
  64.  
  65. # ================= SSL Options ===============================
  66.  
  67. # Certificate file to use when starting registry server securely
  68. #cert_file = /path/to/certfile
  69.  
  70. # Private key file to use when starting registry server securely
  71. #key_file = /path/to/keyfile
  72.  
  73. # CA certificate file to use to verify connecting clients
  74. #ca_file = /path/to/cafile
  75.  
  76. # ================= Database Options ==========================
  77.  
  78. [database]
  79. # The file name to use with SQLite (string value)
  80. sqlite_db = /var/lib/glance/glance.sqlite
  81.  
  82. # If True, SQLite uses synchronous mode (boolean value)
  83. #sqlite_synchronous = True
  84.  
  85. # The backend to use for db (string value)
  86. # Deprecated group/name - [DEFAULT]/db_backend
  87. backend = sqlalchemy
  88.  
  89. # The SQLAlchemy connection string used to connect to the
  90. # database (string value)
  91. # Deprecated group/name - [DEFAULT]/sql_connection
  92. # Deprecated group/name - [DATABASE]/sql_connection
  93. # Deprecated group/name - [sql]/connection
  94. connection = mysql://glance:amma123@controller/glance
  95.  
  96. # The SQL mode to be used for MySQL sessions. This option,
  97. # including the default, overrides any server-set SQL mode. To
  98. # use whatever SQL mode is set by the server configuration,
  99. # set this to no value. Example: mysql_sql_mode= (string
  100. # value)
  101. #mysql_sql_mode = TRADITIONAL
  102.  
  103. # Timeout before idle sql connections are reaped (integer
  104. # value)
  105. # Deprecated group/name - [DEFAULT]/sql_idle_timeout
  106. # Deprecated group/name - [DATABASE]/sql_idle_timeout
  107. # Deprecated group/name - [sql]/idle_timeout
  108. #idle_timeout = 3600
  109.  
  110. # Minimum number of SQL connections to keep open in a pool
  111. # (integer value)
  112. # Deprecated group/name - [DEFAULT]/sql_min_pool_size
  113. # Deprecated group/name - [DATABASE]/sql_min_pool_size
  114. #min_pool_size = 1
  115.  
  116. # Maximum number of SQL connections to keep open in a pool
  117. # (integer value)
  118. # Deprecated group/name - [DEFAULT]/sql_max_pool_size
  119. # Deprecated group/name - [DATABASE]/sql_max_pool_size
  120. #max_pool_size = <None>
  121.  
  122. # Maximum db connection retries during startup. (setting -1
  123. # implies an infinite retry count) (integer value)
  124. # Deprecated group/name - [DEFAULT]/sql_max_retries
  125. # Deprecated group/name - [DATABASE]/sql_max_retries
  126. #max_retries = 10
  127.  
  128. # Interval between retries of opening a sql connection
  129. # (integer value)
  130. # Deprecated group/name - [DEFAULT]/sql_retry_interval
  131. # Deprecated group/name - [DATABASE]/reconnect_interval
  132. #retry_interval = 10
  133.  
  134. # If set, use this value for max_overflow with sqlalchemy
  135. # (integer value)
  136. # Deprecated group/name - [DEFAULT]/sql_max_overflow
  137. # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
  138. #max_overflow = <None>
  139.  
  140. # Verbosity of SQL debugging information. 0=None,
  141. # 100=Everything (integer value)
  142. # Deprecated group/name - [DEFAULT]/sql_connection_debug
  143. #connection_debug = 0
  144.  
  145. # Add python stack traces to SQL as comment strings (boolean
  146. # value)
  147. # Deprecated group/name - [DEFAULT]/sql_connection_trace
  148. #connection_trace = False
  149.  
  150. # If set, use this value for pool_timeout with sqlalchemy
  151. # (integer value)
  152. # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
  153. #pool_timeout = <None>
  154.  
  155. # Enable the experimental use of database reconnect on
  156. # connection lost (boolean value)
  157. #use_db_reconnect = False
  158.  
  159. # seconds between db connection retries (integer value)
  160. #db_retry_interval = 1
  161.  
  162. # Whether to increase interval between db connection retries,
  163. # up to db_max_retry_interval (boolean value)
  164. #db_inc_retry_interval = True
  165.  
  166. # max seconds between db connection retries, if
  167. # db_inc_retry_interval is enabled (integer value)
  168. #db_max_retry_interval = 10
  169.  
  170. # maximum db connection retries before error is raised.
  171. # (setting -1 implies an infinite retry count) (integer value)
  172. #db_max_retries = 20
  173.  
  174. [keystone_authtoken]
  175.  
  176. auth_uri = http://192.168.5.201:5000
  177. #identity_uri=httpȘ//192.168.5.201:35357
  178. auth_host = 192.168.5.201
  179. auth_port = 35357
  180. auth_protocol = http
  181. admin_tenant_name = service
  182. admin_user = glance
  183. admin_password = amma123
  184.  
  185. [paste_deploy]
  186. # Name of the paste configuration file that defines the available pipelines
  187. #config_file = glance-registry-paste.ini
  188.  
  189. # Partial name of a pipeline in your paste configuration file with the
  190. # service name removed. For example, if your paste section name is
  191. # [pipeline:glance-registry-keystone], you would configure the flavor below
  192. # as 'keystone'.
  193. flavor=keystone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement