Skip to content

Instantly share code, notes, and snippets.

@dmz006
Created April 7, 2015 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmz006/ea26983ddda9730940fe to your computer and use it in GitHub Desktop.
Save dmz006/ea26983ddda9730940fe to your computer and use it in GitHub Desktop.
glance-api.conf
[DEFAULT]
verbose = True
debug = true
default_store = swift
bind_host = 0.0.0.0
bind_port = 9292
log_file = /var/log/glance/api.log
backlog = 4096
registry_host = 0.0.0.0
registry_port = 9191
registry_client_protocol = http
notification_driver = messagingv2
rpc_backend = rabbit
rabbit_host = controller
rabbit_port = 5672
rabbit_use_ssl = false
rabbit_password = rabbit_password
rabbit_virtual_host = /
rabbit_notification_exchange = glance
rabbit_notification_topic = notifications
rabbit_durable_queues = False
qpid_notification_exchange = glance
qpid_notification_topic = notifications
qpid_hostname = localhost
qpid_port = 5672
qpid_username =
qpid_password =
qpid_sasl_mechanisms =
qpid_reconnect_timeout = 0
qpid_reconnect_limit = 0
qpid_reconnect_interval_min = 0
qpid_reconnect_interval_max = 0
qpid_reconnect_interval = 0
qpid_heartbeat = 5
qpid_protocol = tcp
qpid_tcp_nodelay = True
delayed_delete = False
scrub_time = 43200
scrubber_datadir = /var/lib/glance/scrubber
image_cache_dir = /var/lib/glance/image-cache/
[database]
backend = sqlalchemy
connection = mysql://glance:glancedbpassword@glance-db/glance
[keystone_authtoken]
revocation_cache_time = 10
auth_uri = https://keystoneserver:5000/v2.0
identity_uri = https://keystoneserver:35357
admin_tenant_name = service
admin_user = glance
admin_password = glanceadminpassword
[paste_deploy]
flavor = keystone
[store_type_location_strategy]
[profiler]
[task]
[glance_store]
stores = glance.store.swift.Store, glance.store.http.Store
swift_store_auth_version = 2
swift_store_auth_address = https://keystoneserver:35357/v2.0/
swift_store_user = service:glance
swift_store_key = swift_glance_password
swift_store_container = glance
swift_store_create_container_on_put = True
swift_store_large_object_size = 5120
swift_store_large_object_chunk_size = 200
swift_enable_snet = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment