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