blob: d1b51a849d6c64be2a475ecdc9cc8067638c211d [file] [log] [blame]
Oleh Hryhorov37b42442018-05-15 17:40:47 +04001{%- from "cinder/map.jinja" import volume with context %}
2[DEFAULT]
3
4#
5# From cinder
6#
7
8rootwrap_config = /etc/cinder/rootwrap.conf
9api_paste_confg = /etc/cinder/api-paste.ini
10
11{%- set _data = volume.message_queue %}
12{%- include "oslo_templates/files/queens/oslo/messaging/_default.conf" %}
13
14{%- if volume.logging is defined %}
15{%- set _data = volume.logging %}
16{%- include "oslo_templates/files/queens/oslo/_log.conf" %}
17{%- endif %}
18
19# The maximum number of items that a collection resource returns in a single
20# response (integer value)
21#osapi_max_limit = 1000
22
23# Json file indicating user visible filter parameters for list queries. (string
24# value)
25# Deprecated group/name - [DEFAULT]/query_volume_filters
26#resource_query_filters_file = /etc/cinder/resource_filters.json
27
28# DEPRECATED: Volume filter options which non-admin user could use to query
29# volumes. Default values are: ['name', 'status', 'metadata',
30# 'availability_zone' ,'bootable', 'group_id'] (list value)
31# This option is deprecated for removal.
32# Its value may be silently ignored in the future.
33#query_volume_filters = name,status,metadata,availability_zone,bootable,group_id
34{%- if volume.query_volume_filters is defined %}
35query_volume_filters = {{ volume.query_volume_filters|join(",") }}
36{%- endif %}
37
38# DEPRECATED: Allow the ability to modify the extra-spec settings of an in-use
39# volume-type. (boolean value)
40# This option is deprecated for removal.
41# Its value may be silently ignored in the future.
42#allow_inuse_volume_type_modification = false
43
44# Treat X-Forwarded-For as the canonical remote address. Only enable this if
45# you have a sanitizing proxy. (boolean value)
46#use_forwarded_for = false
47
48# Public url to use for versions endpoint. The default is None, which will use
49# the request's host_url attribute to populate the URL base. If Cinder is
50# operating behind a proxy, you will want to change this to represent the
51# proxy's URL. (string value)
52#public_endpoint = <None>
53
54# Backup services use same backend. (boolean value)
55#backup_use_same_host = false
56
57# Compression algorithm (None to disable) (string value)
58# Possible values:
59# none - <No description provided>
60# off - <No description provided>
61# no - <No description provided>
62# zlib - <No description provided>
63# gzip - <No description provided>
64# bz2 - <No description provided>
65# bzip2 - <No description provided>
66#backup_compression_algorithm = zlib
67
68# Backup metadata version to be used when backing up volume metadata. If this
69# number is bumped, make sure the service doing the restore supports the new
70# version. (integer value)
71#backup_metadata_version = 2
72
73# The number of chunks or objects, for which one Ceilometer notification will
74# be sent (integer value)
75#backup_object_number_per_notification = 10
76
77# Interval, in seconds, between two progress notifications reporting the backup
78# status (integer value)
79#backup_timer_interval = 120
80
81# Ceph configuration file to use. (string value)
82#backup_ceph_conf = /etc/ceph/ceph.conf
83
84# The Ceph user to connect with. Default here is to use the same user as for
85# Cinder volumes. If not using cephx this should be set to None. (string value)
86#backup_ceph_user = cinder
87
88# The chunk size, in bytes, that a backup is broken into before transfer to the
89# Ceph object store. (integer value)
90#backup_ceph_chunk_size = 134217728
91
92# The Ceph pool where volume backups are stored. (string value)
93#backup_ceph_pool = backups
94
95# RBD stripe unit to use when creating a backup image. (integer value)
96#backup_ceph_stripe_unit = 0
97
98# RBD stripe count to use when creating a backup image. (integer value)
99#backup_ceph_stripe_count = 0
100
101# If True, apply JOURNALING and EXCLUSIVE_LOCK feature bits to the backup RBD
102# objects to allow mirroring (boolean value)
103#backup_ceph_image_journals = false
104
105# If True, always discard excess bytes when restoring volumes i.e. pad with
106# zeroes. (boolean value)
107#restore_discard_excess_bytes = true
108
109# The GCS bucket to use. (string value)
110#backup_gcs_bucket = <None>
111
112# The size in bytes of GCS backup objects. (integer value)
113#backup_gcs_object_size = 52428800
114
115# The size in bytes that changes are tracked for incremental backups.
116# backup_gcs_object_size has to be multiple of backup_gcs_block_size. (integer
117# value)
118#backup_gcs_block_size = 32768
119
120# GCS object will be downloaded in chunks of bytes. (integer value)
121#backup_gcs_reader_chunk_size = 2097152
122
123# GCS object will be uploaded in chunks of bytes. Pass in a value of -1 if the
124# file is to be uploaded as a single chunk. (integer value)
125#backup_gcs_writer_chunk_size = 2097152
126
127# Number of times to retry. (integer value)
128#backup_gcs_num_retries = 3
129
130# List of GCS error codes. (list value)
131#backup_gcs_retry_error_codes = 429
132
133# Location of GCS bucket. (string value)
134#backup_gcs_bucket_location = US
135
136# Storage class of GCS bucket. (string value)
137#backup_gcs_storage_class = NEARLINE
138
139# Absolute path of GCS service account credential file. (string value)
140#backup_gcs_credential_file = <None>
141
142# Owner project id for GCS bucket. (string value)
143#backup_gcs_project_id = <None>
144
145# Http user-agent string for gcs api. (string value)
146#backup_gcs_user_agent = gcscinder
147
148# Enable or Disable the timer to send the periodic progress notifications to
149# Ceilometer when backing up the volume to the GCS backend storage. The default
150# value is True to enable the timer. (boolean value)
151#backup_gcs_enable_progress_timer = true
152
153# URL for http proxy access. (uri value)
154#backup_gcs_proxy_url = <None>
155
156# Base dir containing mount point for gluster share. (string value)
157#glusterfs_backup_mount_point = $state_path/backup_mount
158
159# GlusterFS share in <hostname|ipv4addr|ipv6addr>:<gluster_vol_name> format.
160# Eg: 1.2.3.4:backup_vol (string value)
161#glusterfs_backup_share = <None>
162
163# Base dir containing mount point for NFS share. (string value)
164#backup_mount_point_base = $state_path/backup_mount
165
166# NFS share in hostname:path, ipv4addr:path, or "[ipv6addr]:path" format.
167# (string value)
168#backup_share = <None>
169
170# Mount options passed to the NFS client. See NFS man page for details. (string
171# value)
172#backup_mount_options = <None>
173
174# The maximum size in bytes of the files used to hold backups. If the volume
175# being backed up exceeds this size, then it will be backed up into multiple
176# files.backup_file_size must be a multiple of backup_sha_block_size_bytes.
177# (integer value)
178#backup_file_size = 1999994880
179
180# The size in bytes that changes are tracked for incremental backups.
181# backup_file_size has to be multiple of backup_sha_block_size_bytes. (integer
182# value)
183#backup_sha_block_size_bytes = 32768
184
185# Enable or Disable the timer to send the periodic progress notifications to
186# Ceilometer when backing up the volume to the backend storage. The default
187# value is True to enable the timer. (boolean value)
188#backup_enable_progress_timer = true
189
190# Path specifying where to store backups. (string value)
191#backup_posix_path = $state_path/backup
192
193# Custom directory to use for backups. (string value)
194#backup_container = <None>
195
196# The URL of the Swift endpoint (uri value)
197#backup_swift_url = <None>
198
199# The URL of the Keystone endpoint (uri value)
200#backup_swift_auth_url = <None>
201
202# Info to match when looking for swift in the service catalog. Format is:
203# separated values of the form: <service_type>:<service_name>:<endpoint_type> -
204# Only used if backup_swift_url is unset (string value)
205#swift_catalog_info = object-store:swift:publicURL
206
207# Info to match when looking for keystone in the service catalog. Format is:
208# separated values of the form: <service_type>:<service_name>:<endpoint_type> -
209# Only used if backup_swift_auth_url is unset (string value)
210#keystone_catalog_info = identity:Identity Service:publicURL
211
212# Swift authentication mechanism (per_user or single_user). (string value)
213# Possible values:
214# per_user - <No description provided>
215# single_user - <No description provided>
216#backup_swift_auth = per_user
217
218# Swift authentication version. Specify "1" for auth 1.0, or "2" for auth 2.0
219# or "3" for auth 3.0 (string value)
220#backup_swift_auth_version = 1
221
222# Swift tenant/account name. Required when connecting to an auth 2.0 system
223# (string value)
224#backup_swift_tenant = <None>
225
226# Swift user domain name. Required when connecting to an auth 3.0 system
227# (string value)
228#backup_swift_user_domain = <None>
229
230# Swift project domain name. Required when connecting to an auth 3.0 system
231# (string value)
232#backup_swift_project_domain = <None>
233
234# Swift project/account name. Required when connecting to an auth 3.0 system
235# (string value)
236#backup_swift_project = <None>
237
238# Swift user name (string value)
239#backup_swift_user = <None>
240
241# Swift key for authentication (string value)
242#backup_swift_key = <None>
243
244# The default Swift container to use (string value)
245#backup_swift_container = volumebackups
246
247# The size in bytes of Swift backup objects (integer value)
248#backup_swift_object_size = 52428800
249
250# The size in bytes that changes are tracked for incremental backups.
251# backup_swift_object_size has to be multiple of backup_swift_block_size.
252# (integer value)
253#backup_swift_block_size = 32768
254
255# The number of retries to make for Swift operations (integer value)
256#backup_swift_retry_attempts = 3
257
258# The backoff time in seconds between Swift retries (integer value)
259#backup_swift_retry_backoff = 2
260
261# Enable or Disable the timer to send the periodic progress notifications to
262# Ceilometer when backing up the volume to the Swift backend storage. The
263# default value is True to enable the timer. (boolean value)
264#backup_swift_enable_progress_timer = true
265
266# Location of the CA certificate file to use for swift client requests. (string
267# value)
268#backup_swift_ca_cert_file = <None>
269
270# Bypass verification of server certificate when making SSL connection to
271# Swift. (boolean value)
272#backup_swift_auth_insecure = false
273
274# Volume prefix for the backup id when backing up to TSM (string value)
275#backup_tsm_volume_prefix = backup
276
277# TSM password for the running username (string value)
278#backup_tsm_password = password
279
280# Enable or Disable compression for backups (boolean value)
281#backup_tsm_compression = true
282
283# Driver to use for backups. (string value)
284#backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver
285
286# Offload pending backup delete during backup service startup. If false, the
287# backup service will remain down until all pending backups are deleted.
288# (boolean value)
289#backup_service_inithost_offload = true
290
291# Size of the native threads pool for the backups. Most backup drivers rely
292# heavily on this, it can be decreased for specific drivers that don't.
293# (integer value)
294# Minimum value: 20
295#backup_native_threads_pool_size = 60
296
297# Number of backup processes to launch. Improves performance with concurrent
298# backups. (integer value)
299# Minimum value: 1
300# Maximum value: 4
301#backup_workers = 1
302
303# Name of this cluster. Used to group volume hosts that share the same backend
304# configurations to work in HA Active-Active mode. Active-Active is not yet
305# supported. (string value)
306#cluster = <None>
307
308# Top-level directory for maintaining cinder's state (string value)
309state_path = /var/lib/cinder
310
311# IP address of this host (host address value)
312#my_ip = <HOST_IP_ADDRESS>
Michael Polenchukf0d642e2018-07-27 09:55:14 +0400313{%- if volume.my_ip is defined %}
314my_ip = {{ volume.my_ip }}
315{%- endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +0400316
317# A list of the URLs of glance API servers available to cinder
318# ([http[s]://][hostname|ip]:port). If protocol is not specified it defaults to
319# http. (list value)
320glance_api_servers = {{ volume.glance.get('protocol','http') }}://{{ volume.glance.host }}:{{ volume.glance.port }}
321
322# Number retries when downloading an image from glance (integer value)
323# Minimum value: 0
324glance_num_retries = 0
325
326# Allow to perform insecure SSL (https) requests to glance (https will be used
327# but cert validation will not be performed). (boolean value)
328#glance_api_insecure = false
329
330# Enables or disables negotiation of SSL layer compression. In some cases
331# disabling compression can improve data throughput, such as when high network
332# bandwidth is available and you use compressed image formats like qcow2.
333# (boolean value)
334#glance_api_ssl_compression = false
335
336# Location of ca certificates file to use for glance client requests. (string
337# value)
338{%- if volume.glance.get('protocol','http') == 'https' %}
339glance_ca_certificates_file = {{ volume.glance.get('cacert_file', volume.cacert_file) }}
340{%- endif %}
341
342# http/https timeout value for glance operations. If no value (None) is
343# supplied here, the glanceclient default value is used. (integer value)
344#glance_request_timeout = <None>
345
346# DEPRECATED: Deploy v2 of the Cinder API. (boolean value)
347# This option is deprecated for removal.
348# Its value may be silently ignored in the future.
349#enable_v2_api = true
350
351# Deploy v3 of the Cinder API. (boolean value)
352enable_v3_api = true
353
354# Enables or disables rate limit of the API. (boolean value)
355#api_rate_limit = true
356
357# Specify list of extensions to load when using osapi_volume_extension option
358# with cinder.api.contrib.select_extensions (list value)
359#osapi_volume_ext_list =
360
361# osapi volume extension to load (multi valued)
362osapi_volume_extension = cinder.api.contrib.standard_extensions
363
364# Full class name for the Manager for volume (string value)
365#volume_manager = cinder.volume.manager.VolumeManager
366
367# Full class name for the Manager for volume backup (string value)
368#backup_manager = cinder.backup.manager.BackupManager
369
370# Full class name for the Manager for scheduler (string value)
371#scheduler_manager = cinder.scheduler.manager.SchedulerManager
372
373# Name of this node. This can be an opaque identifier. It is not necessarily a
374# host name, FQDN, or IP address. (host address value)
375#host = localhost
376
377# Availability zone of this node. Can be overridden per volume backend with the
378# option "backend_availability_zone". (string value)
379#storage_availability_zone = nova
380{%- if volume.storage_availability_zone is defined %}
381storage_availability_zone={{volume.storage_availability_zone}}
382{%- endif %}
383
384# Default availability zone for new volumes. If not set, the
385# storage_availability_zone option value is used as the default for new
386# volumes. (string value)
387#default_availability_zone = <None>
388{%- if volume.default_availability_zone is defined %}
389default_availability_zone={{volume.default_availability_zone}}
390{%- endif %}
391
392# If the requested Cinder availability zone is unavailable, fall back to the
393# value of default_availability_zone, then storage_availability_zone, instead
394# of failing. (boolean value)
395allow_availability_zone_fallback = {{ volume.get('availability_zone_fallback', True) }}
396
397# Default volume type to use (string value)
398#default_volume_type = <None>
399
400# Default group type to use (string value)
401#default_group_type = <None>
402
403# Time period for which to generate volume usages. The options are hour, day,
404# month, or year. (string value)
405#volume_usage_audit_period = month
406
407# Path to the rootwrap configuration file to use for running commands as root
408# (string value)
409#rootwrap_config = /etc/cinder/rootwrap.conf
410
411# Enable monkey patching (boolean value)
412#monkey_patch = false
413
414# List of modules/decorators to monkey patch (list value)
415#monkey_patch_modules =
416
417# Maximum time since last check-in for a service to be considered up (integer
418# value)
419#service_down_time = 60
420
421# The full class name of the volume API class to use (string value)
422#volume_api_class = cinder.volume.api.API
423
424# The full class name of the volume backup API class (string value)
425#backup_api_class = cinder.backup.api.API
426
427# The strategy to use for auth. Supports noauth or keystone. (string value)
428# Possible values:
429# noauth - <No description provided>
430# keystone - <No description provided>
431auth_strategy = keystone
432
433# A list of backend names to use. These backend names should be backed by a
434# unique [CONFIG] group with its options (list value)
435#enabled_backends = <None>
436{%- if volume.backend is defined %}
437default_volume_type={{ volume.default_volume_type }}
438
439enabled_backends={% for backend_name, backend in volume.get('backend', {}).items() %}{{ backend_name }}{% if not loop.last %},{% endif %}{% endfor %}
440{%- endif %}
441
442
443# Whether snapshots count against gigabyte quota (boolean value)
444#no_snapshot_gb_quota = false
445
446# The full class name of the volume transfer API class (string value)
447#transfer_api_class = cinder.transfer.api.API
448
449# The full class name of the consistencygroup API class (string value)
450#consistencygroup_api_class = cinder.consistencygroup.api.API
451
452# The full class name of the group API class (string value)
453#group_api_class = cinder.group.api.API
454
455# The full class name of the compute API class to use (string value)
456#compute_api_class = cinder.compute.nova.API
457
458# ID of the project which will be used as the Cinder internal tenant. (string
459# value)
460#cinder_internal_tenant_project_id = <None>
461
462# ID of the user to be used in volume operations as the Cinder internal tenant.
463# (string value)
464#cinder_internal_tenant_user_id = <None>
465
466# Services to be added to the available pool on create (boolean value)
467#enable_new_services = true
468
469# Template string to be used to generate volume names (string value)
470volume_name_template = volume-%s
471
472# Template string to be used to generate snapshot names (string value)
473#snapshot_name_template = snapshot-%s
474
475# Template string to be used to generate backup names (string value)
476#backup_name_template = backup-%s
477
478# Driver to use for database access (string value)
479#db_driver = cinder.db
480
481# A list of url schemes that can be downloaded directly via the direct_url.
482# Currently supported schemes: [file, cinder]. (list value)
483#allowed_direct_url_schemes =
484
485# Info to match when looking for glance in the service catalog. Format is:
486# separated values of the form: <service_type>:<service_name>:<endpoint_type> -
487# Only used if glance_api_servers are not provided. (string value)
488#glance_catalog_info = image:glance:publicURL
489
490# Default core properties of image (list value)
491#glance_core_properties = checksum,container_format,disk_format,image_name,image_id,min_disk,min_ram,name,size
492
493# Directory used for temporary storage during image conversion (string value)
494#image_conversion_dir = $state_path/conversion
495
496# message minimum life in seconds. (integer value)
497#message_ttl = 2592000
498
499# interval between periodic task runs to clean expired messages in seconds.
500# (integer value)
501#message_reap_interval = 86400
502
503# Number of volumes allowed per project (integer value)
504#quota_volumes = 10
505
506# Number of volume snapshots allowed per project (integer value)
507#quota_snapshots = 10
508
509# Number of consistencygroups allowed per project (integer value)
510#quota_consistencygroups = 10
511
512# Number of groups allowed per project (integer value)
513#quota_groups = 10
514
515# Total amount of storage, in gigabytes, allowed for volumes and snapshots per
516# project (integer value)
517#quota_gigabytes = 1000
518
519# Number of volume backups allowed per project (integer value)
520#quota_backups = 10
521
522# Total amount of storage, in gigabytes, allowed for backups per project
523# (integer value)
524#quota_backup_gigabytes = 1000
525
526# Number of seconds until a reservation expires (integer value)
527#reservation_expire = 86400
528
529# Interval between periodic task runs to clean expired reservations in seconds.
530# (integer value)
531#reservation_clean_interval = $reservation_expire
532
533# Count of reservations until usage is refreshed (integer value)
534#until_refresh = 0
535
536# Number of seconds between subsequent usage refreshes (integer value)
537#max_age = 0
538
539# Default driver to use for quota checks (string value)
540#quota_driver = cinder.quota.DbQuotaDriver
541
542# Enables or disables use of default quota class with default quota. (boolean
543# value)
544#use_default_quota_class = true
545
546# Max size allowed per volume, in gigabytes (integer value)
547#per_volume_size_limit = -1
548
549# The scheduler host manager class to use (string value)
550#scheduler_host_manager = cinder.scheduler.host_manager.HostManager
551
552# Maximum number of attempts to schedule a volume (integer value)
553#scheduler_max_attempts = 3
554
555# Which filter class names to use for filtering hosts when not specified in the
556# request. (list value)
557#scheduler_default_filters = AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter
Oleksandr Shyshkof8446ed2019-02-01 13:02:34 +0000558{%- if volume.scheduler_default_filters is defined %}
559scheduler_default_filters = {{ volume.scheduler_default_filters }}
560{%- endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +0400561
562# Which weigher class names to use for weighing hosts. (list value)
563#scheduler_default_weighers = CapacityWeigher
564
565# Which handler to use for selecting the host/pool after weighing (string
566# value)
567#scheduler_weight_handler = cinder.scheduler.weights.OrderedHostWeightHandler
568
569# Default scheduler driver to use (string value)
570#scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler
571
572# Absolute path to scheduler configuration JSON file. (string value)
573#scheduler_json_config_location =
574
575# Multiplier used for weighing free capacity. Negative numbers mean to stack vs
576# spread. (floating point value)
577#capacity_weight_multiplier = 1.0
578
579# Multiplier used for weighing allocated capacity. Positive numbers mean to
580# stack vs spread. (floating point value)
581#allocated_capacity_weight_multiplier = -1.0
582
583# Multiplier used for weighing volume number. Negative numbers mean to spread
584# vs stack. (floating point value)
585#volume_number_multiplier = -1.0
586
587# Interval, in seconds, between nodes reporting state to datastore (integer
588# value)
589#report_interval = 10
590
591# Interval, in seconds, between running periodic tasks (integer value)
592#periodic_interval = 60
593
594# Range, in seconds, to randomly delay when starting the periodic task
595# scheduler to reduce stampeding. (Disable by setting to 0) (integer value)
596#periodic_fuzzy_delay = 60
597
598# IP address on which OpenStack Volume API listens (string value)
599osapi_volume_listen = {{ volume.osapi.host }}
600
601# Port on which OpenStack Volume API listens (port value)
602# Minimum value: 0
603# Maximum value: 65535
604#osapi_volume_listen_port = 8776
605
606# Number of workers for OpenStack Volume API service. The default is equal to
607# the number of CPUs available. (integer value)
608osapi_volume_workers = {{ volume.get('volume_workers', '4') }}
609
610# Wraps the socket in a SSL context if True is set. A certificate file and key
611# file must be specified. (boolean value)
612#osapi_volume_use_ssl = false
613
614# Option to enable strict host key checking. When set to "True" Cinder will
615# only connect to systems with a host key present in the configured
616# "ssh_hosts_key_file". When set to "False" the host key will be saved upon
617# first connection and used for subsequent connections. Default=False (boolean
618# value)
619#strict_ssh_host_key_policy = false
620
621# File containing SSH host keys for the systems with which Cinder needs to
622# communicate. OPTIONAL: Default=$state_path/ssh_known_hosts (string value)
623#ssh_hosts_key_file = $state_path/ssh_known_hosts
624
625# The number of characters in the salt. (integer value)
626#volume_transfer_salt_length = 8
627
628# The number of characters in the autogenerated auth key. (integer value)
629#volume_transfer_key_length = 16
630
631# Enables the Force option on upload_to_image. This enables running
632# upload_volume on in-use volumes for backends that support it. (boolean value)
633#enable_force_upload = false
634enable_force_upload = {{ volume.get('enable_force_upload', False)|lower }}
635
636# Create volume from snapshot at the host where snapshot resides (boolean
637# value)
638#snapshot_same_host = true
639
640# Ensure that the new volumes are the same AZ as snapshot or source volume
641# (boolean value)
642#cloned_volume_same_az = true
643
644# Cache volume availability zones in memory for the provided duration in
645# seconds (integer value)
646#az_cache_duration = 3600
647
648# Number of times to attempt to run flakey shell commands (integer value)
649#num_shell_tries = 3
650
651# The percentage of backend capacity is reserved (integer value)
652# Minimum value: 0
653# Maximum value: 100
654#reserved_percentage = 0
655
656# Prefix for iSCSI volumes (string value)
657# Deprecated group/name - [DEFAULT]/iscsi_target_prefix
658#target_prefix = iqn.2010-10.org.openstack:
659
660# The IP address that the iSCSI daemon is listening on (string value)
661# Deprecated group/name - [DEFAULT]/iscsi_ip_address
662#target_ip_address = $my_ip
663
664# The list of secondary IP addresses of the iSCSI daemon (list value)
665#iscsi_secondary_ip_addresses =
666
667# The port that the iSCSI daemon is listening on (port value)
668# Minimum value: 0
669# Maximum value: 65535
670# Deprecated group/name - [DEFAULT]/iscsi_port
671#target_port = 3260
672
673# The maximum number of times to rescan targets to find volume (integer value)
674#num_volume_device_scan_tries = 3
675
676# The backend name for a given driver implementation (string value)
677volume_backend_name = {{ volume.get('volume_backend_name', 'DEFAULT') }}
678
679# Do we attach/detach volumes in cinder using multipath for volume to image and
680# image to volume transfers? (boolean value)
681#use_multipath_for_image_xfer = false
682
683# If this is set to True, attachment of volumes for image transfer will be
684# aborted when multipathd is not running. Otherwise, it will fallback to single
685# path. (boolean value)
686#enforce_multipath_for_image_xfer = false
687
688# Method used to wipe old volumes (string value)
689# Possible values:
690# none - <No description provided>
691# zero - <No description provided>
692#volume_clear = zero
693volume_clear = {{ volume.wipe_method }}
694
695# Size in MiB to wipe at start of old volumes. 1024 MiBat max. 0 => all
696# (integer value)
697# Maximum value: 1024
698#volume_clear_size = 0
699
700# The flag to pass to ionice to alter the i/o priority of the process used to
701# zero a volume after deletion, for example "-c3" for idle only priority.
702# (string value)
703#volume_clear_ionice = <None>
704
705# Target user-land tool to use. tgtadm is default, use lioadm for LIO iSCSI
706# support, scstadmin for SCST target support, ietadm for iSCSI Enterprise
707# Target, iscsictl for Chelsio iSCSI Target, nvmet for NVMEoF support, or fake
708# for testing. (string value)
709# Possible values:
710# tgtadm - <No description provided>
711# lioadm - <No description provided>
712# scstadmin - <No description provided>
713# iscsictl - <No description provided>
714# ietadm - <No description provided>
715# nvmet - <No description provided>
716# fake - <No description provided>
717# Deprecated group/name - [DEFAULT]/iscsi_helper
718target_helper = tgtadm
719
720# Volume configuration file storage directory (string value)
721volumes_dir = /var/lib/cinder/volumes
722
723# IET configuration file (string value)
724#iet_conf = /etc/iet/ietd.conf
725
726# Chiscsi (CXT) global defaults configuration file (string value)
727#chiscsi_conf = /etc/chelsio-iscsi/chiscsi.conf
728
729# Sets the behavior of the iSCSI target to either perform blockio or fileio
730# optionally, auto can be set and Cinder will autodetect type of backing device
731# (string value)
732# Possible values:
733# blockio - <No description provided>
734# fileio - <No description provided>
735# auto - <No description provided>
736#iscsi_iotype = fileio
737
738# The default block size used when copying/clearing volumes (string value)
739#volume_dd_blocksize = 1M
740
741# The blkio cgroup name to be used to limit bandwidth of volume copy (string
742# value)
743#volume_copy_blkio_cgroup_name = cinder-volume-copy
744
745# The upper limit of bandwidth of volume copy. 0 => unlimited (integer value)
746#volume_copy_bps_limit = 0
747
748# Sets the behavior of the iSCSI target to either perform write-back(on) or
749# write-through(off). This parameter is valid if target_helper is set to
750# tgtadm. (string value)
751# Possible values:
752# on - <No description provided>
753# off - <No description provided>
754#iscsi_write_cache = on
755
756# Sets the target-specific flags for the iSCSI target. Only used for tgtadm to
757# specify backing device flags using bsoflags option. The specified string is
758# passed as is to the underlying tool. (string value)
759#iscsi_target_flags =
760
761# Determines the target protocol for new volumes, created with tgtadm, lioadm
762# and nvmet target helpers. In order to enable RDMA, this parameter should be
763# set with the value "iser". The supported iSCSI protocol values are "iscsi"
764# and "iser", in case of nvmet target set to "nvmet_rdma". (string value)
765# Possible values:
766# iscsi - <No description provided>
767# iser - <No description provided>
768# nvmet_rdma - <No description provided>
769# Deprecated group/name - [DEFAULT]/iscsi_protocol
770#target_protocol = iscsi
771
772# The path to the client certificate key for verification, if the driver
773# supports it. (string value)
774#driver_client_cert_key = <None>
775
776# The path to the client certificate for verification, if the driver supports
777# it. (string value)
778#driver_client_cert = <None>
779
780# Tell driver to use SSL for connection to backend storage if the driver
781# supports it. (boolean value)
782#driver_use_ssl = false
783
784# Representation of the over subscription ratio when thin provisioning is
785# enabled. Default ratio is 20.0, meaning provisioned capacity can be 20 times
786# of the total physical capacity. If the ratio is 10.5, it means provisioned
787# capacity can be 10.5 times of the total physical capacity. A ratio of 1.0
788# means provisioned capacity cannot exceed the total physical capacity. If
789# ratio is 'auto', Cinder will automatically calculate the ratio based on the
790# provisioned capacity and the used space. If not set to auto, the ratio has to
791# be a minimum of 1.0. (string value)
792#max_over_subscription_ratio = 20.0
793
794# Certain ISCSI targets have predefined target names, SCST target driver uses
795# this name. (string value)
796#scst_target_iqn_name = <None>
797
798# SCST target implementation can choose from multiple SCST target drivers.
799# (string value)
800#scst_target_driver = iscsi
801
802# Option to enable/disable CHAP authentication for targets. (boolean value)
803#use_chap_auth = false
804
805# CHAP user name. (string value)
806#chap_username =
807
808# Password for specified CHAP account name. (string value)
809#chap_password =
810
811# Namespace for driver private data values to be saved in. (string value)
812#driver_data_namespace = <None>
813
814# String representation for an equation that will be used to filter hosts. Only
815# used when the driver filter is set to be used by the Cinder scheduler.
816# (string value)
817#filter_function = <None>
818
819# String representation for an equation that will be used to determine the
820# goodness of a host. Only used when using the goodness weigher is set to be
821# used by the Cinder scheduler. (string value)
822#goodness_function = <None>
823
824# If set to True the http client will validate the SSL certificate of the
825# backend endpoint. (boolean value)
826#driver_ssl_cert_verify = false
827
828# Can be used to specify a non default path to a CA_BUNDLE file or directory
829# with certificates of trusted CAs, which will be used to validate the backend
830# (string value)
831#driver_ssl_cert_path = <None>
832
833# List of options that control which trace info is written to the DEBUG log
834# level to assist developers. Valid values are method and api. (list value)
835#trace_flags = <None>
836
837# Multi opt of dictionaries to represent a replication target device. This
838# option may be specified multiple times in a single config section to specify
839# multiple replication target devices. Each entry takes the standard dict
840# config form: replication_device =
841# target_device_id:<required>,key1:value1,key2:value2... (dict value)
842#replication_device = <None>
843
844# If set to True, upload-to-image in raw format will create a cloned volume and
845# register its location to the image service, instead of uploading the volume
846# content. The cinder backend and locations support must be enabled in the
847# image service. (boolean value)
848#image_upload_use_cinder_backend = false
849
850# If set to True, the image volume created by upload-to-image will be placed in
851# the internal tenant. Otherwise, the image volume is created in the current
852# context's tenant. (boolean value)
853#image_upload_use_internal_tenant = false
854
855# Enable the image volume cache for this backend. (boolean value)
856#image_volume_cache_enabled = false
857
858# Max size of the image volume cache for this backend in GB. 0 => unlimited.
859# (integer value)
860#image_volume_cache_max_size_gb = 0
861
862# Max number of entries allowed in the image volume cache. 0 => unlimited.
863# (integer value)
864#image_volume_cache_max_count = 0
865
866# Report to clients of Cinder that the backend supports discard (aka.
867# trim/unmap). This will not actually change the behavior of the backend or the
868# client directly, it will only notify that it can be used. (boolean value)
869#report_discard_supported = false
870
871# Protocol for transferring data between host and storage back-end. (string
872# value)
873# Possible values:
874# iscsi - <No description provided>
875# fc - <No description provided>
876#storage_protocol = iscsi
877
878# If this is set to True, a temporary snapshot will be created for performing
879# non-disruptive backups. Otherwise a temporary volume will be cloned in order
880# to perform a backup. (boolean value)
881#backup_use_temp_snapshot = false
882
883# Set this to True when you want to allow an unsupported driver to start.
884# Drivers that haven't maintained a working CI system and testing are marked as
885# unsupported until CI is working again. This also marks a driver as
886# deprecated and may be removed in the next release. (boolean value)
887#enable_unsupported_driver = false
888
889# Availability zone for this volume backend. If not set, the
890# storage_availability_zone option value is used as the default for all
891# backends. (string value)
892#backend_availability_zone = <None>
893
894# The maximum number of times to rescan iSER targetto find volume (integer
895# value)
896#num_iser_scan_tries = 3
897
898# Prefix for iSER volumes (string value)
899#iser_target_prefix = iqn.2010-10.org.openstack:
900
901# The IP address that the iSER daemon is listening on (string value)
902#iser_ip_address = $my_ip
903
904# The port that the iSER daemon is listening on (port value)
905# Minimum value: 0
906# Maximum value: 65535
907#iser_port = 3260
908
909# The name of the iSER target user-land tool to use (string value)
910#iser_helper = tgtadm
911
912# The port that the NVMe target is listening on. (port value)
913# Minimum value: 0
914# Maximum value: 65535
915#nvmet_port_id = 1
916
917# The namespace id associated with the subsystem that will be created with the
918# path for the LVM volume. (integer value)
919#nvmet_ns_id = 10
920
921# DataCore virtual disk type (single/mirrored). Mirrored virtual disks require
922# two storage servers in the server group. (string value)
923# Possible values:
924# single - <No description provided>
925# mirrored - <No description provided>
926#datacore_disk_type = single
927
928# DataCore virtual disk storage profile. (string value)
929#datacore_storage_profile = <None>
930
931# List of DataCore disk pools that can be used by volume driver. (list value)
932#datacore_disk_pools =
933
934# Seconds to wait for a response from a DataCore API call. (integer value)
935# Minimum value: 1
936#datacore_api_timeout = 300
937
938# Seconds to wait for DataCore virtual disk to come out of the "Failed" state.
939# (integer value)
940# Minimum value: 0
941#datacore_disk_failed_delay = 15
942
943# List of iSCSI targets that cannot be used to attach volume. To prevent the
944# DataCore iSCSI volume driver from using some front-end targets in volume
945# attachment, specify this option and list the iqn and target machine for each
946# target as the value, such as <iqn:target name>, <iqn:target name>,
947# <iqn:target name>. (list value)
948#datacore_iscsi_unallowed_targets =
949
950# Configure CHAP authentication for iSCSI connections. (boolean value)
951#datacore_iscsi_chap_enabled = false
952
953# iSCSI CHAP authentication password storage file. (string value)
954#datacore_iscsi_chap_storage = <None>
955
956# Storage system autoexpand parameter for volumes (True/False) (boolean value)
957#instorage_mcs_vol_autoexpand = true
958
959# Storage system compression option for volumes (boolean value)
960#instorage_mcs_vol_compression = false
961
962# Enable InTier for volumes (boolean value)
963#instorage_mcs_vol_intier = true
964
965# Allow tenants to specify QOS on create (boolean value)
966#instorage_mcs_allow_tenant_qos = false
967
968# Storage system grain size parameter for volumes (32/64/128/256) (integer
969# value)
970# Minimum value: 32
971# Maximum value: 256
972#instorage_mcs_vol_grainsize = 256
973
974# Storage system space-efficiency parameter for volumes (percentage) (integer
975# value)
976# Minimum value: -1
977# Maximum value: 100
978#instorage_mcs_vol_rsize = 2
979
980# Storage system threshold for volume capacity warnings (percentage) (integer
981# value)
982# Minimum value: -1
983# Maximum value: 100
984#instorage_mcs_vol_warning = 0
985
986# Maximum number of seconds to wait for LocalCopy to be prepared. (integer
987# value)
988# Minimum value: 1
989# Maximum value: 600
990#instorage_mcs_localcopy_timeout = 120
991
992# Specifies the InStorage LocalCopy copy rate to be used when creating a full
993# volume copy. The default is rate is 50, and the valid rates are 1-100.
994# (integer value)
995# Minimum value: 1
996# Maximum value: 100
997#instorage_mcs_localcopy_rate = 50
998
999# The I/O group in which to allocate volumes. It can be a comma-separated list
1000# in which case the driver will select an io_group based on least number of
1001# volumes associated with the io_group. (string value)
1002#instorage_mcs_vol_iogrp = 0
1003
1004# Specifies secondary management IP or hostname to be used if san_ip is invalid
1005# or becomes inaccessible. (string value)
1006#instorage_san_secondary_ip = <None>
1007
1008# Comma separated list of storage system storage pools for volumes. (list
1009# value)
1010#instorage_mcs_volpool_name = volpool
1011
1012# Configure CHAP authentication for iSCSI connections (Default: Enabled)
1013# (boolean value)
1014#instorage_mcs_iscsi_chap_enabled = true
1015
1016# The StorPool template for volumes with no type. (string value)
1017#storpool_template = <None>
1018
1019# The default StorPool chain replication value. Used when creating a volume
1020# with no specified type if storpool_template is not set. Also used for
1021# calculating the apparent free space reported in the stats. (integer value)
1022#storpool_replication = 3
1023
1024# Create sparse Lun. (boolean value)
1025#vrts_lun_sparse = true
1026
1027# VA config file. (string value)
1028#vrts_target_config = /etc/cinder/vrts_target.xml
1029
1030# Timeout for creating the volume to migrate to when performing volume
1031# migration (seconds) (integer value)
1032#migration_create_volume_timeout_secs = 300
1033
1034# Offload pending volume delete during volume service startup (boolean value)
1035#volume_service_inithost_offload = false
1036
1037# FC Zoning mode configured, only 'fabric' is supported now. (string value)
1038#zoning_mode = <None>
1039
1040# Sets the value of TCP_KEEPALIVE (True/False) for each server socket. (boolean
1041# value)
1042#tcp_keepalive = true
1043
1044# Sets the value of TCP_KEEPINTVL in seconds for each server socket. Not
1045# supported on OS X. (integer value)
1046#tcp_keepalive_interval = <None>
1047
1048# Sets the value of TCP_KEEPCNT for each server socket. Not supported on OS X.
1049# (integer value)
1050#tcp_keepalive_count = <None>
1051
1052
1053[backend]
1054
1055#
1056# From cinder
1057#
1058
1059# Backend override of host value. (string value)
1060#backend_host = <None>
1061{%- if volume.backend is defined %}
1062
1063{%- for backend_name, backend in volume.get('backend', {}).items() %}
1064
1065{%- set backend_fragment = "cinder/files/backend/_" + backend.engine + ".conf" %}
1066{%- include backend_fragment %}
1067
1068{%- endfor %}
1069
1070{%- endif %}
1071
1072
1073[backend_defaults]
1074
1075{%- if volume.backup.engine != None %}
1076{%- set backup_backend_fragment = "cinder/files/backup_backend/_" + volume.backup.engine + ".conf" %}
1077{%- include backup_backend_fragment %}
1078{%- endif %}
1079{%- if volume.nas_secure_file_permissions is defined %}
1080nas_secure_file_permissions={{ volume.nas_secure_file_permissions }}
1081{%- endif %}
1082{%- if volume.nas_secure_file_operations is defined %}
1083nas_secure_file_operations={{ volume.nas_secure_file_operations }}
1084{%- endif %}
1085{%- if volume.cinder_internal_tenant_user_id is defined %}
1086cinder_internal_tenant_user_id={{ volume.cinder_internal_tenant_user_id }}
1087{%- endif %}
1088{%- if volume.cinder_internal_tenant_project_id is defined %}
1089cinder_internal_tenant_project_id={{ volume.cinder_internal_tenant_project_id }}
1090{%- endif %}
1091
1092#
1093# From cinder
1094#
1095
1096# Number of times to attempt to run flakey shell commands (integer value)
1097#num_shell_tries = 3
1098
1099# The percentage of backend capacity is reserved (integer value)
1100# Minimum value: 0
1101# Maximum value: 100
1102#reserved_percentage = 0
1103
1104# Prefix for iSCSI volumes (string value)
1105# Deprecated group/name - [backend_defaults]/iscsi_target_prefix
1106#target_prefix = iqn.2010-10.org.openstack:
1107
1108# The IP address that the iSCSI daemon is listening on (string value)
1109# Deprecated group/name - [backend_defaults]/iscsi_ip_address
1110#target_ip_address = $my_ip
1111
1112# The list of secondary IP addresses of the iSCSI daemon (list value)
1113#iscsi_secondary_ip_addresses =
1114
1115# The port that the iSCSI daemon is listening on (port value)
1116# Minimum value: 0
1117# Maximum value: 65535
1118# Deprecated group/name - [backend_defaults]/iscsi_port
1119#target_port = 3260
1120
1121# The maximum number of times to rescan targets to find volume (integer value)
1122#num_volume_device_scan_tries = 3
1123
1124# The backend name for a given driver implementation (string value)
1125#volume_backend_name = <None>
1126
1127# Do we attach/detach volumes in cinder using multipath for volume to image and
1128# image to volume transfers? (boolean value)
1129#use_multipath_for_image_xfer = false
1130
1131# If this is set to True, attachment of volumes for image transfer will be
1132# aborted when multipathd is not running. Otherwise, it will fallback to single
1133# path. (boolean value)
1134#enforce_multipath_for_image_xfer = false
1135
1136# Method used to wipe old volumes (string value)
1137# Possible values:
1138# none - <No description provided>
1139# zero - <No description provided>
1140#volume_clear = zero
1141
1142# Size in MiB to wipe at start of old volumes. 1024 MiBat max. 0 => all
1143# (integer value)
1144# Maximum value: 1024
1145#volume_clear_size = 0
1146
1147# The flag to pass to ionice to alter the i/o priority of the process used to
1148# zero a volume after deletion, for example "-c3" for idle only priority.
1149# (string value)
1150#volume_clear_ionice = <None>
1151
1152# Target user-land tool to use. tgtadm is default, use lioadm for LIO iSCSI
1153# support, scstadmin for SCST target support, ietadm for iSCSI Enterprise
1154# Target, iscsictl for Chelsio iSCSI Target, nvmet for NVMEoF support, or fake
1155# for testing. (string value)
1156# Possible values:
1157# tgtadm - <No description provided>
1158# lioadm - <No description provided>
1159# scstadmin - <No description provided>
1160# iscsictl - <No description provided>
1161# ietadm - <No description provided>
1162# nvmet - <No description provided>
1163# fake - <No description provided>
1164# Deprecated group/name - [backend_defaults]/iscsi_helper
1165#target_helper = tgtadm
1166
1167# Volume configuration file storage directory (string value)
1168#volumes_dir = $state_path/volumes
1169
1170# IET configuration file (string value)
1171#iet_conf = /etc/iet/ietd.conf
1172
1173# Chiscsi (CXT) global defaults configuration file (string value)
1174#chiscsi_conf = /etc/chelsio-iscsi/chiscsi.conf
1175
1176# Sets the behavior of the iSCSI target to either perform blockio or fileio
1177# optionally, auto can be set and Cinder will autodetect type of backing device
1178# (string value)
1179# Possible values:
1180# blockio - <No description provided>
1181# fileio - <No description provided>
1182# auto - <No description provided>
1183#iscsi_iotype = fileio
1184
1185# The default block size used when copying/clearing volumes (string value)
1186#volume_dd_blocksize = 1M
1187
1188# The blkio cgroup name to be used to limit bandwidth of volume copy (string
1189# value)
1190#volume_copy_blkio_cgroup_name = cinder-volume-copy
1191
1192# The upper limit of bandwidth of volume copy. 0 => unlimited (integer value)
1193#volume_copy_bps_limit = 0
1194
1195# Sets the behavior of the iSCSI target to either perform write-back(on) or
1196# write-through(off). This parameter is valid if target_helper is set to
1197# tgtadm. (string value)
1198# Possible values:
1199# on - <No description provided>
1200# off - <No description provided>
1201#iscsi_write_cache = on
1202
1203# Sets the target-specific flags for the iSCSI target. Only used for tgtadm to
1204# specify backing device flags using bsoflags option. The specified string is
1205# passed as is to the underlying tool. (string value)
1206#iscsi_target_flags =
1207
1208# Determines the target protocol for new volumes, created with tgtadm, lioadm
1209# and nvmet target helpers. In order to enable RDMA, this parameter should be
1210# set with the value "iser". The supported iSCSI protocol values are "iscsi"
1211# and "iser", in case of nvmet target set to "nvmet_rdma". (string value)
1212# Possible values:
1213# iscsi - <No description provided>
1214# iser - <No description provided>
1215# nvmet_rdma - <No description provided>
1216# Deprecated group/name - [backend_defaults]/iscsi_protocol
1217#target_protocol = iscsi
1218
1219# The path to the client certificate key for verification, if the driver
1220# supports it. (string value)
1221#driver_client_cert_key = <None>
1222
1223# The path to the client certificate for verification, if the driver supports
1224# it. (string value)
1225#driver_client_cert = <None>
1226
1227# Tell driver to use SSL for connection to backend storage if the driver
1228# supports it. (boolean value)
1229#driver_use_ssl = false
1230
1231# Representation of the over subscription ratio when thin provisioning is
1232# enabled. Default ratio is 20.0, meaning provisioned capacity can be 20 times
1233# of the total physical capacity. If the ratio is 10.5, it means provisioned
1234# capacity can be 10.5 times of the total physical capacity. A ratio of 1.0
1235# means provisioned capacity cannot exceed the total physical capacity. If
1236# ratio is 'auto', Cinder will automatically calculate the ratio based on the
1237# provisioned capacity and the used space. If not set to auto, the ratio has to
1238# be a minimum of 1.0. (string value)
1239#max_over_subscription_ratio = 20.0
1240
1241# Certain ISCSI targets have predefined target names, SCST target driver uses
1242# this name. (string value)
1243#scst_target_iqn_name = <None>
1244
1245# SCST target implementation can choose from multiple SCST target drivers.
1246# (string value)
1247#scst_target_driver = iscsi
1248
1249# Option to enable/disable CHAP authentication for targets. (boolean value)
1250#use_chap_auth = false
1251
1252# CHAP user name. (string value)
1253#chap_username =
1254
1255# Password for specified CHAP account name. (string value)
1256#chap_password =
1257
1258# Namespace for driver private data values to be saved in. (string value)
1259#driver_data_namespace = <None>
1260
1261# String representation for an equation that will be used to filter hosts. Only
1262# used when the driver filter is set to be used by the Cinder scheduler.
1263# (string value)
1264#filter_function = <None>
1265
1266# String representation for an equation that will be used to determine the
1267# goodness of a host. Only used when using the goodness weigher is set to be
1268# used by the Cinder scheduler. (string value)
1269#goodness_function = <None>
1270
1271# If set to True the http client will validate the SSL certificate of the
1272# backend endpoint. (boolean value)
1273#driver_ssl_cert_verify = false
1274
1275# Can be used to specify a non default path to a CA_BUNDLE file or directory
1276# with certificates of trusted CAs, which will be used to validate the backend
1277# (string value)
1278#driver_ssl_cert_path = <None>
1279
1280# List of options that control which trace info is written to the DEBUG log
1281# level to assist developers. Valid values are method and api. (list value)
1282#trace_flags = <None>
1283
1284# Multi opt of dictionaries to represent a replication target device. This
1285# option may be specified multiple times in a single config section to specify
1286# multiple replication target devices. Each entry takes the standard dict
1287# config form: replication_device =
1288# target_device_id:<required>,key1:value1,key2:value2... (dict value)
1289#replication_device = <None>
1290
1291# If set to True, upload-to-image in raw format will create a cloned volume and
1292# register its location to the image service, instead of uploading the volume
1293# content. The cinder backend and locations support must be enabled in the
1294# image service. (boolean value)
1295#image_upload_use_cinder_backend = false
1296
1297# If set to True, the image volume created by upload-to-image will be placed in
1298# the internal tenant. Otherwise, the image volume is created in the current
1299# context's tenant. (boolean value)
1300#image_upload_use_internal_tenant = false
1301
1302# Enable the image volume cache for this backend. (boolean value)
1303#image_volume_cache_enabled = false
1304
1305# Max size of the image volume cache for this backend in GB. 0 => unlimited.
1306# (integer value)
1307#image_volume_cache_max_size_gb = 0
1308
1309# Max number of entries allowed in the image volume cache. 0 => unlimited.
1310# (integer value)
1311#image_volume_cache_max_count = 0
1312
1313# Report to clients of Cinder that the backend supports discard (aka.
1314# trim/unmap). This will not actually change the behavior of the backend or the
1315# client directly, it will only notify that it can be used. (boolean value)
1316#report_discard_supported = false
1317
1318# Protocol for transferring data between host and storage back-end. (string
1319# value)
1320# Possible values:
1321# iscsi - <No description provided>
1322# fc - <No description provided>
1323#storage_protocol = iscsi
1324
1325# If this is set to True, a temporary snapshot will be created for performing
1326# non-disruptive backups. Otherwise a temporary volume will be cloned in order
1327# to perform a backup. (boolean value)
1328#backup_use_temp_snapshot = false
1329
1330# Set this to True when you want to allow an unsupported driver to start.
1331# Drivers that haven't maintained a working CI system and testing are marked as
1332# unsupported until CI is working again. This also marks a driver as
1333# deprecated and may be removed in the next release. (boolean value)
1334#enable_unsupported_driver = false
1335
1336# Availability zone for this volume backend. If not set, the
1337# storage_availability_zone option value is used as the default for all
1338# backends. (string value)
1339#backend_availability_zone = <None>
1340
1341# The maximum number of times to rescan iSER targetto find volume (integer
1342# value)
1343#num_iser_scan_tries = 3
1344
1345# Prefix for iSER volumes (string value)
1346#iser_target_prefix = iqn.2010-10.org.openstack:
1347
1348# The IP address that the iSER daemon is listening on (string value)
1349#iser_ip_address = $my_ip
1350
1351# The port that the iSER daemon is listening on (port value)
1352# Minimum value: 0
1353# Maximum value: 65535
1354#iser_port = 3260
1355
1356# The name of the iSER target user-land tool to use (string value)
1357#iser_helper = tgtadm
1358
1359# The port that the NVMe target is listening on. (port value)
1360# Minimum value: 0
1361# Maximum value: 65535
1362#nvmet_port_id = 1
1363
1364# The namespace id associated with the subsystem that will be created with the
1365# path for the LVM volume. (integer value)
1366#nvmet_ns_id = 10
1367
1368# Hostname for the CoprHD Instance (string value)
1369#coprhd_hostname = <None>
1370
1371# Port for the CoprHD Instance (port value)
1372# Minimum value: 0
1373# Maximum value: 65535
1374#coprhd_port = 4443
1375
1376# Username for accessing the CoprHD Instance (string value)
1377#coprhd_username = <None>
1378
1379# Password for accessing the CoprHD Instance (string value)
1380#coprhd_password = <None>
1381
1382# Tenant to utilize within the CoprHD Instance (string value)
1383#coprhd_tenant = <None>
1384
1385# Project to utilize within the CoprHD Instance (string value)
1386#coprhd_project = <None>
1387
1388# Virtual Array to utilize within the CoprHD Instance (string value)
1389#coprhd_varray = <None>
1390
1391# True | False to indicate if the storage array in CoprHD is VMAX or VPLEX
1392# (boolean value)
1393#coprhd_emulate_snapshot = false
1394
1395# Rest Gateway IP or FQDN for Scaleio (string value)
1396#coprhd_scaleio_rest_gateway_host = None
1397
1398# Rest Gateway Port for Scaleio (port value)
1399# Minimum value: 0
1400# Maximum value: 65535
1401#coprhd_scaleio_rest_gateway_port = 4984
1402
1403# Username for Rest Gateway (string value)
1404#coprhd_scaleio_rest_server_username = <None>
1405
1406# Rest Gateway Password (string value)
1407#coprhd_scaleio_rest_server_password = <None>
1408
1409# verify server certificate (boolean value)
1410#scaleio_verify_server_certificate = false
1411
1412# Server certificate path (string value)
1413#scaleio_server_certificate_path = <None>
1414
1415# Datera API port. (string value)
1416#datera_api_port = 7717
1417
1418# DEPRECATED: Datera API version. (string value)
1419# This option is deprecated for removal.
1420# Its value may be silently ignored in the future.
1421#datera_api_version = 2
1422
1423# Timeout for HTTP 503 retry messages (integer value)
1424#datera_503_timeout = 120
1425
1426# Interval between 503 retries (integer value)
1427#datera_503_interval = 5
1428
1429# True to set function arg and return logging (boolean value)
1430#datera_debug = false
1431
1432# ONLY FOR DEBUG/TESTING PURPOSES
1433# True to set replica_count to 1 (boolean value)
1434#datera_debug_replica_count_override = false
1435
1436# If set to 'Map' --> OpenStack project ID will be mapped implicitly to Datera
1437# tenant ID
1438# If set to 'None' --> Datera tenant ID will not be used during volume
1439# provisioning
1440# If set to anything else --> Datera tenant ID will be the provided value
1441# (string value)
1442#datera_tenant_id = <None>
1443
1444# Set to True to disable profiling in the Datera driver (boolean value)
1445#datera_disable_profiler = false
1446
1447# Group name to use for creating volumes. Defaults to "group-0". (string value)
1448#eqlx_group_name = group-0
1449
1450# Maximum retry count for reconnection. Default is 5. (integer value)
1451# Minimum value: 0
1452#eqlx_cli_max_retries = 5
1453
1454# Pool in which volumes will be created. Defaults to "default". (string value)
1455#eqlx_pool = default
1456
1457# Storage Center System Serial Number (integer value)
1458#dell_sc_ssn = 64702
1459
1460# Dell API port (port value)
1461# Minimum value: 0
1462# Maximum value: 65535
1463#dell_sc_api_port = 3033
1464
1465# Name of the server folder to use on the Storage Center (string value)
1466#dell_sc_server_folder = openstack
1467
1468# Name of the volume folder to use on the Storage Center (string value)
1469#dell_sc_volume_folder = openstack
1470
1471# Enable HTTPS SC certificate verification (boolean value)
1472#dell_sc_verify_cert = false
1473
1474# IP address of secondary DSM volume (string value)
1475#secondary_san_ip =
1476
1477# Secondary DSM user name (string value)
1478#secondary_san_login = Admin
1479
1480# Secondary DSM user password name (string value)
1481#secondary_san_password =
1482
1483# Secondary Dell API port (port value)
1484# Minimum value: 0
1485# Maximum value: 65535
1486#secondary_sc_api_port = 3033
1487
1488# Dell SC API async call default timeout in seconds. (integer value)
1489#dell_api_async_rest_timeout = 15
1490
1491# Dell SC API sync call default timeout in seconds. (integer value)
1492#dell_api_sync_rest_timeout = 30
1493
1494# Domain IP to be excluded from iSCSI returns. (IP address value)
1495#excluded_domain_ip = <None>
1496
1497# Server OS type to use when creating a new server on the Storage Center.
1498# (string value)
1499#dell_server_os = Red Hat Linux 6.x
1500
1501# REST server port. (string value)
1502#sio_rest_server_port = 443
1503
1504# Verify server certificate. (boolean value)
1505#sio_verify_server_certificate = false
1506
1507# Server certificate path. (string value)
1508#sio_server_certificate_path = <None>
1509
1510# Round up volume capacity. (boolean value)
1511#sio_round_volume_capacity = true
1512
1513# Unmap volume before deletion. (boolean value)
1514#sio_unmap_volume_before_deletion = false
1515
1516# Storage Pools. (string value)
1517#sio_storage_pools = <None>
1518
1519# DEPRECATED: Protection Domain ID. (string value)
1520# This option is deprecated for removal since Pike.
1521# Its value may be silently ignored in the future.
1522# Reason: Replaced by sio_storage_pools option
1523#sio_protection_domain_id = <None>
1524
1525# DEPRECATED: Protection Domain name. (string value)
1526# This option is deprecated for removal since Pike.
1527# Its value may be silently ignored in the future.
1528# Reason: Replaced by sio_storage_pools option
1529#sio_protection_domain_name = <None>
1530
1531# DEPRECATED: Storage Pool name. (string value)
1532# This option is deprecated for removal since Pike.
1533# Its value may be silently ignored in the future.
1534# Reason: Replaced by sio_storage_pools option
1535#sio_storage_pool_name = <None>
1536
1537# DEPRECATED: Storage Pool ID. (string value)
1538# This option is deprecated for removal since Pike.
1539# Its value may be silently ignored in the future.
1540# Reason: Replaced by sio_storage_pools option
1541#sio_storage_pool_id = <None>
1542
1543# ScaleIO API version. (string value)
1544#sio_server_api_version = <None>
1545
1546# max_over_subscription_ratio setting for the ScaleIO driver. This replaces the
1547# general max_over_subscription_ratio which has no effect in this
1548# driver.Maximum value allowed for ScaleIO is 10.0. (floating point value)
1549#sio_max_over_subscription_ratio = 10.0
1550
1551# Allow thick volumes to be created in Storage Pools when zero padding is
1552# disabled. This option should not be enabled if multiple tenants will utilize
1553# thick volumes from a shared Storage Pool. (boolean value)
1554#sio_allow_non_padded_thick_volumes = false
1555
1556# A comma-separated list of storage pool names to be used. (list value)
1557#unity_storage_pool_names = <None>
1558
1559# A comma-separated list of iSCSI or FC ports to be used. Each port can be
1560# Unix-style glob expressions. (list value)
1561#unity_io_ports = <None>
1562
1563# To remove the host from Unity when the last LUN is detached from it. By
1564# default, it is False. (boolean value)
1565#remove_empty_host = false
1566
1567# DEPRECATED: Use this file for cinder emc plugin config data. (string value)
1568# This option is deprecated for removal.
1569# Its value may be silently ignored in the future.
1570#cinder_dell_emc_config_file = /etc/cinder/cinder_dell_emc_config.xml
1571
1572# Use this value to specify length of the interval in seconds. (integer value)
1573#interval = 3
1574
1575# Use this value to specify number of retries. (integer value)
1576#retries = 200
1577
1578# Use this value to enable the initiator_check. (boolean value)
1579#initiator_check = false
1580
1581# REST server port number. (port value)
1582# Minimum value: 0
1583# Maximum value: 65535
1584#san_rest_port = 8443
1585
1586# Serial number of the array to connect to. (string value)
1587#vmax_array = <None>
1588
1589# Storage resource pool on array to use for provisioning. (string value)
1590#vmax_srp = <None>
1591
1592# Service level to use for provisioning storage. (string value)
1593#vmax_service_level = <None>
1594
1595# Workload (string value)
1596#vmax_workload = <None>
1597
1598# List of port groups containing frontend ports configured prior for server
1599# connection. (list value)
1600#vmax_port_groups = <None>
1601
1602# VNX authentication scope type. By default, the value is global. (string
1603# value)
1604#storage_vnx_authentication_type = global
1605
1606# Directory path that contains the VNX security file. Make sure the security
1607# file is generated first. (string value)
1608#storage_vnx_security_file_dir = <None>
1609
1610# Naviseccli Path. (string value)
1611#naviseccli_path = <None>
1612
1613# Comma-separated list of storage pool names to be used. (list value)
1614#storage_vnx_pool_names = <None>
1615
1616# Default timeout for CLI operations in minutes. For example, LUN migration is
1617# a typical long running operation, which depends on the LUN size and the load
1618# of the array. An upper bound in the specific deployment can be set to avoid
1619# unnecessary long wait. By default, it is 365 days long. (integer value)
1620#default_timeout = 31536000
1621
1622# Default max number of LUNs in a storage group. By default, the value is 255.
1623# (integer value)
1624#max_luns_per_storage_group = 255
1625
1626# To destroy storage group when the last LUN is removed from it. By default,
1627# the value is False. (boolean value)
1628#destroy_empty_storage_group = false
1629
1630# Mapping between hostname and its iSCSI initiator IP addresses. (string value)
1631#iscsi_initiators = <None>
1632
1633# Comma separated iSCSI or FC ports to be used in Nova or Cinder. (list value)
1634#io_port_list = <None>
1635
1636# Automatically register initiators. By default, the value is False. (boolean
1637# value)
1638#initiator_auto_registration = false
1639
1640# Automatically deregister initiators after the related storage group is
1641# destroyed. By default, the value is False. (boolean value)
1642#initiator_auto_deregistration = false
1643
1644# DEPRECATED: Report free_capacity_gb as 0 when the limit to maximum number of
1645# pool LUNs is reached. By default, the value is False. (boolean value)
1646# This option is deprecated for removal.
1647# Its value may be silently ignored in the future.
1648#check_max_pool_luns_threshold = false
1649
1650# Delete a LUN even if it is in Storage Groups. By default, the value is False.
1651# (boolean value)
1652#force_delete_lun_in_storagegroup = false
1653
1654# Force LUN creation even if the full threshold of pool is reached. By default,
1655# the value is False. (boolean value)
1656#ignore_pool_full_threshold = false
1657
1658# XMS cluster id in multi-cluster environment (string value)
1659#xtremio_cluster_name =
1660
1661# Number of retries in case array is busy (integer value)
1662#xtremio_array_busy_retry_count = 5
1663
1664# Interval between retries in case array is busy (integer value)
1665#xtremio_array_busy_retry_interval = 5
1666
1667# Number of volumes created from each cached glance image (integer value)
1668#xtremio_volumes_per_glance_cache = 100
1669
1670# Should the driver remove initiator groups with no volumes after the last
1671# connection was terminated. Since the behavior till now was to leave the IG
1672# be, we default to False (not deleting IGs without connected volumes); setting
1673# this parameter to True will remove any IG after terminating its connection to
1674# the last volume. (boolean value)
1675#xtremio_clean_unused_ig = false
1676
1677# The IP of DMS client socket server (IP address value)
1678#disco_client = 127.0.0.1
1679
1680# The port to connect DMS client socket server (port value)
1681# Minimum value: 0
1682# Maximum value: 65535
1683#disco_client_port = 9898
1684
1685# DEPRECATED: Path to the wsdl file to communicate with DISCO request manager
1686# (string value)
1687# This option is deprecated for removal.
1688# Its value may be silently ignored in the future.
1689#disco_wsdl_path = /etc/cinder/DISCOService.wsdl
1690
1691# DEPRECATED: The IP address of the REST server (IP address value)
1692# Deprecated group/name - [DEFAULT]/rest_ip
1693# This option is deprecated for removal.
1694# Its value may be silently ignored in the future.
1695# Reason: Using san_ip later
1696#disco_rest_ip = <None>
1697
1698# Use soap client or rest client for communicating with DISCO. Possible values
1699# are "soap" or "rest". (string value)
1700# Possible values:
1701# soap - <No description provided>
1702# rest - <No description provided>
1703# Deprecated group/name - [DEFAULT]/choice_client
1704#disco_choice_client = <None>
1705
1706# DEPRECATED: The port of DISCO source API (port value)
1707# Minimum value: 0
1708# Maximum value: 65535
1709# This option is deprecated for removal.
1710# Its value may be silently ignored in the future.
1711# Reason: Using san_api_port later
1712#disco_src_api_port = 8080
1713
1714# Prefix before volume name to differentiate DISCO volume created through
1715# openstack and the other ones (string value)
1716# Deprecated group/name - [backend_defaults]/volume_name_prefix
1717#disco_volume_name_prefix = openstack-
1718
1719# How long we check whether a snapshot is finished before we give up (integer
1720# value)
1721# Deprecated group/name - [backend_defaults]/snapshot_check_timeout
1722#disco_snapshot_check_timeout = 3600
1723
1724# How long we check whether a restore is finished before we give up (integer
1725# value)
1726# Deprecated group/name - [backend_defaults]/restore_check_timeout
1727#disco_restore_check_timeout = 3600
1728
1729# How long we check whether a clone is finished before we give up (integer
1730# value)
1731# Deprecated group/name - [backend_defaults]/clone_check_timeout
1732#disco_clone_check_timeout = 3600
1733
1734# How long we wait before retrying to get an item detail (integer value)
1735# Deprecated group/name - [backend_defaults]/retry_interval
1736#disco_retry_interval = 1
1737
1738# Number of nodes that should replicate the data. (integer value)
1739#drbdmanage_redundancy = 1
1740
1741# Resource deployment completion wait policy. (string value)
1742#drbdmanage_resource_policy = {"ratio": "0.51", "timeout": "60"}
1743
1744# Disk options to set on new resources. See http://www.drbd.org/en/doc/users-
1745# guide-90/re-drbdconf for all the details. (string value)
1746#drbdmanage_disk_options = {"c-min-rate": "4M"}
1747
1748# Net options to set on new resources. See http://www.drbd.org/en/doc/users-
1749# guide-90/re-drbdconf for all the details. (string value)
1750#drbdmanage_net_options = {"connect-int": "4", "allow-two-primaries": "yes", "ko-count": "30", "max-buffers": "20000", "ping-timeout": "100"}
1751
1752# Resource options to set on new resources. See
1753# http://www.drbd.org/en/doc/users-guide-90/re-drbdconf for all the details.
1754# (string value)
1755#drbdmanage_resource_options = {"auto-promote-timeout": "300"}
1756
1757# Snapshot completion wait policy. (string value)
1758#drbdmanage_snapshot_policy = {"count": "1", "timeout": "60"}
1759
1760# Volume resize completion wait policy. (string value)
1761#drbdmanage_resize_policy = {"timeout": "60"}
1762
1763# Resource deployment completion wait plugin. (string value)
1764#drbdmanage_resource_plugin = drbdmanage.plugins.plugins.wait_for.WaitForResource
1765
1766# Snapshot completion wait plugin. (string value)
1767#drbdmanage_snapshot_plugin = drbdmanage.plugins.plugins.wait_for.WaitForSnapshot
1768
1769# Volume resize completion wait plugin. (string value)
1770#drbdmanage_resize_plugin = drbdmanage.plugins.plugins.wait_for.WaitForVolumeSize
1771
1772# If set, the c-vol node will receive a useable
1773# /dev/drbdX device, even if the actual data is stored on
1774# other nodes only.
1775# This is useful for debugging, maintenance, and to be
1776# able to do the iSCSI export from the c-vol node. (boolean
1777# value)
1778#drbdmanage_devs_on_volume = true
1779
1780# config file for cinder eternus_dx volume driver (string value)
1781#cinder_eternus_config_file = /etc/cinder/cinder_fujitsu_eternus_dx.xml
1782
1783# The flag of thin storage allocation. (boolean value)
1784#dsware_isthin = false
1785
1786# Fusionstorage manager ip addr for cinder-volume. (string value)
1787#dsware_manager =
1788
1789# Fusionstorage agent ip addr range. (string value)
1790#fusionstorageagent =
1791
1792# Pool type, like sata-2copy. (string value)
1793#pool_type = default
1794
1795# Pool id permit to use. (list value)
1796#pool_id_filter =
1797
1798# Create clone volume timeout. (integer value)
1799#clone_volume_timeout = 680
1800
1801# Space network name to use for data transfer (string value)
1802#hgst_net = Net 1 (IPv4)
1803
1804# Comma separated list of Space storage servers:devices. ex:
1805# os1_stor:gbd0,os2_stor:gbd0 (string value)
1806#hgst_storage_servers = os:gbd0
1807
1808# Should spaces be redundantly stored (1/0) (string value)
1809#hgst_redundancy = 0
1810
1811# User to own created spaces (string value)
1812#hgst_space_user = root
1813
1814# Group to own created spaces (string value)
1815#hgst_space_group = disk
1816
1817# UNIX mode for created spaces (string value)
1818#hgst_space_mode = 0600
1819
1820# 3PAR WSAPI Server Url like https://<3par ip>:8080/api/v1 (string value)
1821#hpe3par_api_url =
1822
1823# 3PAR username with the 'edit' role (string value)
1824#hpe3par_username =
1825
1826# 3PAR password for the user specified in hpe3par_username (string value)
1827#hpe3par_password =
1828
1829# List of the CPG(s) to use for volume creation (list value)
1830#hpe3par_cpg = OpenStack
1831
1832# The CPG to use for Snapshots for volumes. If empty the userCPG will be used.
1833# (string value)
1834#hpe3par_cpg_snap =
1835
1836# The time in hours to retain a snapshot. You can't delete it before this
1837# expires. (string value)
1838#hpe3par_snapshot_retention =
1839
1840# The time in hours when a snapshot expires and is deleted. This must be
1841# larger than expiration (string value)
1842#hpe3par_snapshot_expiration =
1843
1844# Enable HTTP debugging to 3PAR (boolean value)
1845#hpe3par_debug = false
1846
1847# List of target iSCSI addresses to use. (list value)
1848#hpe3par_iscsi_ips =
1849
1850# Enable CHAP authentication for iSCSI connections. (boolean value)
1851#hpe3par_iscsi_chap_enabled = false
1852
1853# HPE LeftHand WSAPI Server Url like https://<LeftHand ip>:8081/lhos (uri
1854# value)
1855# Deprecated group/name - [backend_defaults]/hplefthand_api_url
1856#hpelefthand_api_url = <None>
1857
1858# HPE LeftHand Super user username (string value)
1859# Deprecated group/name - [backend_defaults]/hplefthand_username
1860#hpelefthand_username = <None>
1861
1862# HPE LeftHand Super user password (string value)
1863# Deprecated group/name - [backend_defaults]/hplefthand_password
1864#hpelefthand_password = <None>
1865
1866# HPE LeftHand cluster name (string value)
1867# Deprecated group/name - [backend_defaults]/hplefthand_clustername
1868#hpelefthand_clustername = <None>
1869
1870# Configure CHAP authentication for iSCSI connections (Default: Disabled)
1871# (boolean value)
1872# Deprecated group/name - [backend_defaults]/hplefthand_iscsi_chap_enabled
1873#hpelefthand_iscsi_chap_enabled = false
1874
1875# Enable HTTP debugging to LeftHand (boolean value)
1876# Deprecated group/name - [backend_defaults]/hplefthand_debug
1877#hpelefthand_debug = false
1878
1879# Port number of SSH service. (port value)
1880# Minimum value: 0
1881# Maximum value: 65535
1882#hpelefthand_ssh_port = 16022
1883
1884# The configuration file for the Cinder Huawei driver. (string value)
1885#cinder_huawei_conf_file = /etc/cinder/cinder_huawei_conf.xml
1886
1887# The remote device hypermetro will use. (string value)
1888#hypermetro_devices = <None>
1889
1890# The remote metro device san user. (string value)
1891#metro_san_user = <None>
1892
1893# The remote metro device san password. (string value)
1894#metro_san_password = <None>
1895
1896# The remote metro device domain name. (string value)
1897#metro_domain_name = <None>
1898
1899# The remote metro device request url. (string value)
1900#metro_san_address = <None>
1901
1902# The remote metro device pool names. (string value)
1903#metro_storage_pools = <None>
1904
1905# Connection protocol should be FC. (Default is FC.) (string value)
1906#flashsystem_connection_protocol = FC
1907
1908# Allows vdisk to multi host mapping. (Default is True) (boolean value)
1909#flashsystem_multihostmap_enabled = true
1910
1911# DEPRECATED: This option no longer has any affect. It is deprecated and will
1912# be removed in the next release. (boolean value)
1913# This option is deprecated for removal.
1914# Its value may be silently ignored in the future.
1915#flashsystem_multipath_enabled = false
1916
1917# Default iSCSI Port ID of FlashSystem. (Default port is 0.) (integer value)
1918#flashsystem_iscsi_portid = 0
1919
1920# Specifies the path of the GPFS directory where Block Storage volume and
1921# snapshot files are stored. (string value)
1922#gpfs_mount_point_base = <None>
1923
1924# Specifies the path of the Image service repository in GPFS. Leave undefined
1925# if not storing images in GPFS. (string value)
1926#gpfs_images_dir = <None>
1927
1928# Specifies the type of image copy to be used. Set this when the Image service
1929# repository also uses GPFS so that image files can be transferred efficiently
1930# from the Image service to the Block Storage service. There are two valid
1931# values: "copy" specifies that a full copy of the image is made;
1932# "copy_on_write" specifies that copy-on-write optimization strategy is used
1933# and unmodified blocks of the image file are shared efficiently. (string
1934# value)
1935# Possible values:
1936# copy - <No description provided>
1937# copy_on_write - <No description provided>
1938# <None> - <No description provided>
1939#gpfs_images_share_mode = <None>
1940
1941# Specifies an upper limit on the number of indirections required to reach a
1942# specific block due to snapshots or clones. A lengthy chain of copy-on-write
1943# snapshots or clones can have a negative impact on performance, but improves
1944# space utilization. 0 indicates unlimited clone depth. (integer value)
1945#gpfs_max_clone_depth = 0
1946
1947# Specifies that volumes are created as sparse files which initially consume no
1948# space. If set to False, the volume is created as a fully allocated file, in
1949# which case, creation may take a significantly longer time. (boolean value)
1950#gpfs_sparse_volumes = true
1951
1952# Specifies the storage pool that volumes are assigned to. By default, the
1953# system storage pool is used. (string value)
1954#gpfs_storage_pool = system
1955
1956# Comma-separated list of IP address or hostnames of GPFS nodes. (list value)
1957#gpfs_hosts =
1958
1959# Username for GPFS nodes. (string value)
1960#gpfs_user_login = root
1961
1962# Password for GPFS node user. (string value)
1963#gpfs_user_password =
1964
1965# Filename of private key to use for SSH authentication. (string value)
1966#gpfs_private_key =
1967
1968# SSH port to use. (port value)
1969# Minimum value: 0
1970# Maximum value: 65535
1971#gpfs_ssh_port = 22
1972
1973# File containing SSH host keys for the gpfs nodes with which driver needs to
1974# communicate. Default=$state_path/ssh_known_hosts (string value)
1975#gpfs_hosts_key_file = $state_path/ssh_known_hosts
1976
1977# Option to enable strict gpfs host key checking while connecting to gpfs
1978# nodes. Default=False (boolean value)
1979#gpfs_strict_host_key_policy = false
1980
1981# Mapping between IODevice address and unit address. (string value)
1982#ds8k_devadd_unitadd_mapping =
1983
1984# Set the first two digits of SSID. (string value)
1985#ds8k_ssid_prefix = FF
1986
1987# Reserve LSSs for consistency group. (string value)
1988#lss_range_for_cg =
1989
1990# Set to zLinux if your OpenStack version is prior to Liberty and you're
1991# connecting to zLinux systems. Otherwise set to auto. Valid values for this
1992# parameter are: 'auto', 'AMDLinuxRHEL', 'AMDLinuxSuse', 'AppleOSX', 'Fujitsu',
1993# 'Hp', 'HpTru64', 'HpVms', 'LinuxDT', 'LinuxRF', 'LinuxRHEL', 'LinuxSuse',
1994# 'Novell', 'SGI', 'SVC', 'SanFsAIX', 'SanFsLinux', 'Sun', 'VMWare', 'Win2000',
1995# 'Win2003', 'Win2008', 'Win2012', 'iLinux', 'nSeries', 'pLinux', 'pSeries',
1996# 'pSeriesPowerswap', 'zLinux', 'iSeries'. (string value)
1997#ds8k_host_type = auto
1998
1999# Proxy driver that connects to the IBM Storage Array (string value)
2000#proxy = cinder.volume.drivers.ibm.ibm_storage.proxy.IBMStorageProxy
2001
2002# Connection type to the IBM Storage Array (string value)
2003# Possible values:
2004# fibre_channel - <No description provided>
2005# iscsi - <No description provided>
2006#connection_type = iscsi
2007
2008# CHAP authentication mode, effective only for iscsi (disabled|enabled) (string
2009# value)
2010# Possible values:
2011# disabled - <No description provided>
2012# enabled - <No description provided>
2013#chap = disabled
2014
2015# List of Management IP addresses (separated by commas) (string value)
2016#management_ips =
2017
2018# Comma separated list of storage system storage pools for volumes. (list
2019# value)
2020#storwize_svc_volpool_name = volpool
2021
2022# Storage system space-efficiency parameter for volumes (percentage) (integer
2023# value)
2024# Minimum value: -1
2025# Maximum value: 100
2026#storwize_svc_vol_rsize = 2
2027
2028# Storage system threshold for volume capacity warnings (percentage) (integer
2029# value)
2030# Minimum value: -1
2031# Maximum value: 100
2032#storwize_svc_vol_warning = 0
2033
2034# Storage system autoexpand parameter for volumes (True/False) (boolean value)
2035#storwize_svc_vol_autoexpand = true
2036
2037# Storage system grain size parameter for volumes (32/64/128/256) (integer
2038# value)
2039#storwize_svc_vol_grainsize = 256
2040
2041# Storage system compression option for volumes (boolean value)
2042#storwize_svc_vol_compression = false
2043
2044# Enable Easy Tier for volumes (boolean value)
2045#storwize_svc_vol_easytier = true
2046
2047# The I/O group in which to allocate volumes. It can be a comma-separated list
2048# in which case the driver will select an io_group based on least number of
2049# volumes associated with the io_group. (string value)
2050#storwize_svc_vol_iogrp = 0
2051
2052# Maximum number of seconds to wait for FlashCopy to be prepared. (integer
2053# value)
2054# Minimum value: 1
2055# Maximum value: 600
2056#storwize_svc_flashcopy_timeout = 120
2057
2058# DEPRECATED: This option no longer has any affect. It is deprecated and will
2059# be removed in the next release. (boolean value)
2060# This option is deprecated for removal.
2061# Its value may be silently ignored in the future.
2062#storwize_svc_multihostmap_enabled = true
2063
2064# Allow tenants to specify QOS on create (boolean value)
2065#storwize_svc_allow_tenant_qos = false
2066
2067# If operating in stretched cluster mode, specify the name of the pool in which
2068# mirrored copies are stored.Example: "pool2" (string value)
2069#storwize_svc_stretched_cluster_partner = <None>
2070
2071# Specifies secondary management IP or hostname to be used if san_ip is invalid
2072# or becomes inaccessible. (string value)
2073#storwize_san_secondary_ip = <None>
2074
2075# Specifies that the volume not be formatted during creation. (boolean value)
2076#storwize_svc_vol_nofmtdisk = false
2077
2078# Specifies the Storwize FlashCopy copy rate to be used when creating a full
2079# volume copy. The default is rate is 50, and the valid rates are 1-150.
2080# (integer value)
2081# Minimum value: 1
2082# Maximum value: 150
2083#storwize_svc_flashcopy_rate = 50
2084
2085# Specifies the name of the pool in which mirrored copy is stored. Example:
2086# "pool2" (string value)
2087#storwize_svc_mirror_pool = <None>
2088
2089# Specifies the name of the peer pool for hyperswap volume, the peer pool must
2090# exist on the other site. (string value)
2091#storwize_peer_pool = <None>
2092
2093# Specifies the site information for host. One WWPN or multi WWPNs used in the
2094# host can be specified. For example:
2095# storwize_preferred_host_site=site1:wwpn1,site2:wwpn2&wwpn3 or
2096# storwize_preferred_host_site=site1:iqn1,site2:iqn2 (dict value)
2097#storwize_preferred_host_site =
2098
2099# This defines an optional cycle period that applies to Global Mirror
2100# relationships with a cycling mode of multi. A Global Mirror relationship
2101# using the multi cycling_mode performs a complete cycle at most once each
2102# period. The default is 300 seconds, and the valid seconds are 60-86400.
2103# (integer value)
2104# Minimum value: 60
2105# Maximum value: 86400
2106#cycle_period_seconds = 300
2107
2108# Connect with multipath (FC only; iSCSI multipath is controlled by Nova)
2109# (boolean value)
2110#storwize_svc_multipath_enabled = false
2111
2112# Configure CHAP authentication for iSCSI connections (Default: Enabled)
2113# (boolean value)
2114#storwize_svc_iscsi_chap_enabled = true
2115
2116# Name of the pool from which volumes are allocated (string value)
2117#infinidat_pool_name = <None>
2118
2119# Protocol for transferring data between host and storage back-end. (string
2120# value)
2121# Possible values:
2122# iscsi - <No description provided>
2123# fc - <No description provided>
2124#infinidat_storage_protocol = fc
2125
2126# List of names of network spaces to use for iSCSI connectivity (list value)
2127#infinidat_iscsi_netspaces =
2128
2129# Specifies whether to turn on compression for newly created volumes. (boolean
2130# value)
2131#infinidat_use_compression = false
2132
2133# K2 driver will calculate max_oversubscription_ratio on setting this option as
2134# True. (boolean value)
2135#auto_calc_max_oversubscription_ratio = false
2136
2137# Whether or not our private network has unique FQDN on each initiator or not.
2138# For example networks with QA systems usually have multiple servers/VMs with
2139# the same FQDN. When true this will create host entries on K2 using the FQDN,
2140# when false it will use the reversed IQN/WWNN. (boolean value)
2141#unique_fqdn_network = true
2142
2143# Disabling iSCSI discovery (sendtargets) for multipath connections on K2
2144# driver. (boolean value)
2145#disable_discovery = false
2146
2147# Pool or Vdisk name to use for volume creation. (string value)
2148#lenovo_backend_name = A
2149
2150# linear (for VDisk) or virtual (for Pool). (string value)
2151# Possible values:
2152# linear - <No description provided>
2153# virtual - <No description provided>
2154#lenovo_backend_type = virtual
2155
2156# Lenovo api interface protocol. (string value)
2157# Possible values:
2158# http - <No description provided>
2159# https - <No description provided>
2160#lenovo_api_protocol = https
2161
2162# Whether to verify Lenovo array SSL certificate. (boolean value)
2163#lenovo_verify_certificate = false
2164
2165# Lenovo array SSL certificate path. (string value)
2166#lenovo_verify_certificate_path = <None>
2167
2168# List of comma-separated target iSCSI IP addresses. (list value)
2169#lenovo_iscsi_ips =
2170
2171# Name for the VG that will contain exported volumes (string value)
2172#volume_group = cinder-volumes
2173
2174# If >0, create LVs with multiple mirrors. Note that this requires lvm_mirrors
2175# + 2 PVs with available space (integer value)
2176#lvm_mirrors = 0
2177
2178# Type of LVM volumes to deploy; (default, thin, or auto). Auto defaults to
2179# thin if thin is supported. (string value)
2180# Possible values:
2181# default - <No description provided>
2182# thin - <No description provided>
2183# auto - <No description provided>
2184#lvm_type = auto
2185
2186# LVM conf file to use for the LVM driver in Cinder; this setting is ignored if
2187# the specified file does not exist (You can also specify 'None' to not use a
2188# conf file even if one exists). (string value)
2189#lvm_conf_file = /etc/cinder/lvm.conf
2190
2191# Suppress leaked file descriptor warnings in LVM commands. (boolean value)
2192#lvm_suppress_fd_warnings = false
2193
2194# The storage family type used on the storage system; valid values are
2195# ontap_cluster for using clustered Data ONTAP, or eseries for using E-Series.
2196# (string value)
2197# Possible values:
2198# ontap_cluster - <No description provided>
2199# eseries - <No description provided>
2200#netapp_storage_family = ontap_cluster
2201
2202# The storage protocol to be used on the data path with the storage system.
2203# (string value)
2204# Possible values:
2205# iscsi - <No description provided>
2206# fc - <No description provided>
2207# nfs - <No description provided>
2208#netapp_storage_protocol = <None>
2209
2210# The hostname (or IP address) for the storage system or proxy server. (string
2211# value)
2212#netapp_server_hostname = <None>
2213
2214# The TCP port to use for communication with the storage system or proxy
2215# server. If not specified, Data ONTAP drivers will use 80 for HTTP and 443 for
2216# HTTPS; E-Series will use 8080 for HTTP and 8443 for HTTPS. (integer value)
2217#netapp_server_port = <None>
2218
2219# The transport protocol used when communicating with the storage system or
2220# proxy server. (string value)
2221# Possible values:
2222# http - <No description provided>
2223# https - <No description provided>
2224#netapp_transport_type = http
2225
2226# Administrative user account name used to access the storage system or proxy
2227# server. (string value)
2228#netapp_login = <None>
2229
2230# Password for the administrative user account specified in the netapp_login
2231# option. (string value)
2232#netapp_password = <None>
2233
2234# This option specifies the virtual storage server (Vserver) name on the
2235# storage cluster on which provisioning of block storage volumes should occur.
2236# (string value)
2237#netapp_vserver = <None>
2238
2239# The quantity to be multiplied by the requested volume size to ensure enough
2240# space is available on the virtual storage server (Vserver) to fulfill the
2241# volume creation request. Note: this option is deprecated and will be removed
2242# in favor of "reserved_percentage" in the Mitaka release. (floating point
2243# value)
2244#netapp_size_multiplier = 1.2
2245
2246# This option determines if storage space is reserved for LUN allocation. If
2247# enabled, LUNs are thick provisioned. If space reservation is disabled,
2248# storage space is allocated on demand. (string value)
2249# Possible values:
2250# enabled - <No description provided>
2251# disabled - <No description provided>
2252#netapp_lun_space_reservation = enabled
2253
2254# If the percentage of available space for an NFS share has dropped below the
2255# value specified by this option, the NFS image cache will be cleaned. (integer
2256# value)
2257#thres_avl_size_perc_start = 20
2258
2259# When the percentage of available space on an NFS share has reached the
2260# percentage specified by this option, the driver will stop clearing files from
2261# the NFS image cache that have not been accessed in the last M minutes, where
2262# M is the value of the expiry_thres_minutes configuration option. (integer
2263# value)
2264#thres_avl_size_perc_stop = 60
2265
2266# This option specifies the threshold for last access time for images in the
2267# NFS image cache. When a cache cleaning cycle begins, images in the cache that
2268# have not been accessed in the last M minutes, where M is the value of this
2269# parameter, will be deleted from the cache to create free space on the NFS
2270# share. (integer value)
2271#expiry_thres_minutes = 720
2272
2273# This option is used to specify the path to the E-Series proxy application on
2274# a proxy server. The value is combined with the value of the
2275# netapp_transport_type, netapp_server_hostname, and netapp_server_port options
2276# to create the URL used by the driver to connect to the proxy application.
2277# (string value)
2278#netapp_webservice_path = /devmgr/v2
2279
2280# This option is only utilized when the storage family is configured to
2281# eseries. This option is used to restrict provisioning to the specified
2282# volumes. Specify the value of this option to be a comma separated list of
2283# volume hostnames or IP addresses to be used for provisioning. (string
2284# value)
2285#netapp_volume_ips = <None>
2286
2287# Password for the NetApp E-Series storage array. (string value)
2288#netapp_sa_password = <None>
2289
2290# This option specifies whether the driver should allow operations that require
2291# multiple attachments to a volume. An example would be live migration of
2292# servers that have volumes attached. When enabled, this backend is limited to
2293# 256 total volumes in order to guarantee volumes can be accessed by more than
2294# one host. (boolean value)
2295#netapp_enable_multiattach = false
2296
2297# This option specifies the path of the NetApp copy offload tool binary. Ensure
2298# that the binary has execute permissions set which allow the effective user of
2299# the cinder-volume process to execute the file. (string value)
2300#netapp_copyoffload_tool_path = <None>
2301
2302# This option defines the type of operating system that will access a LUN
2303# exported from Data ONTAP; it is assigned to the LUN at the time it is
2304# created. (string value)
2305#netapp_lun_ostype = <None>
2306
2307# This option defines the type of operating system for all initiators that can
2308# access a LUN. This information is used when mapping LUNs to individual hosts
2309# or groups of hosts. (string value)
2310#netapp_host_type = <None>
2311
2312# This option is used to restrict provisioning to the specified pools. Specify
2313# the value of this option to be a regular expression which will be applied to
2314# the names of objects from the storage backend which represent pools in
2315# Cinder. This option is only utilized when the storage protocol is configured
2316# to use iSCSI or FC. (string value)
2317# Deprecated group/name - [backend_defaults]/netapp_volume_list
2318# Deprecated group/name - [backend_defaults]/netapp_storage_pools
2319#netapp_pool_name_search_pattern = (.+)
2320
2321# Multi opt of dictionaries to represent the aggregate mapping between source
2322# and destination back ends when using whole back end replication. For every
2323# source aggregate associated with a cinder pool (NetApp FlexVol), you would
2324# need to specify the destination aggregate on the replication target device. A
2325# replication target device is configured with the configuration option
2326# replication_device. Specify this option as many times as you have replication
2327# devices. Each entry takes the standard dict config form:
2328# netapp_replication_aggregate_map =
2329# backend_id:<name_of_replication_device_section>,src_aggr_name1:dest_aggr_name1,src_aggr_name2:dest_aggr_name2,...
2330# (dict value)
2331#netapp_replication_aggregate_map = <None>
2332
2333# The maximum time in seconds to wait for existing SnapMirror transfers to
2334# complete before aborting during a failover. (integer value)
2335# Minimum value: 0
2336#netapp_snapmirror_quiesce_timeout = 3600
2337
2338# IP address of Nexenta SA (string value)
2339#nexenta_host =
2340
2341# HTTP(S) port to connect to Nexenta REST API server. If it is equal zero, 8443
2342# for HTTPS and 8080 for HTTP is used (integer value)
2343#nexenta_rest_port = 0
2344
2345# Use http or https for REST connection (default auto) (string value)
2346# Possible values:
2347# http - <No description provided>
2348# https - <No description provided>
2349# auto - <No description provided>
2350#nexenta_rest_protocol = auto
2351
2352# Use secure HTTP for REST connection (default True) (boolean value)
2353#nexenta_use_https = true
2354
2355# User name to connect to Nexenta SA (string value)
2356#nexenta_user = admin
2357
2358# Password to connect to Nexenta SA (string value)
2359#nexenta_password = nexenta
2360
2361# Nexenta target portal port (integer value)
2362#nexenta_iscsi_target_portal_port = 3260
2363
2364# SA Pool that holds all volumes (string value)
2365#nexenta_volume = cinder
2366
2367# IQN prefix for iSCSI targets (string value)
2368#nexenta_target_prefix = iqn.1986-03.com.sun:02:cinder-
2369
2370# Prefix for iSCSI target groups on SA (string value)
2371#nexenta_target_group_prefix = cinder/
2372
2373# Volume group for ns5 (string value)
2374#nexenta_volume_group = iscsi
2375
2376# Compression value for new ZFS folders. (string value)
2377# Possible values:
2378# on - <No description provided>
2379# off - <No description provided>
2380# gzip - <No description provided>
2381# gzip-1 - <No description provided>
2382# gzip-2 - <No description provided>
2383# gzip-3 - <No description provided>
2384# gzip-4 - <No description provided>
2385# gzip-5 - <No description provided>
2386# gzip-6 - <No description provided>
2387# gzip-7 - <No description provided>
2388# gzip-8 - <No description provided>
2389# gzip-9 - <No description provided>
2390# lzjb - <No description provided>
2391# zle - <No description provided>
2392# lz4 - <No description provided>
2393#nexenta_dataset_compression = on
2394
2395# Deduplication value for new ZFS folders. (string value)
2396# Possible values:
2397# on - <No description provided>
2398# off - <No description provided>
2399# sha256 - <No description provided>
2400# verify - <No description provided>
2401# sha256, verify - <No description provided>
2402#nexenta_dataset_dedup = off
2403
2404# Human-readable description for the folder. (string value)
2405#nexenta_dataset_description =
2406
2407# Block size for datasets (integer value)
2408#nexenta_blocksize = 4096
2409
2410# Block size for datasets (integer value)
2411#nexenta_ns5_blocksize = 32
2412
2413# Enables or disables the creation of sparse datasets (boolean value)
2414#nexenta_sparse = false
2415
2416# File with the list of available nfs shares (string value)
2417#nexenta_shares_config = /etc/cinder/nfs_shares
2418
2419# Base directory that contains NFS share mount points (string value)
2420#nexenta_mount_point_base = $state_path/mnt
2421
2422# Enables or disables the creation of volumes as sparsed files that take no
2423# space. If disabled (False), volume is created as a regular file, which takes
2424# a long time. (boolean value)
2425#nexenta_sparsed_volumes = true
2426
2427# If set True cache NexentaStor appliance volroot option value. (boolean value)
2428#nexenta_nms_cache_volroot = true
2429
2430# Enable stream compression, level 1..9. 1 - gives best speed; 9 - gives best
2431# compression. (integer value)
2432#nexenta_rrmgr_compression = 0
2433
2434# TCP Buffer size in KiloBytes. (integer value)
2435#nexenta_rrmgr_tcp_buf_size = 4096
2436
2437# Number of TCP connections. (integer value)
2438#nexenta_rrmgr_connections = 2
2439
2440# NexentaEdge logical path of directory to store symbolic links to NBDs (string
2441# value)
2442#nexenta_nbd_symlinks_dir = /dev/disk/by-path
2443
2444# IP address of NexentaEdge management REST API endpoint (string value)
2445#nexenta_rest_address =
2446
2447# User name to connect to NexentaEdge (string value)
2448#nexenta_rest_user = admin
2449
2450# Password to connect to NexentaEdge (string value)
2451#nexenta_rest_password = nexenta
2452
2453# NexentaEdge logical path of bucket for LUNs (string value)
2454#nexenta_lun_container =
2455
2456# NexentaEdge iSCSI service name (string value)
2457#nexenta_iscsi_service =
2458
2459# NexentaEdge iSCSI Gateway client address for non-VIP service (string value)
2460#nexenta_client_address =
2461
2462# NexentaEdge iSCSI LUN object chunk size (integer value)
2463#nexenta_chunksize = 32768
2464
2465# File with the list of available NFS shares. (string value)
2466#nfs_shares_config = /etc/cinder/nfs_shares
2467
2468# Create volumes as sparsed files which take no space. If set to False volume
2469# is created as regular file. In such case volume creation takes a lot of time.
2470# (boolean value)
2471#nfs_sparsed_volumes = true
2472
2473# Create volumes as QCOW2 files rather than raw files. (boolean value)
2474#nfs_qcow2_volumes = false
2475
2476# Base dir containing mount points for NFS shares. (string value)
2477#nfs_mount_point_base = $state_path/mnt
2478
2479# Mount options passed to the NFS client. See section of the NFS man page for
2480# details. (string value)
2481#nfs_mount_options = <None>
2482
2483# The number of attempts to mount NFS shares before raising an error. At least
2484# one attempt will be made to mount an NFS share, regardless of the value
2485# specified. (integer value)
2486#nfs_mount_attempts = 3
2487
2488# Enable support for snapshots on the NFS driver. Platforms using libvirt
2489# <1.2.7 will encounter issues with this feature. (boolean value)
2490#nfs_snapshot_support = false
2491
2492# Nimble Controller pool name (string value)
2493#nimble_pool_name = default
2494
2495# Nimble Subnet Label (string value)
2496#nimble_subnet_label = *
2497
2498# Whether to verify Nimble SSL Certificate (boolean value)
2499#nimble_verify_certificate = false
2500
2501# Path to Nimble Array SSL certificate (string value)
2502#nimble_verify_cert_path = <None>
2503
2504# DPL pool uuid in which DPL volumes are stored. (string value)
2505#dpl_pool =
2506
2507# DPL port number. (port value)
2508# Minimum value: 0
2509# Maximum value: 65535
2510#dpl_port = 8357
2511
2512# REST API authorization token. (string value)
2513#pure_api_token = <None>
2514
2515# Automatically determine an oversubscription ratio based on the current total
2516# data reduction values. If used this calculated value will override the
2517# max_over_subscription_ratio config option. (boolean value)
2518#pure_automatic_max_oversubscription_ratio = true
2519
2520# Snapshot replication interval in seconds. (integer value)
2521#pure_replica_interval_default = 3600
2522
2523# Retain all snapshots on target for this time (in seconds.) (integer value)
2524#pure_replica_retention_short_term_default = 14400
2525
2526# Retain how many snapshots for each day. (integer value)
2527#pure_replica_retention_long_term_per_day_default = 3
2528
2529# Retain snapshots per day on target for this time (in days.) (integer value)
2530#pure_replica_retention_long_term_default = 7
2531
2532# When enabled, all Pure volumes, snapshots, and protection groups will be
2533# eradicated at the time of deletion in Cinder. Data will NOT be recoverable
2534# after a delete with this set to True! When disabled, volumes and snapshots
2535# will go into pending eradication state and can be recovered. (boolean value)
2536#pure_eradicate_on_delete = false
2537
2538# The URL to management QNAP Storage. Driver does not support IPv6 address in
2539# URL. (uri value)
2540#qnap_management_url = <None>
2541
2542# The pool name in the QNAP Storage (string value)
2543#qnap_poolname = <None>
2544
2545# Communication protocol to access QNAP storage (string value)
2546#qnap_storage_protocol = iscsi
2547
2548# Quobyte URL to the Quobyte volume using e.g. a DNS SRV record (preferred) or
2549# a host list (alternatively) like quobyte://<DIR host1>, <DIR host2>/<volume
2550# name> (string value)
2551#quobyte_volume_url = <None>
2552
2553# Path to a Quobyte Client configuration file. (string value)
2554#quobyte_client_cfg = <None>
2555
2556# Create volumes as sparse files which take no space. If set to False, volume
2557# is created as regular file. (boolean value)
2558#quobyte_sparsed_volumes = true
2559
2560# Create volumes as QCOW2 files rather than raw files. (boolean value)
2561#quobyte_qcow2_volumes = true
2562
2563# Base dir containing the mount point for the Quobyte volume. (string value)
2564#quobyte_mount_point_base = $state_path/mnt
2565
2566# Create a cache of volumes from merged snapshots to speed up creation of
2567# multiple volumes from a single snapshot. (boolean value)
2568#quobyte_volume_from_snapshot_cache = false
2569
2570# The name of ceph cluster (string value)
2571#rbd_cluster_name = ceph
2572
2573# The RADOS pool where rbd volumes are stored (string value)
2574#rbd_pool = rbd
2575
2576# The RADOS client name for accessing rbd volumes - only set when using cephx
2577# authentication (string value)
2578#rbd_user = <None>
2579
2580# Path to the ceph configuration file (string value)
2581#rbd_ceph_conf =
2582
2583# Path to the ceph keyring file (string value)
2584#rbd_keyring_conf =
2585
2586# Flatten volumes created from snapshots to remove dependency from volume to
2587# snapshot (boolean value)
2588#rbd_flatten_volume_from_snapshot = false
2589
2590# The libvirt uuid of the secret for the rbd_user volumes (string value)
2591#rbd_secret_uuid = <None>
2592
2593# Maximum number of nested volume clones that are taken before a flatten
2594# occurs. Set to 0 to disable cloning. (integer value)
2595#rbd_max_clone_depth = 5
2596
2597# Volumes will be chunked into objects of this size (in megabytes). (integer
2598# value)
2599#rbd_store_chunk_size = 4
2600
2601# Timeout value (in seconds) used when connecting to ceph cluster. If value <
2602# 0, no timeout is set and default librados value is used. (integer value)
2603#rados_connect_timeout = -1
2604
2605# Number of retries if connection to ceph cluster failed. (integer value)
2606#rados_connection_retries = 3
2607
2608# Interval value (in seconds) between connection retries to ceph cluster.
2609# (integer value)
2610#rados_connection_interval = 5
2611
2612# Timeout value (in seconds) used when connecting to ceph cluster to do a
2613# demotion/promotion of volumes. If value < 0, no timeout is set and default
2614# librados value is used. (integer value)
2615#replication_connect_timeout = 5
2616
2617# Set to True for driver to report total capacity as a dynamic value -used +
2618# current free- and to False to report a static value -quota max bytes if
2619# defined and global size of cluster if not. (boolean value)
2620#report_dynamic_total_capacity = true
2621
2622# Set to True if the pool is used exclusively by Cinder. On exclusive use
2623# driver won't query images' provisioned size as they will match the value
2624# calculated by the Cinder core code for allocated_capacity_gb. This reduces
2625# the load on the Ceph cluster as well as on the volume service. (boolean
2626# value)
2627#rbd_exclusive_cinder_pool = false
2628
2629# IP address or Hostname of NAS system. (string value)
2630#nas_host =
2631
2632# User name to connect to NAS system. (string value)
2633#nas_login = admin
2634
2635# Password to connect to NAS system. (string value)
2636#nas_password =
2637
2638# SSH port to use to connect to NAS system. (port value)
2639# Minimum value: 0
2640# Maximum value: 65535
2641#nas_ssh_port = 22
2642
2643# Filename of private key to use for SSH authentication. (string value)
2644#nas_private_key =
2645
2646# Allow network-attached storage systems to operate in a secure environment
2647# where root level access is not permitted. If set to False, access is as the
2648# root user and insecure. If set to True, access is not as root. If set to
2649# auto, a check is done to determine if this is a new installation: True is
2650# used if so, otherwise False. Default is auto. (string value)
2651#nas_secure_file_operations = auto
2652
2653# Set more secure file permissions on network-attached storage volume files to
2654# restrict broad other/world access. If set to False, volumes are created with
2655# open permissions. If set to True, volumes are created with permissions for
2656# the cinder user and group (660). If set to auto, a check is done to determine
2657# if this is a new installation: True is used if so, otherwise False. Default
2658# is auto. (string value)
2659#nas_secure_file_permissions = auto
2660
2661# Path to the share to use for storing Cinder volumes. For example:
2662# "/srv/export1" for an NFS server export available at 10.0.5.10:/srv/export1 .
2663# (string value)
2664#nas_share_path =
2665
2666# Options used to mount the storage backend file system where Cinder volumes
2667# are stored. (string value)
2668#nas_mount_options = <None>
2669
2670# Provisioning type that will be used when creating volumes. (string value)
2671# Possible values:
2672# thin - <No description provided>
2673# thick - <No description provided>
2674#nas_volume_prov_type = thin
2675
2676# Pool or Vdisk name to use for volume creation. (string value)
2677#hpmsa_backend_name = A
2678
2679# linear (for Vdisk) or virtual (for Pool). (string value)
2680# Possible values:
2681# linear - <No description provided>
2682# virtual - <No description provided>
2683#hpmsa_backend_type = virtual
2684
2685# HPMSA API interface protocol. (string value)
2686# Possible values:
2687# http - <No description provided>
2688# https - <No description provided>
2689#hpmsa_api_protocol = https
2690
2691# Whether to verify HPMSA array SSL certificate. (boolean value)
2692#hpmsa_verify_certificate = false
2693
2694# HPMSA array SSL certificate path. (string value)
2695#hpmsa_verify_certificate_path = <None>
2696
2697# List of comma-separated target iSCSI IP addresses. (list value)
2698#hpmsa_iscsi_ips =
2699
2700# Use thin provisioning for SAN volumes? (boolean value)
2701#san_thin_provision = true
2702
2703# IP address of SAN volume (string value)
2704#san_ip =
2705
2706# Username for SAN volume (string value)
2707#san_login = admin
2708
2709# Password for SAN volume (string value)
2710#san_password =
2711
2712# Filename of private key to use for SSH authentication (string value)
2713#san_private_key =
2714
2715# Cluster name to use for creating volumes (string value)
2716#san_clustername =
2717
2718# SSH port to use with SAN (port value)
2719# Minimum value: 0
2720# Maximum value: 65535
2721#san_ssh_port = 22
2722
2723# Port to use to access the SAN API (port value)
2724# Minimum value: 0
2725# Maximum value: 65535
2726#san_api_port = <None>
2727
2728# Execute commands locally instead of over SSH; use if the volume service is
2729# running on the SAN device (boolean value)
2730#san_is_local = false
2731
2732# SSH connection timeout in seconds (integer value)
2733#ssh_conn_timeout = 30
2734
2735# Minimum ssh connections in the pool (integer value)
2736#ssh_min_pool_conn = 1
2737
2738# Maximum ssh connections in the pool (integer value)
2739#ssh_max_pool_conn = 5
2740
2741# IP address of sheep daemon. (string value)
2742#sheepdog_store_address = 127.0.0.1
2743
2744# Port of sheep daemon. (port value)
2745# Minimum value: 0
2746# Maximum value: 65535
2747#sheepdog_store_port = 7000
2748
2749# Set 512 byte emulation on volume creation; (boolean value)
2750#sf_emulate_512 = true
2751
2752# Allow tenants to specify QOS on create (boolean value)
2753#sf_allow_tenant_qos = false
2754
2755# Create SolidFire accounts with this prefix. Any string can be used here, but
2756# the string "hostname" is special and will create a prefix using the cinder
2757# node hostname (previous default behavior). The default is NO prefix. (string
2758# value)
2759#sf_account_prefix = <None>
2760
2761# Create SolidFire volumes with this prefix. Volume names are of the form
2762# <sf_volume_prefix><cinder-volume-id>. The default is to use a prefix of
2763# 'UUID-'. (string value)
2764#sf_volume_prefix = UUID-
2765
2766# Account name on the SolidFire Cluster to use as owner of template/cache
2767# volumes (created if does not exist). (string value)
2768#sf_template_account_name = openstack-vtemplate
2769
2770# DEPRECATED: This option is deprecated and will be removed in the next
2771# OpenStack release. Please use the general cinder image-caching feature
2772# instead. (boolean value)
2773# This option is deprecated for removal.
2774# Its value may be silently ignored in the future.
2775# Reason: The Cinder caching feature should be used rather than this driver
2776# specific implementation.
2777#sf_allow_template_caching = false
2778
2779# Overrides default cluster SVIP with the one specified. This is required or
2780# deployments that have implemented the use of VLANs for iSCSI networks in
2781# their cloud. (string value)
2782#sf_svip = <None>
2783
2784# SolidFire API port. Useful if the device api is behind a proxy on a different
2785# port. (port value)
2786# Minimum value: 0
2787# Maximum value: 65535
2788#sf_api_port = 443
2789
2790# Utilize volume access groups on a per-tenant basis. (boolean value)
2791#sf_enable_vag = false
2792
2793# Volume on Synology storage to be used for creating lun. (string value)
2794#synology_pool_name =
2795
2796# Management port for Synology storage. (port value)
2797# Minimum value: 0
2798# Maximum value: 65535
2799#synology_admin_port = 5000
2800
2801# Administrator of Synology storage. (string value)
2802#synology_username = admin
2803
2804# Password of administrator for logging in Synology storage. (string value)
2805#synology_password =
2806
2807# Do certificate validation or not if $driver_use_ssl is True (boolean value)
2808#synology_ssl_verify = true
2809
2810# One time password of administrator for logging in Synology storage if OTP is
2811# enabled. (string value)
2812#synology_one_time_pass = <None>
2813
2814# Device id for skip one time password check for logging in Synology storage if
2815# OTP is enabled. (string value)
2816#synology_device_id = <None>
2817
2818# The hostname (or IP address) for the storage system (string value)
2819#tintri_server_hostname = <None>
2820
2821# User name for the storage system (string value)
2822#tintri_server_username = <None>
2823
2824# Password for the storage system (string value)
2825#tintri_server_password = <None>
2826
2827# API version for the storage system (string value)
2828#tintri_api_version = v310
2829
2830# Delete unused image snapshots older than mentioned days (integer value)
2831#tintri_image_cache_expiry_days = 30
2832
2833# Path to image nfs shares file (string value)
2834#tintri_image_shares_config = <None>
2835
2836# IP address for connecting to VMware vCenter server. (string value)
2837#vmware_host_ip = <None>
2838
2839# Port number for connecting to VMware vCenter server. (port value)
2840# Minimum value: 0
2841# Maximum value: 65535
2842#vmware_host_port = 443
2843
2844# Username for authenticating with VMware vCenter server. (string value)
2845#vmware_host_username = <None>
2846
2847# Password for authenticating with VMware vCenter server. (string value)
2848#vmware_host_password = <None>
2849
2850# Optional VIM service WSDL Location e.g http://<server>/vimService.wsdl.
2851# Optional over-ride to default location for bug work-arounds. (string value)
2852#vmware_wsdl_location = <None>
2853
2854# Number of times VMware vCenter server API must be retried upon connection
2855# related issues. (integer value)
2856#vmware_api_retry_count = 10
2857
2858# The interval (in seconds) for polling remote tasks invoked on VMware vCenter
2859# server. (floating point value)
2860#vmware_task_poll_interval = 2.0
2861
2862# Name of the vCenter inventory folder that will contain Cinder volumes. This
2863# folder will be created under "OpenStack/<project_folder>", where
2864# project_folder is of format "Project (<volume_project_id>)". (string value)
2865#vmware_volume_folder = Volumes
2866
2867# Timeout in seconds for VMDK volume transfer between Cinder and Glance.
2868# (integer value)
2869#vmware_image_transfer_timeout_secs = 7200
2870
2871# Max number of objects to be retrieved per batch. Query results will be
2872# obtained in batches from the server and not in one shot. Server may still
2873# limit the count to something less than the configured value. (integer value)
2874#vmware_max_objects_retrieval = 100
2875
2876# Optional string specifying the VMware vCenter server version. The driver
2877# attempts to retrieve the version from VMware vCenter server. Set this
2878# configuration only if you want to override the vCenter server version.
2879# (string value)
2880#vmware_host_version = <None>
2881
2882# Directory where virtual disks are stored during volume backup and restore.
2883# (string value)
2884#vmware_tmp_dir = /tmp
2885
2886# CA bundle file to use in verifying the vCenter server certificate. (string
2887# value)
2888#vmware_ca_file = <None>
2889
2890# If true, the vCenter server certificate is not verified. If false, then the
2891# default CA truststore is used for verification. This option is ignored if
2892# "vmware_ca_file" is set. (boolean value)
2893#vmware_insecure = false
2894
2895# Name of a vCenter compute cluster where volumes should be created. (multi
2896# valued)
2897#vmware_cluster_name =
2898
2899# Maximum number of connections in http connection pool. (integer value)
2900#vmware_connection_pool_size = 10
2901
2902# Default adapter type to be used for attaching volumes. (string value)
2903# Possible values:
2904# lsiLogic - <No description provided>
2905# busLogic - <No description provided>
2906# lsiLogicsas - <No description provided>
2907# paraVirtual - <No description provided>
2908# ide - <No description provided>
2909#vmware_adapter_type = lsiLogic
2910
2911# Volume snapshot format in vCenter server. (string value)
2912# Possible values:
2913# template - <No description provided>
2914# COW - <No description provided>
2915#vmware_snapshot_format = template
2916
2917# If true, the backend volume in vCenter server is created lazily when the
2918# volume is created without any source. The backend volume is created when the
2919# volume is attached, uploaded to image service or during backup. (boolean
2920# value)
2921#vmware_lazy_create = true
2922
2923# Regular expression pattern to match the name of datastores where backend
2924# volumes are created. (string value)
2925#vmware_datastore_regex = <None>
2926
2927# File with the list of available vzstorage shares. (string value)
2928#vzstorage_shares_config = /etc/cinder/vzstorage_shares
2929
2930# Create volumes as sparsed files which take no space rather than regular files
2931# when using raw format, in which case volume creation takes lot of time.
2932# (boolean value)
2933#vzstorage_sparsed_volumes = true
2934
2935# Percent of ACTUAL usage of the underlying volume before no new volumes can be
2936# allocated to the volume destination. (floating point value)
2937#vzstorage_used_ratio = 0.95
2938
2939# Base dir containing mount points for vzstorage shares. (string value)
2940#vzstorage_mount_point_base = $state_path/mnt
2941
2942# Mount options passed to the vzstorage client. See section of the pstorage-
2943# mount man page for details. (list value)
2944#vzstorage_mount_options = <None>
2945
2946# Default format that will be used when creating volumes if no volume format is
2947# specified. (string value)
2948#vzstorage_default_volume_format = raw
2949
2950# Path to store VHD backed volumes (string value)
2951#windows_iscsi_lun_path = C:\iSCSIVirtualDisks
2952
2953# File with the list of available smbfs shares. (string value)
2954#smbfs_shares_config = C:\OpenStack\smbfs_shares.txt
2955
2956# Default format that will be used when creating volumes if no volume format is
2957# specified. (string value)
2958# Possible values:
2959# vhd - <No description provided>
2960# vhdx - <No description provided>
2961#smbfs_default_volume_format = vhd
2962
2963# Base dir containing mount points for smbfs shares. (string value)
2964#smbfs_mount_point_base = C:\OpenStack\_mnt
2965
2966# Mappings between share locations and pool names. If not specified, the share
2967# names will be used as pool names. Example:
2968# //addr/share:pool_name,//addr/share2:pool_name2 (dict value)
2969#smbfs_pool_mappings =
2970
2971# VPSA - Use ISER instead of iSCSI (boolean value)
2972#zadara_use_iser = true
2973
2974# VPSA - Management Host name or IP address (string value)
2975#zadara_vpsa_host = <None>
2976
2977# VPSA - Port number (port value)
2978# Minimum value: 0
2979# Maximum value: 65535
2980#zadara_vpsa_port = <None>
2981
2982# VPSA - Use SSL connection (boolean value)
2983#zadara_vpsa_use_ssl = false
2984
2985# If set to True the http client will validate the SSL certificate of the VPSA
2986# endpoint. (boolean value)
2987#zadara_ssl_cert_verify = true
2988
2989# VPSA - Username (string value)
2990#zadara_user = <None>
2991
2992# VPSA - Password (string value)
2993#zadara_password = <None>
2994
2995# VPSA - Storage Pool assigned for volumes (string value)
2996#zadara_vpsa_poolname = <None>
2997
2998# VPSA - Default encryption policy for volumes (boolean value)
2999#zadara_vol_encrypt = false
3000
3001# VPSA - Default template for VPSA volume names (string value)
3002#zadara_vol_name_template = OS_%s
3003
3004# VPSA - Attach snapshot policy for volumes (boolean value)
3005#zadara_default_snap_policy = false
3006
3007# Storage pool name. (string value)
3008#zfssa_pool = <None>
3009
3010# Project name. (string value)
3011#zfssa_project = <None>
3012
3013# Block size. (string value)
3014# Possible values:
3015# 512 - <No description provided>
3016# 1k - <No description provided>
3017# 2k - <No description provided>
3018# 4k - <No description provided>
3019# 8k - <No description provided>
3020# 16k - <No description provided>
3021# 32k - <No description provided>
3022# 64k - <No description provided>
3023# 128k - <No description provided>
3024#zfssa_lun_volblocksize = 8k
3025
3026# Flag to enable sparse (thin-provisioned): True, False. (boolean value)
3027#zfssa_lun_sparse = false
3028
3029# Data compression. (string value)
3030# Possible values:
3031# off - <No description provided>
3032# lzjb - <No description provided>
3033# gzip-2 - <No description provided>
3034# gzip - <No description provided>
3035# gzip-9 - <No description provided>
3036#zfssa_lun_compression = off
3037
3038# Synchronous write bias. (string value)
3039# Possible values:
3040# latency - <No description provided>
3041# throughput - <No description provided>
3042#zfssa_lun_logbias = latency
3043
3044# iSCSI initiator group. (string value)
3045#zfssa_initiator_group =
3046
3047# iSCSI initiator IQNs. (comma separated) (string value)
3048#zfssa_initiator =
3049
3050# iSCSI initiator CHAP user (name). (string value)
3051#zfssa_initiator_user =
3052
3053# Secret of the iSCSI initiator CHAP user. (string value)
3054#zfssa_initiator_password =
3055
3056# iSCSI initiators configuration. (string value)
3057#zfssa_initiator_config =
3058
3059# iSCSI target group name. (string value)
3060#zfssa_target_group = tgt-grp
3061
3062# iSCSI target CHAP user (name). (string value)
3063#zfssa_target_user =
3064
3065# Secret of the iSCSI target CHAP user. (string value)
3066#zfssa_target_password =
3067
3068# iSCSI target portal (Data-IP:Port, w.x.y.z:3260). (string value)
3069#zfssa_target_portal = <None>
3070
3071# Network interfaces of iSCSI targets. (comma separated) (string value)
3072#zfssa_target_interfaces = <None>
3073
3074# REST connection timeout. (seconds) (integer value)
3075#zfssa_rest_timeout = <None>
3076
3077# IP address used for replication data. (maybe the same as data ip) (string
3078# value)
3079#zfssa_replication_ip =
3080
3081# Flag to enable local caching: True, False. (boolean value)
3082#zfssa_enable_local_cache = true
3083
3084# Name of ZFSSA project where cache volumes are stored. (string value)
3085#zfssa_cache_project = os-cinder-cache
3086
3087# Driver policy for volume manage. (string value)
3088# Possible values:
3089# loose - <No description provided>
3090# strict - <No description provided>
3091#zfssa_manage_policy = loose
3092
3093# Data path IP address (string value)
3094#zfssa_data_ip = <None>
3095
3096# HTTPS port number (string value)
3097#zfssa_https_port = 443
3098
3099# Options to be passed while mounting share over nfs (string value)
3100#zfssa_nfs_mount_options =
3101
3102# Storage pool name. (string value)
3103#zfssa_nfs_pool =
3104
3105# Project name. (string value)
3106#zfssa_nfs_project = NFSProject
3107
3108# Share name. (string value)
3109#zfssa_nfs_share = nfs_share
3110
3111# Data compression. (string value)
3112# Possible values:
3113# off - <No description provided>
3114# lzjb - <No description provided>
3115# gzip-2 - <No description provided>
3116# gzip - <No description provided>
3117# gzip-9 - <No description provided>
3118#zfssa_nfs_share_compression = off
3119
3120# Synchronous write bias-latency, throughput. (string value)
3121# Possible values:
3122# latency - <No description provided>
3123# throughput - <No description provided>
3124#zfssa_nfs_share_logbias = latency
3125
3126# Name of directory inside zfssa_nfs_share where cache volumes are stored.
3127# (string value)
3128#zfssa_cache_directory = os-cinder-cache
3129
3130# Driver to use for volume creation (string value)
3131#volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
3132
3133# User defined capabilities, a JSON formatted string specifying key/value
3134# pairs. The key/value pairs can be used by the CapabilitiesFilter to select
3135# between backends when requests specify volume types. For example, specifying
3136# a service level or the geographical location of a backend, then creating a
3137# volume type to allow the user to select by these different properties.
3138# (string value)
3139#extra_capabilities = {}
3140
3141# Suppress requests library SSL certificate warnings. (boolean value)
3142#suppress_requests_ssl_warnings = false
3143
3144# Size of the native threads pool for the backend. Increase for backends that
3145# heavily rely on this, like the RBD driver. (integer value)
3146# Minimum value: 20
3147#backend_native_threads_pool_size = 20
3148
3149
3150[coordination]
3151
3152#
3153# From cinder
3154#
3155
3156# The backend URL to use for distributed coordination. (string value)
3157#backend_url = file://$state_path
3158
3159
3160[fc-zone-manager]
3161
3162#
3163# From cinder
3164#
3165
3166# South bound connector for zoning operation (string value)
3167#brcd_sb_connector = HTTP
3168
3169# Southbound connector for zoning operation (string value)
3170#cisco_sb_connector = cinder.zonemanager.drivers.cisco.cisco_fc_zone_client_cli.CiscoFCZoneClientCLI
3171
3172# FC Zone Driver responsible for zone management (string value)
3173#zone_driver = cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver.BrcdFCZoneDriver
3174
3175# Zoning policy configured by user; valid values include "initiator-target" or
3176# "initiator" (string value)
3177#zoning_policy = initiator-target
3178
3179# Comma separated list of Fibre Channel fabric names. This list of names is
3180# used to retrieve other SAN credentials for connecting to each SAN fabric
3181# (string value)
3182#fc_fabric_names = <None>
3183
3184# FC SAN Lookup Service (string value)
3185#fc_san_lookup_service = cinder.zonemanager.drivers.brocade.brcd_fc_san_lookup_service.BrcdFCSanLookupService
3186
3187# Set this to True when you want to allow an unsupported zone manager driver to
3188# start. Drivers that haven't maintained a working CI system and testing are
3189# marked as unsupported until CI is working again. This also marks a driver as
3190# deprecated and may be removed in the next release. (boolean value)
3191#enable_unsupported_driver = false
3192
3193
3194[nova]
3195
3196#
3197# From cinder
3198#
3199
3200# Name of nova region to use. Useful if keystone manages more than one region.
3201# (string value)
3202#region_name = <None>
3203
3204# Type of the nova endpoint to use. This endpoint will be looked up in the
3205# keystone catalog and should be one of public, internal or admin. (string
3206# value)
3207# Possible values:
3208# public - <No description provided>
3209# admin - <No description provided>
3210# internal - <No description provided>
3211#interface = public
3212
3213# The authentication URL for the nova connection when using the current users
3214# token (string value)
3215#token_auth_url = <None>
3216
3217# PEM encoded Certificate Authority to use when verifying HTTPs connections.
3218# (string value)
3219#cafile = <None>
3220
3221# PEM encoded client certificate cert file (string value)
3222#certfile = <None>
3223
3224# PEM encoded client certificate key file (string value)
3225#keyfile = <None>
3226
3227# Verify HTTPS connections. (boolean value)
3228#insecure = false
3229
3230# Timeout value for http requests (integer value)
3231#timeout = <None>
3232
3233# Authentication type to load (string value)
3234# Deprecated group/name - [nova]/auth_plugin
3235#auth_type = <None>
3236
3237# Config Section from which to load plugin specific options (string value)
3238#auth_section = <None>
3239
3240
3241[service_user]
3242
3243#
3244# From cinder
3245#
3246
3247#
3248# When True, if sending a user token to an REST API, also send a service token.
3249# (boolean value)
3250#send_service_user_token = false
3251
3252{%- if volume.get('barbican', {}).get('enabled', False) %}
3253{%- set _data = volume.identity %}
3254[barbican]
Vasyl Saienko0291d9c2018-05-31 12:44:07 +03003255{%- include "oslo_templates/files/queens/castellan/_barbican.conf" %}
3256{%- endif %}
3257
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003258
3259[key_manager]
Vasyl Saienko0291d9c2018-05-31 12:44:07 +03003260{%- if volume.get('key_manager', {}).backend is defined %}
3261 {%- set key_backend = volume.key_manager.backend %}
3262{%- elif volume.get('barbican', {}).get('enabled', False) %}
3263 {%- set key_backend = 'barbican' %}
3264{%- endif %}
3265
3266{%- set _data = {} %}
3267{%- do _data.update(volume.identity) %}
3268{%- do _data.update(volume.get('barbican', {})) %}
Vasyl Saienko2ba5a1f2018-07-12 10:53:43 +03003269{%- if 'cacert_file' not in _data.keys() %}{% do _data.update({'cacert_file': volume.cacert_file}) %}{% endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003270#
3271# From castellan.config
3272#
3273
3274# Specify the key manager implementation. Options are "barbican" and "vault".
3275# Default is "barbican". Will support the values earlier set using
3276# [key_manager]/api_class for some time. (string value)
3277# Deprecated group/name - [key_manager]/api_class
Vasyl Saienko0291d9c2018-05-31 12:44:07 +03003278#backend = barbican
3279{%- if key_backend is defined %}
3280backend = {{ key_backend }}
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003281{%- endif %}
Vasyl Saienko0291d9c2018-05-31 12:44:07 +03003282{%- include "oslo_templates/files/queens/keystoneauth/_type_"+ _data.get('auth_type','password') +".conf" %}
3283
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003284
3285[keystone_authtoken]
3286{%- set _data = volume.get('identity', {}) %}
Mykyta Karpinc8e44752018-06-14 21:38:32 +03003287{%- if 'cacert_file' not in _data.keys() %}{% do _data.update({'cacert_file': volume.cacert_file}) %}{% endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003288{%- set auth_type = _data.get('auth_type', 'password') %}
Oleksandr Bryndziic37eb802018-11-22 18:21:22 +00003289{%- if volume.get('cache',{}).members is defined and 'cache' not in _data.keys() %}
3290{% do _data.update({'cache': volume.cache}) %}
3291{%- endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003292{%- include "oslo_templates/files/queens/keystonemiddleware/_auth_token.conf" %}
3293{%- include "oslo_templates/files/queens/keystoneauth/_type_" + auth_type + ".conf" %}
3294
3295[profiler]
3296{%- if volume.profiler is defined %}
3297{%- set _data = volume.profiler %}
3298{%- include "oslo_templates/files/queens/oslo/_osprofiler.conf" %}
3299{%- endif %}
3300
3301[oslo_concurrency]
3302{%- if volume.concurrency is defined %}
3303{%- set _data = volume.concurrency %}
3304{%- include "oslo_templates/files/queens/oslo/_concurrency.conf" %}
3305{%- endif %}
3306
3307[database]
3308{%- set _data = volume.database %}
3309{%- if _data.ssl is defined and 'cacert_file' not in _data.get('ssl', {}).keys() %}{% do _data['ssl'].update({'cacert_file': volume.cacert_file}) %}{% endif %}
3310{%- include "oslo_templates/files/queens/oslo/_database.conf" %}
3311
3312[oslo_messaging_notifications]
3313{%- set _data = volume.notification %}
3314{%- include "oslo_templates/files/queens/oslo/messaging/_notifications.conf" %}
3315
3316{%- if volume.message_queue is defined %}
3317{%- set _data = volume.message_queue %}
3318{%- if _data.engine == 'rabbitmq' %}
3319 {%- set messaging_engine = 'rabbit' %}
3320{%- else %}
3321 {%- set messaging_engine = _data.engine %}
3322{%- endif %}
3323[oslo_messaging_{{ messaging_engine }}]
Oleksandr Bryndzii4e237a12018-09-26 10:25:35 +00003324{%- if _data.ssl is defined and 'cacert_file' not in _data.get('ssl', {}).keys() %}{% do _data['ssl'].update({'cacert_file': volume.cacert_file}) %}{% endif %}
Oleh Hryhorov37b42442018-05-15 17:40:47 +04003325{%- include "oslo_templates/files/queens/oslo/messaging/_" + messaging_engine + ".conf" %}
3326{%- endif %}
3327
3328[oslo_middleware]
3329{%- set _data = volume %}
3330{%- include "oslo_templates/files/queens/oslo/_middleware.conf" %}
3331
3332[oslo_policy]
3333{%- if volume.policy is defined %}
3334{%- set _data = volume.policy %}
3335{%- include "oslo_templates/files/queens/oslo/_policy.conf" %}
3336{%- endif %}
3337
3338[oslo_reports]
3339{%- if volume.reports is defined %}
3340{%- set _data = volume.reports %}
3341{%- include "oslo_templates/files/queens/oslo/_reports.conf" %}
3342{%- endif %}