3 #verbose = False |
3 #verbose = False |
4 |
4 |
5 # Show debugging output in logs (sets DEBUG log level output) |
5 # Show debugging output in logs (sets DEBUG log level output) |
6 #debug = False |
6 #debug = False |
7 |
7 |
8 # Log to this file. Make sure you do not set the same log |
8 # Log to this file. Make sure you do not set the same log file for both the API |
9 # file for both the API and registry servers! |
9 # and registry servers! |
|
10 # |
|
11 # If `log_file` is omitted and `use_syslog` is false, then log messages are |
|
12 # sent to stdout as a fallback. |
10 log_file = /var/log/glance/scrubber.log |
13 log_file = /var/log/glance/scrubber.log |
11 |
14 |
12 # Send logs to syslog (/dev/log) instead of to file specified by `log_file` |
15 # Send logs to syslog (/dev/log) instead of to file specified by `log_file` |
13 #use_syslog = False |
16 #use_syslog = False |
14 |
17 |
43 # Directory to use for lock files. Default to a temp directory |
46 # Directory to use for lock files. Default to a temp directory |
44 # (string value). This setting needs to be the same for both |
47 # (string value). This setting needs to be the same for both |
45 # glance-scrubber and glance-api. |
48 # glance-scrubber and glance-api. |
46 #lock_path=<None> |
49 #lock_path=<None> |
47 |
50 |
|
51 # API to use for accessing data. Default value points to sqlalchemy |
|
52 # package, it is also possible to use: glance.db.registry.api |
|
53 #data_api = glance.db.sqlalchemy.api |
|
54 |
48 # ================= Security Options ========================== |
55 # ================= Security Options ========================== |
49 |
56 |
50 # AES key for encrypting store 'location' metadata, including |
57 # AES key for encrypting store 'location' metadata, including |
51 # -- if used -- Swift or S3 credentials |
58 # -- if used -- Swift or S3 credentials |
52 # Should be set to a random string of length 16, 24 or 32 bytes |
59 # Should be set to a random string of length 16, 24 or 32 bytes |
53 #metadata_encryption_key = <16, 24 or 32 char registry metadata key> |
60 #metadata_encryption_key = <16, 24 or 32 char registry metadata key> |
54 |
61 |
|
62 # ================= Database Options ===============+========== |
|
63 |
|
64 [database] |
|
65 |
|
66 # The SQLAlchemy connection string used to connect to the |
|
67 # database (string value) |
|
68 connection=mysql://%SERVICE_USER%:%SERVICE_PASSWORD%@localhost/glance |
|
69 |
|
70 # The SQLAlchemy connection string used to connect to the |
|
71 # slave database (string value) |
|
72 #slave_connection= |
|
73 |
|
74 # timeout before idle sql connections are reaped (integer |
|
75 # value) |
|
76 #idle_timeout=3600 |
|
77 |
|
78 # Minimum number of SQL connections to keep open in a pool |
|
79 # (integer value) |
|
80 #min_pool_size=1 |
|
81 |
|
82 # Maximum number of SQL connections to keep open in a pool |
|
83 # (integer value) |
|
84 #max_pool_size=<None> |
|
85 |
|
86 # maximum db connection retries during startup. (setting -1 |
|
87 # implies an infinite retry count) (integer value) |
|
88 #max_retries=10 |
|
89 |
|
90 # interval between retries of opening a sql connection |
|
91 # (integer value) |
|
92 #retry_interval=10 |
|
93 |
|
94 # If set, use this value for max_overflow with sqlalchemy |
|
95 # (integer value) |
|
96 #max_overflow=<None> |
|
97 |
|
98 # Verbosity of SQL debugging information. 0=None, |
|
99 # 100=Everything (integer value) |
|
100 #connection_debug=0 |
|
101 |
|
102 # Add python stack traces to SQL as comment strings (boolean |
|
103 # value) |
|
104 #connection_trace=false |
|
105 |
|
106 # If set, use this value for pool_timeout with sqlalchemy |
|
107 # (integer value) |
|
108 #pool_timeout=<None> |
|
109 |
|
110 [glance_store] |
|
111 |
55 # ============ Filesystem Store Options ======================== |
112 # ============ Filesystem Store Options ======================== |
56 |
113 |
57 # Directory that the Filesystem backend store |
114 # Directory that the Filesystem backend store |
58 # writes image data to |
115 # writes image data to |
59 filesystem_store_datadir = /var/lib/glance/images/ |
116 filesystem_store_datadir = /var/lib/glance/images/ |
60 |
|