|
1 #################### |
|
2 # cinder.conf sample # |
|
3 #################### |
|
4 |
|
5 [DEFAULT] |
|
6 |
|
7 # |
|
8 # Options defined in cinder.openstack.common.cfg:CommonConfigOpts |
|
9 # |
|
10 |
|
11 # Print debugging output (boolean value) |
|
12 #debug=false |
|
13 |
|
14 # Print more verbose output (boolean value) |
|
15 #verbose=false |
|
16 |
|
17 # If this option is specified, the logging configuration file |
|
18 # specified is used and overrides any other logging options |
|
19 # specified. Please see the Python logging module |
|
20 # documentation for details on logging configuration files. |
|
21 # (string value) |
|
22 #log_config=<None> |
|
23 |
|
24 # A logging.Formatter log message format string which may use |
|
25 # any of the available logging.LogRecord attributes. Default: |
|
26 # %(default)s (string value) |
|
27 #log_format=%(asctime)s %(levelname)8s [%(name)s] %(message)s |
|
28 |
|
29 # Format string for %%(asctime)s in log records. Default: |
|
30 # %(default)s (string value) |
|
31 #log_date_format=%Y-%m-%d %H:%M:%S |
|
32 |
|
33 # (Optional) Name of log file to output to. If not set, |
|
34 # logging will go to stdout. (string value) |
|
35 #log_file=<None> |
|
36 |
|
37 # (Optional) The directory to keep log files in (will be |
|
38 # prepended to --log-file) (string value) |
|
39 #log_dir=<None> |
|
40 |
|
41 # Use syslog for logging. (boolean value) |
|
42 #use_syslog=false |
|
43 |
|
44 # syslog facility to receive log lines (string value) |
|
45 #syslog_log_facility=LOG_USER |
|
46 |
|
47 # Do not count snapshots against gigabytes quota (bool value) |
|
48 #no_snapshot_gb_quota=False |
|
49 |
|
50 # |
|
51 # Options defined in cinder.exception |
|
52 # |
|
53 |
|
54 # make exception message format errors fatal (boolean value) |
|
55 #fatal_exception_format_errors=false |
|
56 |
|
57 |
|
58 # |
|
59 # Options defined in cinder.flags |
|
60 # |
|
61 |
|
62 # Virtualization api connection type : libvirt, xenapi, or |
|
63 # fake (string value) |
|
64 #connection_type=<None> |
|
65 |
|
66 # The SQLAlchemy connection string used to connect to the |
|
67 # database (string value) |
|
68 #sql_connection=sqlite:///$state_path/$sqlite_db |
|
69 |
|
70 # Verbosity of SQL debugging information. 0=None, |
|
71 # 100=Everything (integer value) |
|
72 #sql_connection_debug=0 |
|
73 |
|
74 # File name for the paste.deploy config for cinder-api (string |
|
75 # value) |
|
76 #api_paste_config=api-paste.ini |
|
77 |
|
78 # Directory where the cinder python module is installed |
|
79 # (string value) |
|
80 #pybasedir=/usr/lib/python2.6/vendor-packages |
|
81 |
|
82 # Directory where cinder binaries are installed (string value) |
|
83 bindir=/usr/bin |
|
84 |
|
85 # Top-level directory for maintaining cinder's state (string |
|
86 # value) |
|
87 #state_path=$pybasedir |
|
88 |
|
89 # ip address of this host (string value) |
|
90 #my_ip=10.0.0.1 |
|
91 |
|
92 # default glance hostname or ip (string value) |
|
93 #glance_host=$my_ip |
|
94 |
|
95 # default glance port (integer value) |
|
96 #glance_port=9292 |
|
97 |
|
98 # A list of the glance api servers available to cinder |
|
99 # ([hostname|ip]:port) (list value) |
|
100 #glance_api_servers=$glance_host:$glance_port |
|
101 |
|
102 # default version of the glance api to use |
|
103 #glance_api_version=1 |
|
104 |
|
105 # Number retries when downloading an image from glance |
|
106 # (integer value) |
|
107 #glance_num_retries=0 |
|
108 |
|
109 # Allow to perform insecure SSL (https) requests to glance |
|
110 # (boolean value) |
|
111 #glance_api_insecure=false |
|
112 |
|
113 # the topic scheduler nodes listen on (string value) |
|
114 #scheduler_topic=cinder-scheduler |
|
115 |
|
116 # the topic volume nodes listen on (string value) |
|
117 #volume_topic=cinder-volume |
|
118 |
|
119 # Deploy v1 of the Cinder API. (boolean value) |
|
120 #enable_v1_api=true |
|
121 |
|
122 # Deploy v2 of the Cinder API. (boolean value) |
|
123 #enable_v2_api=true |
|
124 |
|
125 # whether to rate limit the api (boolean value) |
|
126 #api_rate_limit=true |
|
127 |
|
128 # Specify list of extensions to load when using |
|
129 # osapi_volume_extension option with |
|
130 # cinder.api.contrib.select_extensions (list value) |
|
131 #osapi_volume_ext_list= |
|
132 |
|
133 # osapi volume extension to load (multi valued) |
|
134 #osapi_volume_extension=cinder.api.contrib.standard_extensions |
|
135 |
|
136 # Base URL that will be presented to users in links to the |
|
137 # OpenStack Volume API (string value) |
|
138 #osapi_volume_base_URL=<None> |
|
139 |
|
140 # the maximum number of items returned in a single response |
|
141 # from a collection resource (integer value) |
|
142 #osapi_max_limit=1000 |
|
143 |
|
144 # the filename to use with sqlite (string value) |
|
145 #sqlite_db=cinder.sqlite |
|
146 |
|
147 # If passed, use synchronous mode for sqlite (boolean value) |
|
148 #sqlite_synchronous=true |
|
149 |
|
150 # timeout before idle sql connections are reaped (integer |
|
151 # value) |
|
152 #sql_idle_timeout=3600 |
|
153 |
|
154 # maximum db connection retries during startup. (setting -1 |
|
155 # implies an infinite retry count) (integer value) |
|
156 #sql_max_retries=10 |
|
157 |
|
158 # interval between retries of opening a sql connection |
|
159 # (integer value) |
|
160 #sql_retry_interval=10 |
|
161 |
|
162 # full class name for the Manager for volume (string value) |
|
163 #volume_manager=cinder.volume.manager.VolumeManager |
|
164 |
|
165 # full class name for the Manager for scheduler (string value) |
|
166 #scheduler_manager=cinder.scheduler.manager.SchedulerManager |
|
167 |
|
168 # Name of this node. This can be an opaque identifier. It is |
|
169 # not necessarily a hostname, FQDN, or IP address. (string |
|
170 # value) |
|
171 #host=cinder |
|
172 |
|
173 # availability zone of this node (string value) |
|
174 #storage_availability_zone=nova |
|
175 |
|
176 # Memcached servers or None for in process cache. (list value) |
|
177 #memcached_servers=<None> |
|
178 |
|
179 # default volume type to use (string value) |
|
180 #default_volume_type=<None> |
|
181 |
|
182 # time period to generate volume usages for. Time period must |
|
183 # be hour, day, month or year (string value) |
|
184 #volume_usage_audit_period=month |
|
185 |
|
186 # Path to the rootwrap configuration file to use for running |
|
187 # commands as root (string value) |
|
188 #rootwrap_config=/etc/cinder/rootwrap.conf |
|
189 |
|
190 # Whether to log monkey patching (boolean value) |
|
191 #monkey_patch=false |
|
192 |
|
193 # List of modules/decorators to monkey patch (list value) |
|
194 #monkey_patch_modules= |
|
195 |
|
196 # maximum time since last check-in for up service (integer |
|
197 # value) |
|
198 #service_down_time=60 |
|
199 |
|
200 # The full class name of the volume API class to use (string |
|
201 # value) |
|
202 #volume_api_class=cinder.volume.api.API |
|
203 |
|
204 # The strategy to use for auth. Supports noauth, keystone, and |
|
205 # deprecated. (string value) |
|
206 #auth_strategy=noauth |
|
207 |
|
208 # AMQP exchange to connect to if using RabbitMQ or Qpid |
|
209 # (string value) |
|
210 #control_exchange=cinder |
|
211 |
|
212 |
|
213 # |
|
214 # Options defined in cinder.policy |
|
215 # |
|
216 |
|
217 # JSON file representing policy (string value) |
|
218 #policy_file=policy.json |
|
219 |
|
220 # Rule checked when requested rule is not found (string value) |
|
221 #policy_default_rule=default |
|
222 |
|
223 |
|
224 # |
|
225 # Options defined in cinder.quota |
|
226 # |
|
227 |
|
228 # number of volumes allowed per project (integer value) |
|
229 #quota_volumes=10 |
|
230 |
|
231 # number of volume snapshots allowed per project (integer value) |
|
232 #quota_snapshots=10 |
|
233 |
|
234 # number of volume and snapshot gigabytes allowed per project (integer |
|
235 # value) |
|
236 #quota_gigabytes=1000 |
|
237 |
|
238 # number of seconds until a reservation expires (integer |
|
239 # value) |
|
240 #reservation_expire=86400 |
|
241 |
|
242 # count of reservations until usage is refreshed (integer |
|
243 # value) |
|
244 #until_refresh=0 |
|
245 |
|
246 # number of seconds between subsequent usage refreshes |
|
247 # (integer value) |
|
248 #max_age=0 |
|
249 |
|
250 # default driver to use for quota checks (string value) |
|
251 #quota_driver=cinder.quota.DbQuotaDriver |
|
252 |
|
253 |
|
254 # |
|
255 # Options defined in cinder.service |
|
256 # |
|
257 |
|
258 # seconds between nodes reporting state to datastore (integer |
|
259 # value) |
|
260 #report_interval=10 |
|
261 |
|
262 # seconds between running periodic tasks (integer value) |
|
263 #periodic_interval=60 |
|
264 |
|
265 # range of seconds to randomly delay when starting the |
|
266 # periodic task scheduler to reduce stampeding. (Disable by |
|
267 # setting to 0) (integer value) |
|
268 #periodic_fuzzy_delay=60 |
|
269 |
|
270 # IP address for OpenStack Volume API to listen (string value) |
|
271 #osapi_volume_listen=0.0.0.0 |
|
272 |
|
273 # port for os volume api to listen (integer value) |
|
274 #osapi_volume_listen_port=8776 |
|
275 |
|
276 |
|
277 # |
|
278 # Options defined in cinder.test |
|
279 # |
|
280 |
|
281 # File name of clean sqlite db (string value) |
|
282 #sqlite_clean_db=clean.sqlite |
|
283 |
|
284 # should we use everything for testing (boolean value) |
|
285 #fake_tests=true |
|
286 |
|
287 |
|
288 # |
|
289 # Options defined in cinder.wsgi |
|
290 # |
|
291 |
|
292 # Number of backlog requests to configure the socket with |
|
293 # (integer value) |
|
294 #backlog=4096 |
|
295 |
|
296 # Sets the value of TCP_KEEPIDLE in seconds for each server |
|
297 # socket. Not supported on OS X. (integer value) |
|
298 #tcp_keepidle=600 |
|
299 |
|
300 # CA certificate file to use to verify connecting clients |
|
301 # (string value) |
|
302 #ssl_ca_file=<None> |
|
303 |
|
304 # Certificate file to use when starting the server securely |
|
305 # (string value) |
|
306 #ssl_cert_file=<None> |
|
307 |
|
308 # Private key file to use when starting the server securely |
|
309 # (string value) |
|
310 #ssl_key_file=<None> |
|
311 |
|
312 |
|
313 # |
|
314 # Options defined in cinder.api.middleware.auth |
|
315 # |
|
316 |
|
317 # Treat X-Forwarded-For as the canonical remote address. Only |
|
318 # enable this if you have a sanitizing proxy. (boolean value) |
|
319 #use_forwarded_for=false |
|
320 |
|
321 |
|
322 # |
|
323 # Options defined in cinder.api.middleware.sizelimit |
|
324 # |
|
325 |
|
326 # Max size for body of a request (integer value) |
|
327 #osapi_max_request_body_size=114688 |
|
328 |
|
329 |
|
330 # |
|
331 # Options defined in cinder.common.deprecated |
|
332 # |
|
333 |
|
334 # make deprecations fatal (boolean value) |
|
335 #fatal_deprecations=false |
|
336 |
|
337 |
|
338 # |
|
339 # Options defined in cinder.db.api |
|
340 # |
|
341 |
|
342 # The backend to use for db (string value) |
|
343 #db_backend=sqlalchemy |
|
344 |
|
345 # Services to be added to the available pool on create |
|
346 # (boolean value) |
|
347 #enable_new_services=true |
|
348 |
|
349 # Template string to be used to generate volume names (string |
|
350 # value) |
|
351 #volume_name_template=volume-%s |
|
352 |
|
353 # Template string to be used to generate snapshot names |
|
354 # (string value) |
|
355 #snapshot_name_template=snapshot-%s |
|
356 |
|
357 # Template string to be used to generate backup names (string |
|
358 # value) |
|
359 #backup_name_template=backup-%s |
|
360 |
|
361 # |
|
362 # Options defined in cinder.db.base |
|
363 # |
|
364 |
|
365 # driver to use for database access (string value) |
|
366 #db_driver=cinder.db |
|
367 |
|
368 |
|
369 # |
|
370 # Options defined in cinder.image.image_utils |
|
371 # |
|
372 |
|
373 # parent dir for tempdir used for image conversion (string |
|
374 # value) |
|
375 #image_conversion_dir=/tmp |
|
376 |
|
377 |
|
378 # |
|
379 # Options defined in cinder.openstack.common.lockutils |
|
380 # |
|
381 |
|
382 # Whether to disable inter-process locks (boolean value) |
|
383 #disable_process_locking=false |
|
384 |
|
385 # Directory to use for lock files (string value) |
|
386 #lock_path=<None> |
|
387 |
|
388 |
|
389 # |
|
390 # Options defined in cinder.openstack.common.log |
|
391 # |
|
392 |
|
393 # Log output to a per-service log file in named directory |
|
394 # (string value) |
|
395 #logdir=<None> |
|
396 |
|
397 # Log output to a named file (string value) |
|
398 #logfile=<None> |
|
399 |
|
400 # Log output to standard error (boolean value) |
|
401 #use_stderr=true |
|
402 |
|
403 # Default file mode used when creating log files (string |
|
404 # value) |
|
405 #logfile_mode=0644 |
|
406 |
|
407 # format string to use for log messages with context (string |
|
408 # value) |
|
409 #logging_context_format_string=%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s] %(instance)s%(message)s |
|
410 |
|
411 # format string to use for log messages without context |
|
412 # (string value) |
|
413 #logging_default_format_string=%(asctime)s %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s |
|
414 |
|
415 # data to append to log format when level is DEBUG (string |
|
416 # value) |
|
417 #logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d |
|
418 |
|
419 # prefix each line of exception output with this format |
|
420 # (string value) |
|
421 #logging_exception_prefix=%(asctime)s %(process)d TRACE %(name)s %(instance)s |
|
422 |
|
423 # list of logger=LEVEL pairs (list value) |
|
424 #default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN |
|
425 |
|
426 # publish error events (boolean value) |
|
427 #publish_errors=false |
|
428 |
|
429 # If an instance is passed with the log message, format it |
|
430 # like this (string value) |
|
431 #instance_format="[instance: %(uuid)s] " |
|
432 |
|
433 # If an instance UUID is passed with the log message, format |
|
434 # it like this (string value) |
|
435 #instance_uuid_format="[instance: %(uuid)s] " |
|
436 |
|
437 |
|
438 # |
|
439 # Options defined in cinder.openstack.common.notifier.api |
|
440 # |
|
441 |
|
442 # Driver or drivers to handle sending notifications (multi |
|
443 # valued) |
|
444 |
|
445 # Default notification level for outgoing notifications |
|
446 # (string value) |
|
447 #default_notification_level=INFO |
|
448 |
|
449 # Default publisher_id for outgoing notifications (string |
|
450 # value) |
|
451 #default_publisher_id=$host |
|
452 |
|
453 |
|
454 # |
|
455 # Options defined in cinder.openstack.common.notifier.rabbit_notifier |
|
456 # |
|
457 |
|
458 # AMQP topic used for openstack notifications (list value) |
|
459 #notification_topics=notifications |
|
460 |
|
461 |
|
462 # |
|
463 # Options defined in cinder.openstack.common.rpc |
|
464 # |
|
465 |
|
466 # The messaging module to use, defaults to kombu. (string |
|
467 # value) |
|
468 #rpc_backend=cinder.openstack.common.rpc.impl_kombu |
|
469 |
|
470 # Size of RPC thread pool (integer value) |
|
471 #rpc_thread_pool_size=64 |
|
472 |
|
473 # Size of RPC connection pool (integer value) |
|
474 #rpc_conn_pool_size=30 |
|
475 |
|
476 # Seconds to wait for a response from call or multicall |
|
477 # (integer value) |
|
478 #rpc_response_timeout=60 |
|
479 |
|
480 # Seconds to wait before a cast expires (TTL). Only supported |
|
481 # by impl_zmq. (integer value) |
|
482 #rpc_cast_timeout=30 |
|
483 |
|
484 # Modules of exceptions that are permitted to be recreatedupon |
|
485 # receiving exception data from an rpc call. (list value) |
|
486 #allowed_rpc_exception_modules=cinder.openstack.common.exception,nova.exception,cinder.exception |
|
487 |
|
488 # If passed, use a fake RabbitMQ provider (boolean value) |
|
489 #fake_rabbit=false |
|
490 |
|
491 |
|
492 # |
|
493 # Options defined in cinder.openstack.common.rpc.impl_kombu |
|
494 # |
|
495 |
|
496 # SSL version to use (valid only if SSL enabled) (string |
|
497 # value) |
|
498 #kombu_ssl_version= |
|
499 |
|
500 # SSL key file (valid only if SSL enabled) (string value) |
|
501 #kombu_ssl_keyfile= |
|
502 |
|
503 # SSL cert file (valid only if SSL enabled) (string value) |
|
504 #kombu_ssl_certfile= |
|
505 |
|
506 # SSL certification authority file (valid only if SSL enabled) |
|
507 # (string value) |
|
508 #kombu_ssl_ca_certs= |
|
509 |
|
510 # The RabbitMQ broker address where a single node is used |
|
511 # (string value) |
|
512 #rabbit_host=localhost |
|
513 |
|
514 # The RabbitMQ broker port where a single node is used |
|
515 # (integer value) |
|
516 #rabbit_port=5672 |
|
517 |
|
518 # RabbitMQ HA cluster host:port pairs (list value) |
|
519 #rabbit_hosts=$rabbit_host:$rabbit_port |
|
520 |
|
521 # connect over SSL for RabbitMQ (boolean value) |
|
522 #rabbit_use_ssl=false |
|
523 |
|
524 # the RabbitMQ userid (string value) |
|
525 #rabbit_userid=guest |
|
526 |
|
527 # the RabbitMQ password (string value) |
|
528 #rabbit_password=guest |
|
529 |
|
530 # the RabbitMQ virtual host (string value) |
|
531 #rabbit_virtual_host=/ |
|
532 |
|
533 # how frequently to retry connecting with RabbitMQ (integer |
|
534 # value) |
|
535 #rabbit_retry_interval=1 |
|
536 |
|
537 # how long to backoff for between retries when connecting to |
|
538 # RabbitMQ (integer value) |
|
539 #rabbit_retry_backoff=2 |
|
540 |
|
541 # maximum retries with trying to connect to RabbitMQ (the |
|
542 # default of 0 implies an infinite retry count) (integer |
|
543 # value) |
|
544 #rabbit_max_retries=0 |
|
545 |
|
546 # use durable queues in RabbitMQ (boolean value) |
|
547 #rabbit_durable_queues=false |
|
548 |
|
549 # use H/A queues in RabbitMQ (x-ha-policy: all).You need to |
|
550 # wipe RabbitMQ database when changing this option. (boolean |
|
551 # value) |
|
552 #rabbit_ha_queues=false |
|
553 |
|
554 |
|
555 # |
|
556 # Options defined in cinder.openstack.common.rpc.impl_qpid |
|
557 # |
|
558 |
|
559 # Qpid broker hostname (string value) |
|
560 #qpid_hostname=localhost |
|
561 |
|
562 # Qpid broker port (string value) |
|
563 #qpid_port=5672 |
|
564 |
|
565 # Username for qpid connection (string value) |
|
566 #qpid_username= |
|
567 |
|
568 # Password for qpid connection (string value) |
|
569 #qpid_password= |
|
570 |
|
571 # Space separated list of SASL mechanisms to use for auth |
|
572 # (string value) |
|
573 #qpid_sasl_mechanisms= |
|
574 |
|
575 # Automatically reconnect (boolean value) |
|
576 #qpid_reconnect=true |
|
577 |
|
578 # Reconnection timeout in seconds (integer value) |
|
579 #qpid_reconnect_timeout=0 |
|
580 |
|
581 # Max reconnections before giving up (integer value) |
|
582 #qpid_reconnect_limit=0 |
|
583 |
|
584 # Minimum seconds between reconnection attempts (integer |
|
585 # value) |
|
586 #qpid_reconnect_interval_min=0 |
|
587 |
|
588 # Maximum seconds between reconnection attempts (integer |
|
589 # value) |
|
590 #qpid_reconnect_interval_max=0 |
|
591 |
|
592 # Equivalent to setting max and min to the same value (integer |
|
593 # value) |
|
594 #qpid_reconnect_interval=0 |
|
595 |
|
596 # Seconds between connection keepalive heartbeats (integer |
|
597 # value) |
|
598 #qpid_heartbeat=60 |
|
599 |
|
600 # Transport to use, either 'tcp' or 'ssl' (string value) |
|
601 #qpid_protocol=tcp |
|
602 |
|
603 # Disable Nagle algorithm (boolean value) |
|
604 #qpid_tcp_nodelay=true |
|
605 |
|
606 |
|
607 # |
|
608 # Options defined in cinder.openstack.common.rpc.impl_zmq |
|
609 # |
|
610 |
|
611 # ZeroMQ bind address. Should be a wildcard (*), an ethernet |
|
612 # interface, or IP. The "host" option should point or resolve |
|
613 # to this address. (string value) |
|
614 #rpc_zmq_bind_address=* |
|
615 |
|
616 # MatchMaker driver (string value) |
|
617 #rpc_zmq_matchmaker=cinder.openstack.common.rpc.matchmaker.MatchMakerLocalhost |
|
618 |
|
619 # ZeroMQ receiver listening port (integer value) |
|
620 #rpc_zmq_port=9501 |
|
621 |
|
622 # Number of ZeroMQ contexts, defaults to 1 (integer value) |
|
623 #rpc_zmq_contexts=1 |
|
624 |
|
625 # Directory for holding IPC sockets (string value) |
|
626 #rpc_zmq_ipc_dir=/var/run/openstack |
|
627 |
|
628 # Name of this node. Must be a valid hostname, FQDN, or IP |
|
629 # address. Must match "host" option, if running Nova. (string |
|
630 # value) |
|
631 #rpc_zmq_host=cinder |
|
632 |
|
633 |
|
634 # |
|
635 # Options defined in cinder.openstack.common.rpc.matchmaker |
|
636 # |
|
637 |
|
638 # Matchmaker ring file (JSON) (string value) |
|
639 #matchmaker_ringfile=/etc/nova/matchmaker_ring.json |
|
640 |
|
641 |
|
642 # |
|
643 # Options defined in cinder.scheduler.driver |
|
644 # |
|
645 |
|
646 # The scheduler host manager class to use (string value) |
|
647 #scheduler_host_manager=cinder.scheduler.host_manager.HostManager |
|
648 |
|
649 |
|
650 # |
|
651 # Options defined in cinder.scheduler.host_manager |
|
652 # |
|
653 |
|
654 # Which filter class names to use for filtering hosts when not |
|
655 # specified in the request. (list value) |
|
656 #scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter |
|
657 |
|
658 # Which weigher class names to use for weighing hosts. (list |
|
659 # value) |
|
660 #scheduler_default_weighers=CapacityWeigher |
|
661 |
|
662 |
|
663 # |
|
664 # Options defined in cinder.scheduler.manager |
|
665 # |
|
666 |
|
667 # Default scheduler driver to use (string value) |
|
668 #scheduler_driver=cinder.scheduler.simple.SimpleScheduler |
|
669 |
|
670 |
|
671 # |
|
672 # Options defined in cinder.scheduler.scheduler_options |
|
673 # |
|
674 |
|
675 # Absolute path to scheduler configuration JSON file. (string |
|
676 # value) |
|
677 #scheduler_json_config_location= |
|
678 |
|
679 |
|
680 # |
|
681 # Options defined in cinder.scheduler.simple |
|
682 # |
|
683 |
|
684 # maximum number of volume gigabytes to allow per host |
|
685 # (integer value) |
|
686 #max_gigabytes=10000 |
|
687 |
|
688 |
|
689 # |
|
690 # Options defined in cinder.scheduler.weights.capacity |
|
691 # |
|
692 |
|
693 # Multiplier used for weighing volume capacity. Negative |
|
694 # numbers mean to stack vs spread. (floating point value) |
|
695 #capacity_weight_multiplier=1.0 |
|
696 |
|
697 |
|
698 # |
|
699 # Options defined in cinder.volume.api |
|
700 # |
|
701 |
|
702 # Create volume from snapshot at the host where snapshot |
|
703 # resides (boolean value) |
|
704 #snapshot_same_host=true |
|
705 |
|
706 |
|
707 # |
|
708 # Options defined in cinder.volume.driver |
|
709 # |
|
710 |
|
711 # number of times to attempt to run flakey shell commands |
|
712 # (integer value) |
|
713 #num_shell_tries=3 |
|
714 |
|
715 # The percentage of backend capacity is reserved (integer |
|
716 # value) |
|
717 #reserved_percentage=0 |
|
718 |
|
719 # number of times to rescan iSCSI target to find volume |
|
720 # (integer value) |
|
721 #num_iscsi_scan_tries=3 |
|
722 |
|
723 # Number of iscsi target ids per host (integer value) |
|
724 #iscsi_num_targets=100 |
|
725 |
|
726 # prefix for iscsi volumes (string value) |
|
727 #iscsi_target_prefix=iqn.2010-10.org.openstack: |
|
728 |
|
729 # The port that the iSCSI daemon is listening on (string |
|
730 # value) |
|
731 #iscsi_ip_address=$my_ip |
|
732 |
|
733 # The port that the iSCSI daemon is listening on (integer |
|
734 # value) |
|
735 #iscsi_port=3260 |
|
736 |
|
737 # Optional override to the capacity based volume backend name |
|
738 # |
|
739 #volume_backend_name=LVM_iSCSI_unique1 |
|
740 |
|
741 # |
|
742 # Options defined in cinder.volume.drivers.glusterfs |
|
743 # |
|
744 |
|
745 # File with the list of available gluster shares (string |
|
746 # value) |
|
747 #glusterfs_shares_config=<None> |
|
748 |
|
749 # Base dir where gluster expected to be mounted (string value) |
|
750 #glusterfs_mount_point_base=$state_path/mnt |
|
751 |
|
752 # Use du or df for free space calculation (string value) |
|
753 #glusterfs_disk_util=df |
|
754 |
|
755 # Create volumes as sparsed files which take no space.If set |
|
756 # to False volume is created as regular file.In such case |
|
757 # volume creation takes a lot of time. (boolean value) |
|
758 #glusterfs_sparsed_volumes=true |
|
759 |
|
760 |
|
761 # |
|
762 # Options defined in cinder.volume.drivers.lvm |
|
763 # |
|
764 |
|
765 # Name for the VG that will contain exported volumes (string |
|
766 # value) |
|
767 #volume_group=cinder-volumes |
|
768 |
|
769 # Method used to wipe old volumes (valid options are: none, |
|
770 # zero, shred) (string value) |
|
771 #volume_clear=zero |
|
772 |
|
773 # Size in MiB to wipe at start of old volumes. 0 => all |
|
774 # (integer value) |
|
775 #volume_clear_size=0 |
|
776 |
|
777 # Size of thin provisioning pool (None uses entire cinder VG) |
|
778 # (string value) |
|
779 #pool_size=<None> |
|
780 |
|
781 # If set, create lvms with multiple mirrors. Note that this |
|
782 # requires lvm_mirrors + 2 pvs with available space (integer |
|
783 # value) |
|
784 #lvm_mirrors=0 |
|
785 |
|
786 |
|
787 # |
|
788 # Options defined in cinder.volume.drivers.netapp |
|
789 # |
|
790 |
|
791 # URL of the WSDL file for the DFM server (string value) |
|
792 #netapp_wsdl_url=<None> |
|
793 |
|
794 # User name for the DFM server (string value) |
|
795 #netapp_login=<None> |
|
796 |
|
797 # Password for the DFM server (string value) |
|
798 #netapp_password=<None> |
|
799 |
|
800 # Hostname for the DFM server (string value) |
|
801 #netapp_server_hostname=<None> |
|
802 |
|
803 # Port number for the DFM server (integer value) |
|
804 #netapp_server_port=8088 |
|
805 |
|
806 # Storage service to use for provisioning (when |
|
807 # volume_type=None) (string value) |
|
808 #netapp_storage_service=<None> |
|
809 |
|
810 # Prefix of storage service name to use for provisioning |
|
811 # (volume_type name will be appended) (string value) |
|
812 #netapp_storage_service_prefix=<None> |
|
813 |
|
814 # Vfiler to use for provisioning (string value) |
|
815 #netapp_vfiler=<None> |
|
816 |
|
817 |
|
818 # |
|
819 # Options defined in cinder.volume.drivers.netapp_nfs |
|
820 # |
|
821 |
|
822 # Does snapshot creation call returns immediately (integer |
|
823 # value) |
|
824 #synchronous_snapshot_create=0 |
|
825 |
|
826 # URL of the WSDL file for the DFM server (string value) |
|
827 #netapp_wsdl_url=<None> |
|
828 |
|
829 # User name for the DFM server (string value) |
|
830 #netapp_login=<None> |
|
831 |
|
832 # Password for the DFM server (string value) |
|
833 #netapp_password=<None> |
|
834 |
|
835 # Hostname for the DFM server (string value) |
|
836 #netapp_server_hostname=<None> |
|
837 |
|
838 # Port number for the DFM server (integer value) |
|
839 #netapp_server_port=8088 |
|
840 |
|
841 # Storage service to use for provisioning (when |
|
842 # volume_type=None) (string value) |
|
843 #netapp_storage_service=<None> |
|
844 |
|
845 # Prefix of storage service name to use for provisioning |
|
846 # (volume_type name will be appended) (string value) |
|
847 #netapp_storage_service_prefix=<None> |
|
848 |
|
849 # Vfiler to use for provisioning (string value) |
|
850 #netapp_vfiler=<None> |
|
851 |
|
852 |
|
853 # |
|
854 # Options defined in cinder.volume.drivers.nexenta.volume |
|
855 # |
|
856 |
|
857 # IP address of Nexenta SA (string value) |
|
858 #nexenta_host= |
|
859 |
|
860 # HTTP port to connect to Nexenta REST API server (integer |
|
861 # value) |
|
862 #nexenta_rest_port=2000 |
|
863 |
|
864 # Use http or https for REST connection (default auto) (string |
|
865 # value) |
|
866 #nexenta_rest_protocol=auto |
|
867 |
|
868 # User name to connect to Nexenta SA (string value) |
|
869 #nexenta_user=admin |
|
870 |
|
871 # Password to connect to Nexenta SA (string value) |
|
872 #nexenta_password=nexenta |
|
873 |
|
874 # Nexenta target portal port (integer value) |
|
875 #nexenta_iscsi_target_portal_port=3260 |
|
876 |
|
877 # pool on SA that will hold all volumes (string value) |
|
878 #nexenta_volume=cinder |
|
879 |
|
880 # IQN prefix for iSCSI targets (string value) |
|
881 #nexenta_target_prefix=iqn.1986-03.com.sun:02:cinder- |
|
882 |
|
883 # prefix for iSCSI target groups on SA (string value) |
|
884 #nexenta_target_group_prefix=cinder/ |
|
885 |
|
886 # block size for volumes (blank=default,8KB) (string value) |
|
887 #nexenta_blocksize= |
|
888 |
|
889 # flag to create sparse volumes (boolean value) |
|
890 #nexenta_sparse=false |
|
891 |
|
892 |
|
893 # |
|
894 # Options defined in cinder.volume.drivers.nfs |
|
895 # |
|
896 |
|
897 # File with the list of available nfs shares (string value) |
|
898 #nfs_shares_config=<None> |
|
899 |
|
900 # Base dir where nfs expected to be mounted (string value) |
|
901 #nfs_mount_point_base=$state_path/mnt |
|
902 |
|
903 # Use du or df for free space calculation (string value) |
|
904 #nfs_disk_util=df |
|
905 |
|
906 # Create volumes as sparsed files which take no space.If set |
|
907 # to False volume is created as regular file.In such case |
|
908 # volume creation takes a lot of time. (boolean value) |
|
909 #nfs_sparsed_volumes=true |
|
910 |
|
911 # Mount options passed to the nfs client (string value) |
|
912 # The value set here is passed directly to the -o flag |
|
913 # of the mount command. See the nfs man page for details. |
|
914 #nfs_mount_options=None |
|
915 |
|
916 |
|
917 # |
|
918 # Options defined in cinder.volume.drivers.rbd |
|
919 # |
|
920 |
|
921 # the RADOS pool in which rbd volumes are stored (string |
|
922 # value) |
|
923 #rbd_pool=rbd |
|
924 |
|
925 # the RADOS client name for accessing rbd volumes (string |
|
926 # value) |
|
927 #rbd_user=<None> |
|
928 |
|
929 # the libvirt uuid of the secret for the rbd_uservolumes |
|
930 # (string value) |
|
931 #rbd_secret_uuid=<None> |
|
932 |
|
933 # where to store temporary image files if the volume driver |
|
934 # does not write them directly to the volume (string value) |
|
935 #volume_tmp_dir=<None> |
|
936 |
|
937 |
|
938 # |
|
939 # Options defined in cinder.volume.drivers.san.san |
|
940 # |
|
941 |
|
942 # Use thin provisioning for SAN volumes? (boolean value) |
|
943 #san_thin_provision=true |
|
944 |
|
945 # IP address of SAN controller (string value) |
|
946 #san_ip= |
|
947 |
|
948 # Username for SAN controller (string value) |
|
949 #san_login=admin |
|
950 |
|
951 # Password for SAN controller (string value) |
|
952 #san_password= |
|
953 |
|
954 # Filename of private key to use for SSH authentication |
|
955 # (string value) |
|
956 #san_private_key= |
|
957 |
|
958 # Cluster name to use for creating volumes (string value) |
|
959 #san_clustername= |
|
960 |
|
961 # SSH port to use with SAN (integer value) |
|
962 #san_ssh_port=22 |
|
963 |
|
964 # Execute commands locally instead of over SSH; use if the |
|
965 # volume service is running on the SAN device (boolean value) |
|
966 #san_is_local=false |
|
967 |
|
968 # SSH connection timeout in seconds (integer value) |
|
969 #ssh_conn_timeout=30 |
|
970 |
|
971 # Minimum ssh connections in the pool (integer value) |
|
972 #ssh_min_pool_conn=1 |
|
973 |
|
974 # Maximum ssh connections in the pool (integer value) |
|
975 #ssh_max_pool_conn=5 |
|
976 |
|
977 |
|
978 # |
|
979 # Options defined in cinder.volume.drivers.san.solaris |
|
980 # |
|
981 |
|
982 # The ZFS path under which to create zvols for volumes. |
|
983 # (string value) |
|
984 #san_zfs_volume_base=rpool/ |
|
985 |
|
986 |
|
987 # |
|
988 # Options defined in cinder.volume.drivers.scality |
|
989 # |
|
990 |
|
991 # Path or URL to Scality SOFS configuration file (string |
|
992 # value) |
|
993 #scality_sofs_config=<None> |
|
994 |
|
995 # Base dir where Scality SOFS shall be mounted (string value) |
|
996 #scality_sofs_mount_point=$state_path/scality |
|
997 |
|
998 # Path from Scality SOFS root to volume dir (string value) |
|
999 #scality_sofs_volume_dir=cinder/volumes |
|
1000 |
|
1001 |
|
1002 # |
|
1003 # Options defined in cinder.volume.drivers.solidfire |
|
1004 # |
|
1005 |
|
1006 # Set 512 byte emulation on volume creation; (boolean value) |
|
1007 #sf_emulate_512=true |
|
1008 |
|
1009 # Allow tenants to specify QOS on create (boolean value) |
|
1010 #sf_allow_tenant_qos=false |
|
1011 |
|
1012 |
|
1013 # |
|
1014 # Options defined in cinder.volume.drivers.storwize_svc |
|
1015 # |
|
1016 |
|
1017 # Storage system storage pool for volumes (string value) |
|
1018 #storwize_svc_volpool_name=volpool |
|
1019 |
|
1020 # Storage system space-efficiency parameter for volumes |
|
1021 # (string value) |
|
1022 #storwize_svc_vol_rsize=2% |
|
1023 |
|
1024 # Storage system threshold for volume capacity warnings |
|
1025 # (string value) |
|
1026 #storwize_svc_vol_warning=0 |
|
1027 |
|
1028 # Storage system autoexpand parameter for volumes (True/False) |
|
1029 # (boolean value) |
|
1030 #storwize_svc_vol_autoexpand=true |
|
1031 |
|
1032 # Storage system grain size parameter for volumes |
|
1033 # (32/64/128/256) (string value) |
|
1034 #storwize_svc_vol_grainsize=256 |
|
1035 |
|
1036 # Storage system compression option for volumes (boolean |
|
1037 # value) |
|
1038 #storwize_svc_vol_compression=false |
|
1039 |
|
1040 # Enable Easy Tier for volumes (boolean value) |
|
1041 #storwize_svc_vol_easytier=true |
|
1042 |
|
1043 # Maximum number of seconds to wait for FlashCopy to be |
|
1044 # prepared. Maximum value is 600 seconds (10 minutes). (string |
|
1045 # value) |
|
1046 #storwize_svc_flashcopy_timeout=120 |
|
1047 |
|
1048 |
|
1049 # |
|
1050 # Options defined in cinder.volume.drivers.windows |
|
1051 # |
|
1052 |
|
1053 # Path to store VHD backed volumes (string value) |
|
1054 #windows_iscsi_lun_path=C:\iSCSIVirtualDisks |
|
1055 |
|
1056 |
|
1057 # |
|
1058 # Options defined in cinder.volume.drivers.xenapi.sm |
|
1059 # |
|
1060 |
|
1061 # NFS server to be used by XenAPINFSDriver (string value) |
|
1062 #xenapi_nfs_server=<None> |
|
1063 |
|
1064 # Path of exported NFS, used by XenAPINFSDriver (string value) |
|
1065 #xenapi_nfs_serverpath=<None> |
|
1066 |
|
1067 # URL for XenAPI connection (string value) |
|
1068 #xenapi_connection_url=<None> |
|
1069 |
|
1070 # Username for XenAPI connection (string value) |
|
1071 #xenapi_connection_username=root |
|
1072 |
|
1073 # Password for XenAPI connection (string value) |
|
1074 #xenapi_connection_password=<None> |
|
1075 |
|
1076 |
|
1077 # |
|
1078 # Options defined in cinder.volume.drivers.xiv |
|
1079 # |
|
1080 |
|
1081 # Proxy driver (string value) |
|
1082 #xiv_proxy=xiv_openstack.nova_proxy.XIVNovaProxy |
|
1083 |
|
1084 |
|
1085 # |
|
1086 # Options defined in cinder.volume.drivers.zadara |
|
1087 # |
|
1088 |
|
1089 # Management IP of Zadara VPSA (string value) |
|
1090 #zadara_vpsa_ip=<None> |
|
1091 |
|
1092 # Zadara VPSA port number (string value) |
|
1093 #zadara_vpsa_port=<None> |
|
1094 |
|
1095 # Use SSL connection (boolean value) |
|
1096 #zadara_vpsa_use_ssl=false |
|
1097 |
|
1098 # User name for the VPSA (string value) |
|
1099 #zadara_user=<None> |
|
1100 |
|
1101 # Password for the VPSA (string value) |
|
1102 #zadara_password=<None> |
|
1103 |
|
1104 # Name of VPSA storage pool for volumes (string value) |
|
1105 #zadara_vpsa_poolname=<None> |
|
1106 |
|
1107 # Default cache policy for volumes (string value) |
|
1108 #zadara_default_cache_policy=write-through |
|
1109 |
|
1110 # Default encryption policy for volumes (string value) |
|
1111 #zadara_default_encryption=NO |
|
1112 |
|
1113 # Default striping mode for volumes (string value) |
|
1114 #zadara_default_striping_mode=simple |
|
1115 |
|
1116 # Default stripe size for volumes (string value) |
|
1117 #zadara_default_stripesize=64 |
|
1118 |
|
1119 # Default template for VPSA volume names (string value) |
|
1120 #zadara_vol_name_template=OS_%s |
|
1121 |
|
1122 # Automatically detach from servers on volume delete (boolean |
|
1123 # value) |
|
1124 #zadara_vpsa_auto_detach_on_delete=true |
|
1125 |
|
1126 # Don't halt on deletion of non-existing volumes (boolean |
|
1127 # value) |
|
1128 #zadara_vpsa_allow_nonexistent_delete=true |
|
1129 |
|
1130 |
|
1131 # |
|
1132 # Options defined in cinder.volume.iscsi |
|
1133 # |
|
1134 |
|
1135 # iscsi target user-land tool to use (string value) |
|
1136 #iscsi_helper=tgtadm |
|
1137 |
|
1138 # Volume configuration file storage directory (string value) |
|
1139 #volumes_dir=$state_path/volumes |
|
1140 |
|
1141 # IET configuration file (string value) |
|
1142 #iet_conf=/etc/iet/ietd.conf |
|
1143 |
|
1144 # Comma-separatd list of initiator IQNs allowed to connect to |
|
1145 # the iSCSI target. (From Nova compute nodes.) (string value) |
|
1146 #lio_initiator_iqns= |
|
1147 |
|
1148 |
|
1149 # |
|
1150 # Options defined in cinder.volume.manager |
|
1151 # |
|
1152 |
|
1153 # Driver to use for volume creation (string value) |
|
1154 # The local ZFS driver provides direct access to ZFS volumes that it |
|
1155 # creates. The iSCSI ZFS driver provides the access to local ZFS volumes |
|
1156 # using iSCSI over loopback and may be more suitable for future use of |
|
1157 # features such as live migration of Nova instances. |
|
1158 volume_driver=cinder.volume.drivers.solaris.zfs.ZFSVolumeDriver |
|
1159 #volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver |
|
1160 |
|
1161 |
|
1162 # |
|
1163 # Options defined in cinder.volume.drivers.solaris.zfs |
|
1164 # |
|
1165 |
|
1166 # The base dataset for ZFS cinder volumes. |
|
1167 #zfs_volume_base=rpool/cinder |
|
1168 |
|
1169 |
|
1170 # |
|
1171 # Multi backend options |
|
1172 # |
|
1173 |
|
1174 # Define the names of the groups for multiple volume backends |
|
1175 #enabled_backends=fakedriver,lvmdriver |
|
1176 |
|
1177 # Define the groups as above |
|
1178 #[lvmdriver] |
|
1179 #volume_group=lvm-group-1 |
|
1180 #volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver |
|
1181 #volume_backend_name=LVM_iSCSI_unique1 |
|
1182 #[fakedriver] |
|
1183 #volume_driver=cinder.volume.driver.FakeISCSIDriver |
|
1184 |
|
1185 |
|
1186 # Total option count: 256 |