summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-07-15 15:43:58 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:58 -0400
commita09d5bdcc421460b9dc9e1a052feadaeef4aff49 (patch)
treeb090a3d78fffb742e618bca0335c345ccc45d7ba /meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf
parent01ecebcecdfa79889dee478eedea1ab48a9e3ca6 (diff)
downloadmeta-cloud-services-a09d5bdcc421460b9dc9e1a052feadaeef4aff49.tar.gz
python-glance: Load credentials from the identity class
The configuration files are now automatically created from the templates. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf142
1 files changed, 0 insertions, 142 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf b/meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf
deleted file mode 100644
index 57b0dd9..0000000
--- a/meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf
+++ /dev/null
@@ -1,142 +0,0 @@
1[DEFAULT]
2# Show more verbose log output (sets INFO log level output)
3#verbose = False
4
5# Show debugging output in logs (sets DEBUG log level output)
6#debug = False
7
8log_file = /var/log/glance/image-cache.log
9
10# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
11#use_syslog = False
12
13# Directory that the Image Cache writes data to
14image_cache_dir = /var/lib/glance/image-cache/
15
16# Number of seconds after which we should consider an incomplete image to be
17# stalled and eligible for reaping
18image_cache_stall_time = 86400
19
20# image_cache_invalid_entry_grace_period - seconds
21#
22# If an exception is raised as we're writing to the cache, the cache-entry is
23# deemed invalid and moved to <image_cache_datadir>/invalid so that it can be
24# inspected for debugging purposes.
25#
26# This is number of seconds to leave these invalid images around before they
27# are elibible to be reaped.
28image_cache_invalid_entry_grace_period = 3600
29
30# Max cache size in bytes
31image_cache_max_size = 10737418240
32
33# Address to find the registry server
34registry_host = 0.0.0.0
35
36# Port the registry server is listening on
37registry_port = 9191
38
39# Auth settings if using Keystone
40# auth_url = http://127.0.0.1:5000/v2.0/
41# admin_tenant_name = %SERVICE_TENANT_NAME%
42# admin_user = %SERVICE_USER%
43# admin_password = %SERVICE_PASSWORD%
44
45# List of which store classes and store class locations are
46# currently known to glance at startup.
47# known_stores = glance.store.filesystem.Store,
48# glance.store.http.Store,
49# glance.store.rbd.Store,
50# glance.store.s3.Store,
51# glance.store.swift.Store,
52
53# ============ Filesystem Store Options ========================
54
55# Directory that the Filesystem backend store
56# writes image data to
57filesystem_store_datadir = /etc/glance/images/
58
59# ============ Swift Store Options =============================
60
61# Version of the authentication service to use
62# Valid versions are '2' for keystone and '1' for swauth and rackspace
63swift_store_auth_version = 2
64
65# Address where the Swift authentication service lives
66# Valid schemes are 'http://' and 'https://'
67# If no scheme specified, default to 'https://'
68# For swauth, use something like '127.0.0.1:8080/v1.0/'
69swift_store_auth_address = 127.0.0.1:5000/v2.0/
70
71# User to authenticate against the Swift authentication service
72# If you use Swift authentication service, set it to 'account':'user'
73# where 'account' is a Swift storage account and 'user'
74# is a user in that account
75swift_store_user = jdoe:jdoe
76
77# Auth key for the user authenticating against the
78# Swift authentication service
79swift_store_key = a86850deb2742ec3cb41518e26aa2d89
80
81# Container within the account that the account should use
82# for storing images in Swift
83swift_store_container = glance
84
85# Do we create the container if it does not exist?
86swift_store_create_container_on_put = False
87
88# What size, in MB, should Glance start chunking image files
89# and do a large object manifest in Swift? By default, this is
90# the maximum object size in Swift, which is 5GB
91swift_store_large_object_size = 5120
92
93# When doing a large object manifest, what size, in MB, should
94# Glance write chunks to Swift? This amount of data is written
95# to a temporary disk buffer during the process of chunking
96# the image file, and the default is 200MB
97swift_store_large_object_chunk_size = 200
98
99# Whether to use ServiceNET to communicate with the Swift storage servers.
100# (If you aren't RACKSPACE, leave this False!)
101#
102# To use ServiceNET for authentication, prefix hostname of
103# `swift_store_auth_address` with 'snet-'.
104# Ex. https://example.com/v1.0/ -> https://snet-example.com/v1.0/
105swift_enable_snet = False
106
107# ============ S3 Store Options =============================
108
109# Address where the S3 authentication service lives
110# Valid schemes are 'http://' and 'https://'
111# If no scheme specified, default to 'http://'
112s3_store_host = 127.0.0.1:8080/v1.0/
113
114# User to authenticate against the S3 authentication service
115s3_store_access_key = <20-char AWS access key>
116
117# Auth key for the user authenticating against the
118# S3 authentication service
119s3_store_secret_key = <40-char AWS secret key>
120
121# Container within the account that the account should use
122# for storing images in S3. Note that S3 has a flat namespace,
123# so you need a unique bucket name for your glance images. An
124# easy way to do this is append your AWS access key to "glance".
125# S3 buckets in AWS *must* be lowercased, so remember to lowercase
126# your AWS access key if you use it in your bucket name below!
127s3_store_bucket = <lowercased 20-char aws access key>glance
128
129# Do we create the bucket if it does not exist?
130s3_store_create_bucket_on_put = False
131
132# When sending images to S3, the data will first be written to a
133# temporary buffer on disk. By default the platform's temporary directory
134# will be used. If required, an alternative directory can be specified here.
135# s3_store_object_buffer_dir = /path/to/dir
136
137# ================= Security Options ==========================
138
139# AES key for encrypting store 'location' metadata, including
140# -- if used -- Swift or S3 credentials
141# Should be set to a random string of length 16, 24 or 32 bytes
142# metadata_encryption_key = <16, 24 or 32 char registry metadata key>