Advertisement
Guest User

Untitled

a guest
Feb 8th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. root@server10326:/etc/keystone# cat /etc/glance/glance-registry.conf
  2. [DEFAULT]
  3. # Show more verbose log output (sets INFO log level output)
  4. verbose = True
  5.  
  6. # Show debugging output in logs (sets DEBUG log level output)
  7. debug = False
  8.  
  9. # Address to bind the registry server
  10. bind_host = 0.0.0.0
  11.  
  12. # Port the bind the registry server to
  13. bind_port = 9191
  14.  
  15. # Log to this file. Make sure you do not set the same log
  16. # file for both the API and registry servers!
  17. log_file = /var/log/glance/registry.log
  18.  
  19. # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
  20. use_syslog = False
  21.  
  22. # SQLAlchemy connection string for the reference implementation
  23. # registry server. Any valid SQLAlchemy connection string is fine.
  24. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  25. sql_connection = mysql://glance:Gf%iiCEe8G%W6(@109.200.204.5/glance
  26.  
  27. # Period in seconds after which SQLAlchemy should reestablish its connection
  28. # to the database.
  29. #
  30. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  31. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  32. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  33. # before MySQL can drop the connection.
  34. sql_idle_timeout = 3600
  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. [pipeline:glance-registry]
  45. pipeline = context registryapp
  46. # NOTE: use the following pipeline for keystone
  47. # pipeline = authtoken auth-context registryapp
  48.  
  49. [app:registryapp]
  50. paste.app_factory = glance.registry.server:app_factory
  51.  
  52. [filter:context]
  53. context_class = glance.registry.context.RequestContext
  54. paste.filter_factory = glance.common.context:filter_factory
  55.  
  56. [filter:authtoken]
  57. paste.filter_factory = keystone.middleware.auth_token:filter_factory
  58. service_protocol = http
  59. service_host = 127.0.0.1
  60. service_port = 5000
  61. auth_host = 127.0.0.1
  62. auth_port = 35357
  63. auth_protocol = http
  64. auth_uri = http://127.0.0.1:5000/
  65. admin_token = 11121314151617181920
  66.  
  67. [filter:auth-context]
  68. context_class = glance.registry.context.RequestContext
  69. paste.filter_factory = keystone.middleware.glance_auth_token:filter_factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement