~james-page/charms/trusty/glance/tox

« back to all changes in this revision

Viewing changes to templates/kilo/glance-api.conf

  • Committer: Liam Young
  • Date: 2015-06-04 08:44:46 UTC
  • mfrom: (117 glance)
  • mto: This revision was merged to the branch mainline in revision 118.
  • Revision ID: liam.young@canonical.com-20150604084446-xsroavxpfefmfynj
Resync le charm helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
use_syslog = {{ use_syslog }}
4
4
debug = {{ debug }}
5
5
workers = {{ workers }}
6
 
 
7
 
known_stores = {{ known_stores }}
8
 
{% if rbd_pool -%}
9
 
default_store = rbd
10
 
{% elif swift_store -%}
11
 
default_store = swift
12
 
{% else -%}
13
 
default_store = file
14
 
{% endif -%}
15
 
 
16
6
bind_host = {{ bind_host }}
17
7
 
18
8
{% if ext -%}
40
30
notification_driver = rabbit
41
31
{% endif -%}
42
32
 
 
33
delayed_delete = False
 
34
scrub_time = 43200
 
35
scrubber_datadir = /var/lib/glance/scrubber
 
36
image_cache_dir = /var/lib/glance/image-cache/
 
37
db_enforce_mysql_charset = False
 
38
 
 
39
[glance_store]
 
40
filesystem_store_datadir = /var/lib/glance/images/
 
41
stores = {{ known_stores }}
 
42
{% if rbd_pool -%}
 
43
default_store = rbd
 
44
{% elif swift_store -%}
 
45
default_store = swift
 
46
{% else -%}
 
47
default_store = file
 
48
{% endif -%}
 
49
 
43
50
{% if swift_store -%}
44
51
swift_store_auth_version = 2
45
52
swift_store_auth_address = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0/
59
66
rbd_store_chunk_size = 8
60
67
{% endif -%}
61
68
 
62
 
delayed_delete = False
63
 
scrub_time = 43200
64
 
scrubber_datadir = /var/lib/glance/scrubber
65
 
image_cache_dir = /var/lib/glance/image-cache/
66
 
db_enforce_mysql_charset = False
67
 
 
68
 
[glance_store]
69
 
filesystem_store_datadir = /var/lib/glance/images/
70
 
 
71
69
[image_format]
72
70
disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,root-tar
73
71