diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-05-17 17:40:16 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:55 -0400 |
| commit | e389509c330c30b0cb7fc697aa513310490d3529 (patch) | |
| tree | f2752dfb40c71f8529503577f6bba3b1430897a0 /meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf | |
| parent | 323ea06754956040dd470fd0b37b015db5058cc5 (diff) | |
| download | meta-cloud-services-e389509c330c30b0cb7fc697aa513310490d3529.tar.gz | |
python-glance: added 2013.1
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.conf | 142 |
1 files changed, 142 insertions, 0 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 new file mode 100644 index 0000000..57b0dd9 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-glance/glance-cache.conf | |||
| @@ -0,0 +1,142 @@ | |||
| 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 | |||
| 8 | log_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 | ||
| 14 | image_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 | ||
| 18 | image_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. | ||
| 28 | image_cache_invalid_entry_grace_period = 3600 | ||
| 29 | |||
| 30 | # Max cache size in bytes | ||
| 31 | image_cache_max_size = 10737418240 | ||
| 32 | |||
| 33 | # Address to find the registry server | ||
| 34 | registry_host = 0.0.0.0 | ||
| 35 | |||
| 36 | # Port the registry server is listening on | ||
| 37 | registry_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 | ||
| 57 | filesystem_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 | ||
| 63 | swift_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/' | ||
| 69 | swift_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 | ||
| 75 | swift_store_user = jdoe:jdoe | ||
| 76 | |||
| 77 | # Auth key for the user authenticating against the | ||
| 78 | # Swift authentication service | ||
| 79 | swift_store_key = a86850deb2742ec3cb41518e26aa2d89 | ||
| 80 | |||
| 81 | # Container within the account that the account should use | ||
| 82 | # for storing images in Swift | ||
| 83 | swift_store_container = glance | ||
| 84 | |||
| 85 | # Do we create the container if it does not exist? | ||
| 86 | swift_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 | ||
| 91 | swift_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 | ||
| 97 | swift_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/ | ||
| 105 | swift_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://' | ||
| 112 | s3_store_host = 127.0.0.1:8080/v1.0/ | ||
| 113 | |||
| 114 | # User to authenticate against the S3 authentication service | ||
| 115 | s3_store_access_key = <20-char AWS access key> | ||
| 116 | |||
| 117 | # Auth key for the user authenticating against the | ||
| 118 | # S3 authentication service | ||
| 119 | s3_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! | ||
| 127 | s3_store_bucket = <lowercased 20-char aws access key>glance | ||
| 128 | |||
| 129 | # Do we create the bucket if it does not exist? | ||
| 130 | s3_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> | ||
