Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- glance-api.conf.sample 2014-10-22 18:25:17.595972609 +0900
- +++ glance-api.conf 2014-10-23 11:47:05.752967557 +0900
- @@ -1,9 +1,9 @@
- [DEFAULT]
- # Show more verbose log output (sets INFO log level output)
- -#verbose = False
- +verbose = True
- # Show debugging output in logs (sets DEBUG log level output)
- -#debug = False
- +debug = True
- # Which backend scheme should Glance use by default is not specified
- # in a request to add a new image to Glance? Known schemes are determined
- @@ -44,7 +44,7 @@
- # The number of child process workers that will be
- # created to service API requests. The default will be
- # equal to the number of CPUs available. (integer value)
- -#workers = 4
- +workers = 2
- # Maximum line size of message headers to be accepted.
- # max_header_line may need to be increased when using large tokens
- @@ -53,11 +53,11 @@
- # max_header_line = 16384
- # Role used to identify an authenticated user as administrator
- -#admin_role = admin
- +admin_role = admin
- # Allow unauthenticated users to access the API with read-only
- # privileges. This only applies when using ContextMiddleware.
- -#allow_anonymous_access = False
- +allow_anonymous_access = False
- # Allow access to version 1 of glance api
- #enable_v1_api = True
- @@ -80,15 +80,15 @@
- #send_identity_headers = False
- # Supported values for the 'container_format' image attribute
- -#container_formats=ami,ari,aki,bare,ovf,ova
- +container_formats=ami,ari,aki,bare,ovf,ova
- # Supported values for the 'disk_format' image attribute
- -#disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso
- +disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso
- # Directory to use for lock files. Default to a temp directory
- # (string value). This setting needs to be the same for both
- # glance-scrubber and glance-api.
- -#lock_path=<None>
- +lock_path=/var/lock/glance
- # Property Protections config file
- # This file contains the rules for property protections and the roles/policies
- @@ -113,7 +113,7 @@
- # Send logs to syslog (/dev/log) instead of to file specified
- # by `log_file`
- -#use_syslog = False
- +use_syslog = False
- # Facility to use. If unset defaults to LOG_USER.
- #syslog_log_facility = LOG_LOCAL0
- @@ -176,7 +176,7 @@
- # Whether to automatically create the database tables.
- # Default: False
- -#db_auto_create = False
- +db_auto_create = False
- # Enable DEBUG log messages from sqlalchemy which prints every database
- # query and response.
- @@ -185,7 +185,7 @@
- # Pass the user's token through for API requests to the registry.
- # Default: True
- -#use_user_token = True
- +use_user_token = True
- # If 'use_user_token' is not in effect then admin credentials
- # can be specified. Requests to the registry on behalf of
- @@ -201,7 +201,7 @@
- # Keystone region
- #auth_region = None
- # Auth strategy
- -#auth_strategy = keystone
- +auth_strategy = keystone
- # ============ Notification System Options =====================
- @@ -213,16 +213,16 @@
- # default_publisher_id = image.localhost
- # Messaging driver used for 'messaging' notifications driver
- -# rpc_backend = 'rabbit'
- +rpc_backend = 'rabbit'
- # Configuration options if sending notifications via rabbitmq (these are
- # the defaults)
- rabbit_host = localhost
- rabbit_port = 5672
- rabbit_use_ssl = false
- -rabbit_userid = guest
- -rabbit_password = guest
- -rabbit_virtual_host = /
- +rabbit_userid = glance
- +rabbit_password = y7u8i9YUI
- +rabbit_virtual_host = /glance
- rabbit_notification_exchange = glance
- rabbit_notification_topic = notifications
- rabbit_durable_queues = False
- @@ -300,7 +300,7 @@
- # Deprecated group/name - [DEFAULT]/sql_connection
- # Deprecated group/name - [DATABASE]/sql_connection
- # Deprecated group/name - [sql]/connection
- -#connection = <None>
- +connection = mysql://glance:y7u8i9YUI@192.168.84.142/glance?charset=utf8
- # The SQL mode to be used for MySQL sessions. This option,
- # including the default, overrides any server-set SQL mode. To
- @@ -381,10 +381,10 @@
- #db_max_retries = 20
- [keystone_authtoken]
- -identity_uri = http://127.0.0.1:35357
- -admin_tenant_name = %SERVICE_TENANT_NAME%
- -admin_user = %SERVICE_USER%
- -admin_password = %SERVICE_PASSWORD%
- +identity_uri = http://192.168.84.142:35357
- +admin_tenant_name = service
- +admin_user = glance
- +admin_password = y7u8i9YUI
- revocation_cache_time = 10
- [paste_deploy]
- @@ -395,7 +395,7 @@
- # service name removed. For example, if your paste section name is
- # [pipeline:glance-api-keystone], you would configure the flavor below
- # as 'keystone'.
- -#flavor=
- +flavor = keystone
- [store_type_location_strategy]
- # The scheme list to use to get store preference order. The scheme must be
- @@ -641,7 +641,7 @@
- # Info to match when looking for cinder in the service catalog
- # Format is : separated values of the form:
- # <service_type>:<service_name>:<endpoint_type> (string value)
- -#cinder_catalog_info = volume:cinder:publicURL
- +cinder_catalog_info = volume:cinder:publicURL
- # Override service catalog lookup with template for cinder endpoint
- # e.g. http://localhost:8776/v1/%(project_id)s (string value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement