Advertisement
Guest User

keystone.conf

a guest
Jan 27th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. [DEFAULT]
  2. # A "shared secret" between keystone and other openstack services
  3. admin_token = zXXYNuPaVafsYngquejPRE9cbzefMAw
  4. #admin_token = ADMIN
  5. # The IP address of the network interface to listen on
  6. bind_host = 0.0.0.0
  7.  
  8. # The port number which the public service listens on
  9. public_port = 5000
  10.  
  11. # The port number which the public admin listens on
  12. admin_port = 35357
  13.  
  14. # The port number which the OpenStack Compute service listens on
  15. compute_port = 8774
  16.  
  17. # === Logging Options ===
  18. # Print debugging output
  19. verbose = true
  20.  
  21. # Print more verbose output
  22. # (includes plaintext request logging, potentially including passwords)
  23. debug = true
  24.  
  25. # Name of log file to output to. If not set, logging will go to stdout.
  26. log_file = keystone.log
  27.  
  28. # The directory to keep log files in (will be prepended to --logfile)
  29. log_dir = /var/log/keystone
  30.  
  31. # Use syslog for logging.
  32. use_syslog = False
  33.  
  34. # syslog facility to receive log lines
  35. # syslog_log_facility = LOG_USER
  36.  
  37. # If this option is specified, the logging configuration file specified is
  38. # used and overrides any other logging options specified. Please see the
  39. # Python logging module documentation for details on logging configuration
  40. # files.
  41. log_config = /etc/keystone/logging.conf
  42.  
  43. # A logging.Formatter log message format string which may use any of the
  44. # available logging.LogRecord attributes.
  45. # log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
  46.  
  47. # Format string for %(asctime)s in log records.
  48. # log_date_format = %Y-%m-%d %H:%M:%S
  49.  
  50. # onready allows you to send a notification when the process is ready to serve
  51. # For example, to have it notify using systemd, one could set shell command:
  52. # onready = systemd-notify --ready
  53. # or a module with notify() method:
  54. # onready = keystone.common.systemd
  55.  
  56. [sql]
  57. # The SQLAlchemy connection string used to connect to the database
  58. #connection = mysql://keystone2:test@localhost/keystone2
  59. #connection = mysql://keystonedbadmin:MV8teiGK7v@localhost/Keystone_Folsom
  60. connection = mysql://keystonedbadmin:MV8teiGK7v@localhost/Keystone_Folsom_res
  61.  
  62. #connection = sqlite:////var/lib/keystone/keystone.db
  63.  
  64. # the timeout before idle sql connections are reaped
  65. idle_timeout = 200
  66.  
  67. [identity]
  68. driver = keystone.identity.backends.sql.Identity
  69.  
  70. [catalog]
  71. # dynamic, sql-based backend (supports API/CLI-based management commands)
  72. driver = keystone.catalog.backends.sql.Catalog
  73.  
  74. # static, file-based backend (does *NOT* support any management commands)
  75. # driver = keystone.catalog.backends.templated.TemplatedCatalog
  76. #template_file = /etc/keystone/default_catalog.templates
  77.  
  78. [token]
  79. driver = keystone.token.backends.sql.Token
  80. # Amount of time a token should remain valid (in seconds)
  81. expiration = 86400
  82.  
  83. [policy]
  84. driver = keystone.policy.backends.rules.Policy
  85.  
  86. [ec2]
  87. driver = keystone.contrib.ec2.backends.sql.Ec2
  88.  
  89. [ssl]
  90. #enable = True
  91. #certfile = /etc/keystone/ssl/certs/keystone.pem
  92. #keyfile = /etc/keystone/ssl/private/keystonekey.pem
  93. #ca_certs = /etc/keystone/ssl/certs/ca.pem
  94. #cert_required = True
  95.  
  96. [signing]
  97. #token_format = UUID
  98. #certfile = /etc/keystone/ssl/certs/signing_cert.pem
  99. #keyfile = /etc/keystone/ssl/private/signing_key.pem
  100. #ca_certs = /etc/keystone/ssl/certs/ca.pem
  101. #key_size = 1024
  102. #valid_days = 3650
  103. #ca_password = None
  104. #token_format = PKI
  105. [ldap]
  106. # url = ldap://localhost
  107. # user = dc=Manager,dc=example,dc=com
  108. # password = None
  109. # suffix = cn=example,cn=com
  110. # use_dumb_member = False
  111.  
  112. # user_tree_dn = ou=Users,dc=example,dc=com
  113. # user_objectclass = inetOrgPerson
  114. # user_id_attribute = cn
  115. # user_name_attribute = sn
  116.  
  117. # tenant_tree_dn = ou=Groups,dc=example,dc=com
  118. # tenant_objectclass = groupOfNames
  119. # tenant_id_attribute = cn
  120. # tenant_member_attribute = member
  121. # tenant_name_attribute = ou
  122.  
  123. # role_tree_dn = ou=Roles,dc=example,dc=com
  124. # role_objectclass = organizationalRole
  125. # role_id_attribute = cn
  126. # role_member_attribute = roleOccupant
  127.  
  128. [filter:debug]
  129. paste.filter_factory = keystone.common.wsgi:Debug.factory
  130.  
  131. [filter:token_auth]
  132. paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
  133. [filter:admin_token_auth]
  134. paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
  135.  
  136. [filter:xml_body]
  137. paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
  138.  
  139. [filter:json_body]
  140. paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
  141.  
  142. [filter:user_crud_extension]
  143. paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory
  144.  
  145. [filter:crud_extension]
  146. paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory
  147.  
  148. [filter:ec2_extension]
  149. paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory
  150.  
  151. [filter:s3_extension]
  152. paste.filter_factory = keystone.contrib.s3:S3Extension.factory
  153.  
  154. [filter:url_normalize]
  155. paste.filter_factory = keystone.middleware:NormalizingFilter.factory
  156.  
  157. [filter:stats_monitoring]
  158. paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
  159.  
  160. [filter:stats_reporting]
  161. paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
  162.  
  163. [app:public_service]
  164. paste.app_factory = keystone.service:public_app_factory
  165.  
  166. [app:admin_service]
  167. paste.app_factory = keystone.service:admin_app_factory
  168.  
  169. [pipeline:public_api]
  170. pipeline = stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug ec2_extension user_crud_extension public_service
  171.  
  172. [pipeline:admin_api]
  173. pipeline = stats_monitoring url_normalize token_auth admin_token_auth xml_body json_body debug stats_reporting ec2_extension s3_extension crud_extension admin_service
  174.  
  175. [app:public_version_service]
  176. paste.app_factory = keystone.service:public_version_app_factory
  177.  
  178. [app:admin_version_service]
  179. paste.app_factory = keystone.service:admin_version_app_factory
  180.  
  181. [pipeline:public_version_api]
  182. pipeline = stats_monitoring url_normalize xml_body public_version_service
  183.  
  184. [pipeline:admin_version_api]
  185. pipeline = stats_monitoring url_normalize xml_body admin_version_service
  186.  
  187. [composite:main]
  188. use = egg:Paste#urlmap
  189. /v2.0 = public_api
  190. / = public_version_api
  191.  
  192. [composite:admin]
  193. use = egg:Paste#urlmap
  194. /v2.0 = admin_api
  195. / = admin_version_api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement