Advertisement
Guest User

Untitled

a guest
May 24th, 2012
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. ERROR: Unable to load glance-registry from configuration file /etc/glance/glance-registry-paste.ini.
  2. Got: LookupError("No section 'auth-context' (prefixed by 'filter') found in config /etc/glance/glance-registry-paste.ini",)
  3.  
  4. ---------------
  5.  
  6. glance-registry-paste.ini:
  7.  
  8. # Default minimal pipeline
  9. [pipeline:glance-registry]
  10. pipeline = authtoken auth-context context registryapp
  11.  
  12. # Use the following pipeline for keystone auth
  13. # i.e. in glance-registry.conf:
  14. # [paste_deploy]
  15. # flavor = keystone
  16. #
  17. [pipeline:glance-registry-keystone]
  18. pipeline = authtoken context registryapp
  19.  
  20. [app:registryapp]
  21. paste.app_factory = glance.common.wsgi:app_factory
  22. glance.app_factory = glance.registry.api.v1:API
  23.  
  24. [filter:context]
  25. context_class = glance.registry.context.RequestContext
  26. paste.filter_factory = glance.common.wsgi:filter_factory
  27. glance.filter_factory = glance.common.context:ContextMiddleware
  28.  
  29. [filter:authtoken]
  30. paste.filter_factory = keystone.middleware.auth_token:filter_factory
  31. service_protocol = http
  32. service_host = 127.0.0.1
  33. service_port = 5000
  34. auth_host = 127.0.0.1
  35. auth_port = 35357
  36. auth_protocol = http
  37. auth_uri = http://127.0.0.1:5000/
  38. admin_tenant_name = XXX
  39. admin_user = XXX
  40. admin_password = XXX
  41. -------------------------------------
  42.  
  43. glance-registry.conf:
  44. [DEFAULT]
  45. # Show more verbose log output (sets INFO log level output)
  46. verbose = True
  47.  
  48. # Show debugging output in logs (sets DEBUG log level output)
  49. #debug = False
  50. debug = True
  51.  
  52. # Address to bind the registry server
  53. bind_host = 0.0.0.0
  54.  
  55. # Port the bind the registry server to
  56. bind_port = 9191
  57.  
  58. # Log to this file. Make sure you do not set the same log
  59. # file for both the API and registry servers!
  60. log_file = /var/log/glance/glance-registry.log
  61.  
  62. # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
  63. use_syslog = False
  64.  
  65. # SQLAlchemy connection string for the reference implementation
  66. # registry server. Any valid SQLAlchemy connection string is fine.
  67. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  68. #sql_connection = sqlite:////var/lib/glance/glance.sqlite
  69. sql_connection = mysql://glance:XXX@172.16.1.3/glance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement