Advertisement
Guest User

Untitled

a guest
Oct 26th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 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
  15. # file for both the API and registry servers!
  16. log_file = /var/log/glance/registry.log
  17.  
  18. # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
  19. use_syslog = False
  20.  
  21. # SQLAlchemy connection string for the reference implementation
  22. # registry server. Any valid SQLAlchemy connection string is fine.
  23. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  24. sql_connection = sqlite:///glance.sqlite
  25.  
  26. # Period in seconds after which SQLAlchemy should reestablish its connection
  27. # to the database.
  28. #
  29. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  30. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  31. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  32. # before MySQL can drop the connection.
  33. sql_idle_timeout = 3600
  34.  
  35. # Limit the api to return `param_limit_max` items in a call to a container. If
  36. # a larger `limit` query param is provided, it will be reduced to this value.
  37. api_limit_max = 1000
  38.  
  39. # If a `limit` query param is not provided in an api request, it will
  40. # default to `limit_param_default`
  41. limit_param_default = 25
  42.  
  43. [pipeline:glance-registry]
  44. pipeline = authtoken keystone_shim context registryapp
  45.  
  46. [app:registryapp]
  47. paste.app_factory = glance.registry.server:app_factory
  48.  
  49. [filter:context]
  50. context_class = glance.registry.context.RequestContext
  51. paste.filter_factory = glance.common.context:filter_factory
  52.  
  53. [filter:authtoken]
  54. paste.filter_factory = keystone.middleware.auth_token:filter_factory
  55. service_protocol = http
  56. service_host = 10.103.0.81
  57. service_port = 5000
  58. auth_host = 10.103.0.81
  59. auth_port = 35357
  60. auth_protocol = http
  61. auth_uri = http://10.103.0.81:5000/
  62. admin_token = cloudena
  63.  
  64. [filter:keystone_shim]
  65. paste.filter_factory = keystone.middleware.glance_auth_token:filter_factory
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement