Advertisement
bigmstone

Controller - glance-registry.conf

Sep 25th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. #verbose = False
  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
  15. # file for both the API and registry servers!
  16. log_file = /var/log/glance/registry.log
  17.  
  18. # Backlog requests when creating socket
  19. backlog = 4096
  20.  
  21. # TCP_KEEPIDLE value in seconds when creating socket.
  22. # Not supported on OS X.
  23. #tcp_keepidle = 600
  24.  
  25. # SQLAlchemy connection string for the reference implementation
  26. # registry server. Any valid SQLAlchemy connection string is fine.
  27. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  28. sql_connection = mysql://glance:pass@localhost/glance
  29.  
  30. # Period in seconds after which SQLAlchemy should reestablish its connection
  31. # to the database.
  32. #
  33. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  34. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  35. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  36. # before MySQL can drop the connection.
  37. sql_idle_timeout = 3600
  38.  
  39. # Limit the api to return `param_limit_max` items in a call to a container. If
  40. # a larger `limit` query param is provided, it will be reduced to this value.
  41. api_limit_max = 1000
  42.  
  43. # If a `limit` query param is not provided in an api request, it will
  44. # default to `limit_param_default`
  45. limit_param_default = 25
  46.  
  47. # Role used to identify an authenticated user as administrator
  48. #admin_role = admin
  49.  
  50. # Whether to automatically create the database tables.
  51. # Default: False
  52. #db_auto_create = False
  53.  
  54. # ================= Syslog Options ============================
  55.  
  56. # Send logs to syslog (/dev/log) instead of to file specified
  57. # by `log_file`
  58. #use_syslog = False
  59.  
  60. # Facility to use. If unset defaults to LOG_USER.
  61. #syslog_log_facility = LOG_LOCAL1
  62.  
  63. # ================= SSL Options ===============================
  64.  
  65. # Certificate file to use when starting registry server securely
  66. #cert_file = /path/to/certfile
  67.  
  68. # Private key file to use when starting registry server securely
  69. #key_file = /path/to/keyfile
  70.  
  71. # CA certificate file to use to verify connecting clients
  72. #ca_file = /path/to/cafile
  73.  
  74. [keystone_authtoken]
  75. auth_host = 127.0.0.1
  76. auth_port = 35357
  77. auth_protocol = http
  78. admin_tenant_name = service
  79. admin_user = glance
  80. admin_password = pass
  81.  
  82. [paste_deploy]
  83. # Name of the paste configuration file that defines the available pipelines
  84. #config_file = glance-registry-paste.ini
  85.  
  86. # Partial name of a pipeline in your paste configuration file with the
  87. # service name removed. For example, if your paste section name is
  88. # [pipeline:glance-registry-keystone], you would configure the flavor below
  89. # as 'keystone'.
  90. flavor=keystone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement