diff options
10 files changed, 4980 insertions, 1034 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-api.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-api.service new file mode 100644 index 0000000..cef90b4 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-api.service | |||
@@ -0,0 +1,20 @@ | |||
1 | [Unit] | ||
2 | Description=OpenStack Cinder API | ||
3 | After=postgresql.service keystone.service rabbitmq-server.service ntp.service | ||
4 | |||
5 | [Service] | ||
6 | User=%USER% | ||
7 | Group=%GROUP% | ||
8 | Type=simple | ||
9 | WorkingDirectory=%LOCALSTATEDIR%/lib/cinder | ||
10 | PermissionsStartOnly=true | ||
11 | ExecStartPre=/bin/mkdir -p %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/log/cinder %LOCALSTATEDIR%/lib/cinder | ||
12 | ExecStartPre=/bin/chown cinder:cinder %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/lib/cinder | ||
13 | ExecStartPre=/bin/chown cinder:adm %LOCALSTATEDIR%/log/cinder | ||
14 | ExecStart=/usr/bin/cinder-api --config-file=%SYSCONFDIR%/cinder/cinder.conf | ||
15 | Restart=on-failure | ||
16 | LimitNOFILE=65535 | ||
17 | TimeoutStopSec=15 | ||
18 | |||
19 | [Install] | ||
20 | WantedBy=multi-user.target | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-backup.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-backup.service new file mode 100644 index 0000000..1ae030c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-backup.service | |||
@@ -0,0 +1,20 @@ | |||
1 | [Unit] | ||
2 | Description=OpenStack Cinder Backup | ||
3 | After=postgresql.service keystone.service rabbitmq-server.service ntp.service | ||
4 | |||
5 | [Service] | ||
6 | User=%USER% | ||
7 | Group=%GROUP% | ||
8 | Type=simple | ||
9 | WorkingDirectory=%LOCALSTATEDIR%/lib/cinder | ||
10 | PermissionsStartOnly=true | ||
11 | ExecStartPre=/bin/mkdir -p %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/log/cinder %LOCALSTATEDIR%/lib/cinder | ||
12 | ExecStartPre=/bin/chown cinder:cinder %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/lib/cinder | ||
13 | ExecStartPre=/bin/chown cinder:adm %LOCALSTATEDIR%/log/cinder | ||
14 | ExecStart=/usr/bin/cinder-backup --config-file=%SYSCONFDIR%/cinder/cinder.conf | ||
15 | Restart=on-failure | ||
16 | LimitNOFILE=65535 | ||
17 | TimeoutStopSec=15 | ||
18 | |||
19 | [Install] | ||
20 | WantedBy=multi-user.target | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-init b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init new file mode 100644 index 0000000..e1a5758 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init | |||
@@ -0,0 +1,57 @@ | |||
1 | #!/bin/bash | ||
2 | # | ||
3 | # Basic cinder setup based on: | ||
4 | # https://docs.openstack.org/cinder/pike/install/cinder-controller-install-ubuntu.html | ||
5 | # | ||
6 | # Prerequisites: keystone must be available and bootstrapped | ||
7 | # | ||
8 | |||
9 | # Substitutions setup at do_intall() | ||
10 | DB_USER=%DB_USER% | ||
11 | CINDER_USER=%CINDER_USER% | ||
12 | CINDER_GROUP=%CINDER_GROUP% | ||
13 | CONTROLLER_IP=%CONTROLLER_IP% | ||
14 | ADMIN_USER=%ADMIN_USER% | ||
15 | ADMIN_PASSWORD=%ADMIN_PASSWORD% | ||
16 | ADMIN_ROLE=%ADMIN_ROLE% | ||
17 | SYSCONFDIR=%SYSCONFDIR% | ||
18 | |||
19 | sudo -u postgres psql -c "CREATE DATABASE \"cinder\"" 2> /dev/null | ||
20 | sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE \"cinder\" TO ${DB_USER}" 2> /dev/null | ||
21 | |||
22 | source ${SYSCONFDIR}/keystone/admin-openrc | ||
23 | |||
24 | openstack user create --domain default --password ${ADMIN_PASSWORD} ${CINDER_USER} | ||
25 | |||
26 | # Ensure the 'service' project exists | ||
27 | openstack project show service > /dev/null 2>&1 | ||
28 | if [ $? -ne 0 ]; then | ||
29 | openstack project create service --domain default | ||
30 | fi | ||
31 | openstack role add --project service --user ${CINDER_USER} ${ADMIN_ROLE} | ||
32 | |||
33 | # Create cinderv2 service and service endpoints | ||
34 | openstack service create --name cinderv2 --description "OpenStack Block Storage" volumev2 | ||
35 | openstack endpoint create --region RegionOne volumev2 public http://${CONTROLLER_IP}:8776/v2/%\(project_id\)s | ||
36 | openstack endpoint create --region RegionOne volumev2 internal http://${CONTROLLER_IP}:8776/v2/%\(project_id\)s | ||
37 | openstack endpoint create --region RegionOne volumev2 admin http://${CONTROLLER_IP}:8776/v2/%\(project_id\)s | ||
38 | |||
39 | # Create cinderv3 service and service endpoints | ||
40 | openstack service create --name cinderv3 --description "OpenStack Block Storage" volumev3 | ||
41 | openstack endpoint create --region RegionOne volumev3 public http://${CONTROLLER_IP}:8776/v3/%\(project_id\)s | ||
42 | openstack endpoint create --region RegionOne volumev3 internal http://${CONTROLLER_IP}:8776/v3/%\(project_id\)s | ||
43 | openstack endpoint create --region RegionOne volumev3 admin http://${CONTROLLER_IP}:8776/v3/%\(project_id\)s | ||
44 | |||
45 | sudo -u ${CINDER_USER} cinder-manage db sync | ||
46 | |||
47 | # Enable cinder services now that they are configured | ||
48 | systemctl enable cinder-api | ||
49 | systemctl enable cinder-volume | ||
50 | systemctl enable cinder-backup | ||
51 | systemctl enable cinder-scheduler | ||
52 | |||
53 | # Start our services | ||
54 | systemctl start cinder-api | ||
55 | systemctl start cinder-volume | ||
56 | systemctl start cinder-backup | ||
57 | systemctl start cinder-scheduler | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service new file mode 100644 index 0000000..75425ba --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service | |||
@@ -0,0 +1,12 @@ | |||
1 | [Unit] | ||
2 | Description=Barebones OpenStack cinder initialization | ||
3 | After=postgresql-init.service keystone-init.service | ||
4 | |||
5 | [Service] | ||
6 | Type=oneshot | ||
7 | ExecStart=%SYSCONFDIR%/cinder/cinder-init | ||
8 | ExecStartPost=/bin/systemctl --no-reload disable cinder-init.service | ||
9 | RemainAfterExit=No | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-scheduler.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-scheduler.service new file mode 100644 index 0000000..cbf3465 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-scheduler.service | |||
@@ -0,0 +1,20 @@ | |||
1 | [Unit] | ||
2 | Description=OpenStack Cinder Scheduler | ||
3 | After=postgresql.service keystone.service rabbitmq-server.service ntp.service | ||
4 | |||
5 | [Service] | ||
6 | User=%USER% | ||
7 | Group=%GROUP% | ||
8 | Type=simple | ||
9 | WorkingDirectory=%LOCALSTATEDIR%/lib/cinder | ||
10 | PermissionsStartOnly=true | ||
11 | ExecStartPre=/bin/mkdir -p %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/log/cinder %LOCALSTATEDIR%/lib/cinder | ||
12 | ExecStartPre=/bin/chown cinder:cinder %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/lib/cinder | ||
13 | ExecStartPre=/bin/chown cinder:adm %LOCALSTATEDIR%/log/cinder | ||
14 | ExecStart=/usr/bin/cinder-scheduler --config-file=%SYSCONFDIR%/cinder/cinder.conf | ||
15 | Restart=on-failure | ||
16 | LimitNOFILE=65535 | ||
17 | TimeoutStopSec=15 | ||
18 | |||
19 | [Install] | ||
20 | WantedBy=multi-user.target | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume.service new file mode 100644 index 0000000..ba5991d --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume.service | |||
@@ -0,0 +1,20 @@ | |||
1 | [Unit] | ||
2 | Description=OpenStack Cinder Volume | ||
3 | After=postgresql.service keystone.service rabbitmq-server.service ntp.service | ||
4 | |||
5 | [Service] | ||
6 | User=%USER% | ||
7 | Group=%GROUP% | ||
8 | Type=simple | ||
9 | WorkingDirectory=%LOCALSTATEDIR%/lib/cinder | ||
10 | PermissionsStartOnly=true | ||
11 | ExecStartPre=/bin/mkdir -p %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/log/cinder %LOCALSTATEDIR%/lib/cinder | ||
12 | ExecStartPre=/bin/chown cinder:cinder %LOCALSTATEDIR%/lock/cinder %LOCALSTATEDIR%/lib/cinder | ||
13 | ExecStartPre=/bin/chown cinder:adm %LOCALSTATEDIR%/log/cinder | ||
14 | ExecStart=/usr/bin/cinder-volume --config-file=%SYSCONFDIR%/cinder/cinder.conf | ||
15 | Restart=on-failure | ||
16 | LimitNOFILE=65535 | ||
17 | TimeoutStopSec=15 | ||
18 | |||
19 | [Install] | ||
20 | WantedBy=multi-user.target | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf index 8b2bc84..9444535 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf | |||
@@ -1,1248 +1,5145 @@ | |||
1 | #################### | ||
2 | # cinder.conf sample # | ||
3 | #################### | ||
4 | |||
5 | [DEFAULT] | 1 | [DEFAULT] |
6 | sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/cinder | ||
7 | api_paste_confg = /etc/cinder/api-paste.ini | ||
8 | state_path = /etc/cinder/data | ||
9 | |||
10 | iscsi_helper=tgtadm | ||
11 | volume_name_template = volume-%s | ||
12 | volume_group = cinder-volumes | ||
13 | verbose = True | ||
14 | auth_strategy = keystone | ||
15 | |||
16 | rpc_backend = cinder.openstack.common.rpc.impl_kombu | ||
17 | rabbit_host=localhost | ||
18 | rabbit_port=5672 | ||
19 | 2 | ||
20 | # | 3 | # |
21 | # Options defined in cinder.openstack.common.cfg:CommonConfigOpts | 4 | # From cinder |
22 | # | 5 | # |
23 | 6 | ||
24 | # Print debugging output (boolean value) | 7 | # The maximum number of items that a collection resource returns in a single |
25 | #debug=false | 8 | # response (integer value) |
9 | #osapi_max_limit = 1000 | ||
26 | 10 | ||
27 | # Print more verbose output (boolean value) | 11 | # DEPRECATED: Base URL that will be presented to users in links to the |
28 | #verbose=false | 12 | # OpenStack Volume API (string value) |
13 | # Deprecated group/name - [DEFAULT]/osapi_compute_link_prefix | ||
14 | #osapi_volume_base_URL = <None> | ||
29 | 15 | ||
30 | # If this option is specified, the logging configuration file | 16 | # Json file indicating user visible filter parameters for list queries. (string |
31 | # specified is used and overrides any other logging options | 17 | # value) |
32 | # specified. Please see the Python logging module | 18 | # Deprecated group/name - [DEFAULT]/query_volume_filters |
33 | # documentation for details on logging configuration files. | 19 | #resource_query_filters_file = /etc/cinder/resource_filters.json |
34 | # (string value) | ||
35 | #log_config=<None> | ||
36 | 20 | ||
37 | # A logging.Formatter log message format string which may use | 21 | # DEPRECATED: Volume filter options which non-admin user could use to query |
38 | # any of the available logging.LogRecord attributes. Default: | 22 | # volumes. Default values are: ['name', 'status', 'metadata', |
39 | # %(default)s (string value) | 23 | # 'availability_zone' ,'bootable', 'group_id'] (list value) |
40 | #log_format=%(asctime)s %(levelname)8s [%(name)s] %(message)s | 24 | # This option is deprecated for removal. |
25 | # Its value may be silently ignored in the future. | ||
26 | #query_volume_filters = name,status,metadata,availability_zone,bootable,group_id | ||
41 | 27 | ||
42 | # Format string for %%(asctime)s in log records. Default: | 28 | # DEPRECATED: Allow the ability to modify the extra-spec settings of an in-use |
43 | # %(default)s (string value) | 29 | # volume-type. (boolean value) |
44 | #log_date_format=%Y-%m-%d %H:%M:%S | 30 | # This option is deprecated for removal. |
31 | # Its value may be silently ignored in the future. | ||
32 | #allow_inuse_volume_type_modification = false | ||
45 | 33 | ||
46 | # (Optional) Name of log file to output to. If not set, | 34 | # Treat X-Forwarded-For as the canonical remote address. Only enable this if |
47 | # logging will go to stdout. (string value) | 35 | # you have a sanitizing proxy. (boolean value) |
48 | #log_file=<None> | 36 | #use_forwarded_for = false |
49 | 37 | ||
50 | # (Optional) The directory to keep log files in (will be | 38 | # Public url to use for versions endpoint. The default is None, which will use |
51 | # prepended to --log-file) (string value) | 39 | # the request's host_url attribute to populate the URL base. If Cinder is |
52 | log_dir=/var/log/cinder | 40 | # operating behind a proxy, you will want to change this to represent the |
41 | # proxy's URL. (string value) | ||
42 | # Deprecated group/name - [DEFAULT]/osapi_volume_base_URL | ||
43 | #public_endpoint = <None> | ||
53 | 44 | ||
54 | # Use syslog for logging. (boolean value) | 45 | # Backup services use same backend. (boolean value) |
55 | #use_syslog=false | 46 | #backup_use_same_host = false |
56 | 47 | ||
57 | # syslog facility to receive log lines (string value) | 48 | # Compression algorithm (None to disable) (string value) |
58 | #syslog_log_facility=LOG_USER | 49 | # Allowed values: none, off, no, zlib, gzip, bz2, bzip2 |
50 | #backup_compression_algorithm = zlib | ||
59 | 51 | ||
60 | # Do not count snapshots against gigabytes quota (bool value) | 52 | # Backup metadata version to be used when backing up volume metadata. If this |
61 | #no_snapshot_gb_quota=False | 53 | # number is bumped, make sure the service doing the restore supports the new |
54 | # version. (integer value) | ||
55 | #backup_metadata_version = 2 | ||
62 | 56 | ||
63 | # | 57 | # The number of chunks or objects, for which one Ceilometer notification will |
64 | # Options defined in cinder.exception | 58 | # be sent (integer value) |
65 | # | 59 | #backup_object_number_per_notification = 10 |
66 | 60 | ||
67 | # make exception message format errors fatal (boolean value) | 61 | # Interval, in seconds, between two progress notifications reporting the backup |
68 | #fatal_exception_format_errors=false | 62 | # status (integer value) |
63 | #backup_timer_interval = 120 | ||
69 | 64 | ||
65 | # Ceph configuration file to use. (string value) | ||
66 | #backup_ceph_conf = /etc/ceph/ceph.conf | ||
70 | 67 | ||
71 | # | 68 | # The Ceph user to connect with. Default here is to use the same user as for |
72 | # Options defined in cinder.flags | 69 | # Cinder volumes. If not using cephx this should be set to None. (string value) |
73 | # | 70 | #backup_ceph_user = cinder |
71 | |||
72 | # The chunk size, in bytes, that a backup is broken into before transfer to the | ||
73 | # Ceph object store. (integer value) | ||
74 | #backup_ceph_chunk_size = 134217728 | ||
75 | |||
76 | # The Ceph pool where volume backups are stored. (string value) | ||
77 | #backup_ceph_pool = backups | ||
78 | |||
79 | # RBD stripe unit to use when creating a backup image. (integer value) | ||
80 | #backup_ceph_stripe_unit = 0 | ||
81 | |||
82 | # RBD stripe count to use when creating a backup image. (integer value) | ||
83 | #backup_ceph_stripe_count = 0 | ||
84 | |||
85 | # If True, apply JOURNALING and EXCLUSIVE_LOCK feature bits to the backup RBD | ||
86 | # objects to allow mirroring (boolean value) | ||
87 | #backup_ceph_image_journals = false | ||
88 | |||
89 | # If True, always discard excess bytes when restoring volumes i.e. pad with | ||
90 | # zeroes. (boolean value) | ||
91 | #restore_discard_excess_bytes = true | ||
74 | 92 | ||
75 | # Virtualization api connection type : libvirt, xenapi, or | 93 | # Base dir containing mount point for gluster share. (string value) |
76 | # fake (string value) | 94 | #glusterfs_backup_mount_point = $state_path/backup_mount |
77 | #connection_type=<None> | ||
78 | 95 | ||
79 | # The SQLAlchemy connection string used to connect to the | 96 | # GlusterFS share in <hostname|ipv4addr|ipv6addr>:<gluster_vol_name> format. |
80 | # database (string value) | 97 | # Eg: 1.2.3.4:backup_vol (string value) |
81 | #sql_connection=sqlite:///$state_path/$sqlite_db | 98 | #glusterfs_backup_share = <None> |
82 | 99 | ||
83 | # Verbosity of SQL debugging information. 0=None, | 100 | # The GCS bucket to use. (string value) |
84 | # 100=Everything (integer value) | 101 | #backup_gcs_bucket = <None> |
85 | #sql_connection_debug=0 | ||
86 | 102 | ||
87 | # File name for the paste.deploy config for cinder-api (string | 103 | # The size in bytes of GCS backup objects. (integer value) |
104 | #backup_gcs_object_size = 52428800 | ||
105 | |||
106 | # The size in bytes that changes are tracked for incremental backups. | ||
107 | # backup_gcs_object_size has to be multiple of backup_gcs_block_size. (integer | ||
88 | # value) | 108 | # value) |
89 | #api_paste_config=api-paste.ini | 109 | #backup_gcs_block_size = 32768 |
110 | |||
111 | # GCS object will be downloaded in chunks of bytes. (integer value) | ||
112 | #backup_gcs_reader_chunk_size = 2097152 | ||
113 | |||
114 | # GCS object will be uploaded in chunks of bytes. Pass in a value of -1 if the | ||
115 | # file is to be uploaded as a single chunk. (integer value) | ||
116 | #backup_gcs_writer_chunk_size = 2097152 | ||
117 | |||
118 | # Number of times to retry. (integer value) | ||
119 | #backup_gcs_num_retries = 3 | ||
120 | |||
121 | # List of GCS error codes. (list value) | ||
122 | #backup_gcs_retry_error_codes = 429 | ||
123 | |||
124 | # Location of GCS bucket. (string value) | ||
125 | #backup_gcs_bucket_location = US | ||
126 | |||
127 | # Storage class of GCS bucket. (string value) | ||
128 | #backup_gcs_storage_class = NEARLINE | ||
129 | |||
130 | # Absolute path of GCS service account credential file. (string value) | ||
131 | #backup_gcs_credential_file = <None> | ||
90 | 132 | ||
91 | # Directory where the cinder python module is installed | 133 | # Owner project id for GCS bucket. (string value) |
134 | #backup_gcs_project_id = <None> | ||
135 | |||
136 | # Http user-agent string for gcs api. (string value) | ||
137 | #backup_gcs_user_agent = gcscinder | ||
138 | |||
139 | # Enable or Disable the timer to send the periodic progress notifications to | ||
140 | # Ceilometer when backing up the volume to the GCS backend storage. The default | ||
141 | # value is True to enable the timer. (boolean value) | ||
142 | #backup_gcs_enable_progress_timer = true | ||
143 | |||
144 | # URL for http proxy access. (uri value) | ||
145 | #backup_gcs_proxy_url = <None> | ||
146 | |||
147 | # Base dir containing mount point for NFS share. (string value) | ||
148 | #backup_mount_point_base = $state_path/backup_mount | ||
149 | |||
150 | # NFS share in hostname:path, ipv4addr:path, or "[ipv6addr]:path" format. | ||
92 | # (string value) | 151 | # (string value) |
93 | #pybasedir=/usr/lib/python/site-packages | 152 | #backup_share = <None> |
153 | |||
154 | # Mount options passed to the NFS client. See NFS man page for details. (string | ||
155 | # value) | ||
156 | #backup_mount_options = <None> | ||
94 | 157 | ||
95 | # Directory where cinder binaries are installed (string value) | 158 | # The maximum size in bytes of the files used to hold backups. If the volume |
96 | #bindir=$pybasedir/bin | 159 | # being backed up exceeds this size, then it will be backed up into multiple |
160 | # files.backup_file_size must be a multiple of backup_sha_block_size_bytes. | ||
161 | # (integer value) | ||
162 | #backup_file_size = 1999994880 | ||
97 | 163 | ||
98 | # Top-level directory for maintaining cinder's state (string | 164 | # The size in bytes that changes are tracked for incremental backups. |
165 | # backup_file_size has to be multiple of backup_sha_block_size_bytes. (integer | ||
99 | # value) | 166 | # value) |
100 | #state_path=$pybasedir | 167 | #backup_sha_block_size_bytes = 32768 |
101 | 168 | ||
102 | # ip address of this host (string value) | 169 | # Enable or Disable the timer to send the periodic progress notifications to |
103 | #my_ip=10.0.0.1 | 170 | # Ceilometer when backing up the volume to the backend storage. The default |
171 | # value is True to enable the timer. (boolean value) | ||
172 | #backup_enable_progress_timer = true | ||
104 | 173 | ||
105 | # default glance hostname or ip (string value) | 174 | # Path specifying where to store backups. (string value) |
106 | #glance_host=$my_ip | 175 | #backup_posix_path = $state_path/backup |
107 | 176 | ||
108 | # default glance port (integer value) | 177 | # Custom directory to use for backups. (string value) |
109 | #glance_port=9292 | 178 | #backup_container = <None> |
110 | 179 | ||
111 | # A list of the glance api servers available to cinder | 180 | # The URL of the Swift endpoint (uri value) |
112 | # ([hostname|ip]:port) (list value) | 181 | #backup_swift_url = <None> |
113 | #glance_api_servers=$glance_host:$glance_port | ||
114 | 182 | ||
115 | # default version of the glance api to use | 183 | # The URL of the Keystone endpoint (uri value) |
116 | #glance_api_version=1 | 184 | #backup_swift_auth_url = <None> |
117 | 185 | ||
118 | # Number retries when downloading an image from glance | 186 | # Info to match when looking for swift in the service catalog. Format is: |
187 | # separated values of the form: <service_type>:<service_name>:<endpoint_type> - | ||
188 | # Only used if backup_swift_url is unset (string value) | ||
189 | #swift_catalog_info = object-store:swift:publicURL | ||
190 | |||
191 | # Info to match when looking for keystone in the service catalog. Format is: | ||
192 | # separated values of the form: <service_type>:<service_name>:<endpoint_type> - | ||
193 | # Only used if backup_swift_auth_url is unset (string value) | ||
194 | #keystone_catalog_info = identity:Identity Service:publicURL | ||
195 | |||
196 | # Swift authentication mechanism. (string value) | ||
197 | # Allowed values: per_user, single_user | ||
198 | #backup_swift_auth = per_user | ||
199 | |||
200 | # Swift authentication version. Specify "1" for auth 1.0, or "2" for auth 2.0 | ||
201 | # or "3" for auth 3.0 (string value) | ||
202 | #backup_swift_auth_version = 1 | ||
203 | |||
204 | # Swift tenant/account name. Required when connecting to an auth 2.0 system | ||
205 | # (string value) | ||
206 | #backup_swift_tenant = <None> | ||
207 | |||
208 | # Swift user domain name. Required when connecting to an auth 3.0 system | ||
209 | # (string value) | ||
210 | #backup_swift_user_domain = <None> | ||
211 | |||
212 | # Swift project domain name. Required when connecting to an auth 3.0 system | ||
213 | # (string value) | ||
214 | #backup_swift_project_domain = <None> | ||
215 | |||
216 | # Swift project/account name. Required when connecting to an auth 3.0 system | ||
217 | # (string value) | ||
218 | #backup_swift_project = <None> | ||
219 | |||
220 | # Swift user name (string value) | ||
221 | #backup_swift_user = <None> | ||
222 | |||
223 | # Swift key for authentication (string value) | ||
224 | #backup_swift_key = <None> | ||
225 | |||
226 | # The default Swift container to use (string value) | ||
227 | #backup_swift_container = volumebackups | ||
228 | |||
229 | # The size in bytes of Swift backup objects (integer value) | ||
230 | #backup_swift_object_size = 52428800 | ||
231 | |||
232 | # The size in bytes that changes are tracked for incremental backups. | ||
233 | # backup_swift_object_size has to be multiple of backup_swift_block_size. | ||
119 | # (integer value) | 234 | # (integer value) |
120 | #glance_num_retries=0 | 235 | #backup_swift_block_size = 32768 |
121 | 236 | ||
122 | # Allow to perform insecure SSL (https) requests to glance | 237 | # The number of retries to make for Swift operations (integer value) |
238 | #backup_swift_retry_attempts = 3 | ||
239 | |||
240 | # The backoff time in seconds between Swift retries (integer value) | ||
241 | #backup_swift_retry_backoff = 2 | ||
242 | |||
243 | # Enable or Disable the timer to send the periodic progress notifications to | ||
244 | # Ceilometer when backing up the volume to the Swift backend storage. The | ||
245 | # default value is True to enable the timer. (boolean value) | ||
246 | #backup_swift_enable_progress_timer = true | ||
247 | |||
248 | # Location of the CA certificate file to use for swift client requests. (string | ||
249 | # value) | ||
250 | #backup_swift_ca_cert_file = <None> | ||
251 | |||
252 | # Bypass verification of server certificate when making SSL connection to | ||
253 | # Swift. (boolean value) | ||
254 | #backup_swift_auth_insecure = false | ||
255 | |||
256 | # Volume prefix for the backup id when backing up to TSM (string value) | ||
257 | #backup_tsm_volume_prefix = backup | ||
258 | |||
259 | # TSM password for the running username (string value) | ||
260 | #backup_tsm_password = password | ||
261 | |||
262 | # Enable or Disable compression for backups (boolean value) | ||
263 | #backup_tsm_compression = true | ||
264 | |||
265 | # Driver to use for backups. (string value) | ||
266 | #backup_driver = cinder.backup.drivers.swift | ||
267 | |||
268 | # Offload pending backup delete during backup service startup. If false, the | ||
269 | # backup service will remain down until all pending backups are deleted. | ||
123 | # (boolean value) | 270 | # (boolean value) |
124 | #glance_api_insecure=false | 271 | #backup_service_inithost_offload = true |
272 | |||
273 | # Name of this cluster. Used to group volume hosts that share the same backend | ||
274 | # configurations to work in HA Active-Active mode. Active-Active is not yet | ||
275 | # supported. (string value) | ||
276 | #cluster = <None> | ||
277 | |||
278 | # Top-level directory for maintaining cinder's state (string value) | ||
279 | # Deprecated group/name - [DEFAULT]/pybasedir | ||
280 | #state_path = /var/lib/cinder | ||
281 | |||
282 | # IP address of this host (unknown value) | ||
283 | #my_ip = 23.253.174.31 | ||
284 | |||
285 | # A list of the URLs of glance API servers available to cinder | ||
286 | # ([http[s]://][hostname|ip]:port). If protocol is not specified it defaults to | ||
287 | # http. (list value) | ||
288 | #glance_api_servers = <None> | ||
289 | |||
290 | # DEPRECATED: Version of the glance API to use (integer value) | ||
291 | # This option is deprecated for removal since 11.0.0. | ||
292 | # Its value may be silently ignored in the future. | ||
293 | # Reason: Glance v1 support will be removed in Queens | ||
294 | #glance_api_version = 2 | ||
295 | |||
296 | # Number retries when downloading an image from glance (integer value) | ||
297 | # Minimum value: 0 | ||
298 | #glance_num_retries = 0 | ||
299 | |||
300 | # Allow to perform insecure SSL (https) requests to glance (https will be used | ||
301 | # but cert validation will not be performed). (boolean value) | ||
302 | #glance_api_insecure = false | ||
303 | |||
304 | # Enables or disables negotiation of SSL layer compression. In some cases | ||
305 | # disabling compression can improve data throughput, such as when high network | ||
306 | # bandwidth is available and you use compressed image formats like qcow2. | ||
307 | # (boolean value) | ||
308 | #glance_api_ssl_compression = false | ||
309 | |||
310 | # Location of ca certificates file to use for glance client requests. (string | ||
311 | # value) | ||
312 | #glance_ca_certificates_file = <None> | ||
125 | 313 | ||
126 | # the topic scheduler nodes listen on (string value) | 314 | # http/https timeout value for glance operations. If no value (None) is |
127 | #scheduler_topic=cinder-scheduler | 315 | # supplied here, the glanceclient default value is used. (integer value) |
316 | #glance_request_timeout = <None> | ||
128 | 317 | ||
129 | # the topic volume nodes listen on (string value) | 318 | # DEPRECATED: Deploy v1 of the Cinder API. (boolean value) |
130 | #volume_topic=cinder-volume | 319 | # This option is deprecated for removal. |
320 | # Its value may be silently ignored in the future. | ||
321 | #enable_v1_api = false | ||
131 | 322 | ||
132 | # Deploy v1 of the Cinder API. (boolean value) | 323 | # DEPRECATED: Deploy v2 of the Cinder API. (boolean value) |
133 | #enable_v1_api=true | 324 | # This option is deprecated for removal. |
325 | # Its value may be silently ignored in the future. | ||
326 | #enable_v2_api = true | ||
134 | 327 | ||
135 | # Deploy v2 of the Cinder API. (boolean value) | 328 | # Deploy v3 of the Cinder API. (boolean value) |
136 | #enable_v2_api=true | 329 | #enable_v3_api = true |
137 | 330 | ||
138 | # whether to rate limit the api (boolean value) | 331 | # Enables or disables rate limit of the API. (boolean value) |
139 | #api_rate_limit=true | 332 | #api_rate_limit = true |
140 | 333 | ||
141 | # Specify list of extensions to load when using | 334 | # Specify list of extensions to load when using osapi_volume_extension option |
142 | # osapi_volume_extension option with | 335 | # with cinder.api.contrib.select_extensions (list value) |
143 | # cinder.api.contrib.select_extensions (list value) | 336 | #osapi_volume_ext_list = |
144 | #osapi_volume_ext_list= | ||
145 | 337 | ||
146 | # osapi volume extension to load (multi valued) | 338 | # osapi volume extension to load (multi valued) |
147 | #osapi_volume_extension=cinder.api.contrib.standard_extensions | 339 | #osapi_volume_extension = cinder.api.contrib.standard_extensions |
148 | 340 | ||
149 | # Base URL that will be presented to users in links to the | 341 | # Full class name for the Manager for volume (string value) |
150 | # OpenStack Volume API (string value) | 342 | #volume_manager = cinder.volume.manager.VolumeManager |
151 | #osapi_volume_base_URL=<None> | ||
152 | 343 | ||
153 | # the maximum number of items returned in a single response | 344 | # Full class name for the Manager for volume backup (string value) |
154 | # from a collection resource (integer value) | 345 | #backup_manager = cinder.backup.manager.BackupManager |
155 | #osapi_max_limit=1000 | ||
156 | 346 | ||
157 | # the filename to use with sqlite (string value) | 347 | # Full class name for the Manager for scheduler (string value) |
158 | #sqlite_db=cinder.sqlite | 348 | #scheduler_manager = cinder.scheduler.manager.SchedulerManager |
159 | 349 | ||
160 | # If passed, use synchronous mode for sqlite (boolean value) | 350 | # Name of this node. This can be an opaque identifier. It is not necessarily a |
161 | #sqlite_synchronous=true | 351 | # host name, FQDN, or IP address. (unknown value) |
352 | #host = ubuntu-xenial-rax-ord-0003741211 | ||
162 | 353 | ||
163 | # timeout before idle sql connections are reaped (integer | 354 | # Availability zone of this node. Can be overridden per volume backend with the |
164 | # value) | 355 | # option "backend_availability_zone". (string value) |
165 | #sql_idle_timeout=3600 | 356 | #storage_availability_zone = nova |
166 | 357 | ||
167 | # maximum db connection retries during startup. (setting -1 | 358 | # Default availability zone for new volumes. If not set, the |
168 | # implies an infinite retry count) (integer value) | 359 | # storage_availability_zone option value is used as the default for new |
169 | #sql_max_retries=10 | 360 | # volumes. (string value) |
361 | #default_availability_zone = <None> | ||
170 | 362 | ||
171 | # interval between retries of opening a sql connection | 363 | # If the requested Cinder availability zone is unavailable, fall back to the |
172 | # (integer value) | 364 | # value of default_availability_zone, then storage_availability_zone, instead |
173 | #sql_retry_interval=10 | 365 | # of failing. (boolean value) |
366 | #allow_availability_zone_fallback = false | ||
174 | 367 | ||
175 | # full class name for the Manager for volume (string value) | 368 | # Default volume type to use (string value) |
176 | #volume_manager=cinder.volume.manager.VolumeManager | 369 | #default_volume_type = <None> |
177 | 370 | ||
178 | # full class name for the Manager for scheduler (string value) | 371 | # Default group type to use (string value) |
179 | #scheduler_manager=cinder.scheduler.manager.SchedulerManager | 372 | #default_group_type = <None> |
180 | 373 | ||
181 | # Name of this node. This can be an opaque identifier. It is | 374 | # Time period for which to generate volume usages. The options are hour, day, |
182 | # not necessarily a hostname, FQDN, or IP address. (string | 375 | # month, or year. (string value) |
376 | #volume_usage_audit_period = month | ||
377 | |||
378 | # Path to the rootwrap configuration file to use for running commands as root | ||
379 | # (string value) | ||
380 | #rootwrap_config = /etc/cinder/rootwrap.conf | ||
381 | |||
382 | # Enable monkey patching (boolean value) | ||
383 | #monkey_patch = false | ||
384 | |||
385 | # List of modules/decorators to monkey patch (list value) | ||
386 | #monkey_patch_modules = | ||
387 | |||
388 | # Maximum time since last check-in for a service to be considered up (integer | ||
183 | # value) | 389 | # value) |
184 | #host=cinder | 390 | #service_down_time = 60 |
185 | 391 | ||
186 | # availability zone of this node (string value) | 392 | # The full class name of the volume API class to use (string value) |
187 | #storage_availability_zone=nova | 393 | #volume_api_class = cinder.volume.api.API |
188 | 394 | ||
189 | # Memcached servers or None for in process cache. (list value) | 395 | # The full class name of the volume backup API class (string value) |
190 | #memcached_servers=<None> | 396 | #backup_api_class = cinder.backup.api.API |
191 | 397 | ||
192 | # default volume type to use (string value) | 398 | # The strategy to use for auth. Supports noauth or keystone. (string value) |
193 | #default_volume_type=<None> | 399 | # Allowed values: noauth, keystone |
400 | #auth_strategy = keystone | ||
194 | 401 | ||
195 | # time period to generate volume usages for. Time period must | 402 | # A list of backend names to use. These backend names should be backed by a |
196 | # be hour, day, month or year (string value) | 403 | # unique [CONFIG] group with its options (list value) |
197 | #volume_usage_audit_period=month | 404 | #enabled_backends = <None> |
198 | 405 | ||
199 | # Path to the rootwrap configuration file to use for running | 406 | # Whether snapshots count against gigabyte quota (boolean value) |
200 | # commands as root (string value) | 407 | #no_snapshot_gb_quota = false |
201 | #rootwrap_config=/etc/cinder/rootwrap.conf | ||
202 | 408 | ||
203 | # Whether to log monkey patching (boolean value) | 409 | # The full class name of the volume transfer API class (string value) |
204 | #monkey_patch=false | 410 | #transfer_api_class = cinder.transfer.api.API |
205 | 411 | ||
206 | # List of modules/decorators to monkey patch (list value) | 412 | # The full class name of the consistencygroup API class (string value) |
207 | #monkey_patch_modules= | 413 | #consistencygroup_api_class = cinder.consistencygroup.api.API |
414 | |||
415 | # The full class name of the group API class (string value) | ||
416 | #group_api_class = cinder.group.api.API | ||
208 | 417 | ||
209 | # maximum time since last check-in for up service (integer | 418 | # DEPRECATED: OpenStack privileged account username. Used for requests to other |
419 | # services (such as Nova) that require an account with special rights. (string | ||
210 | # value) | 420 | # value) |
211 | #service_down_time=60 | 421 | # This option is deprecated for removal since 11.0.0. |
422 | # Its value may be silently ignored in the future. | ||
423 | # Reason: Use the [nova] section for configuring Keystone authentication for a | ||
424 | # privileged user. | ||
425 | #os_privileged_user_name = <None> | ||
212 | 426 | ||
213 | # The full class name of the volume API class to use (string | 427 | # DEPRECATED: Password associated with the OpenStack privileged account. |
428 | # (string value) | ||
429 | # This option is deprecated for removal since 11.0.0. | ||
430 | # Its value may be silently ignored in the future. | ||
431 | # Reason: Use the [nova] section to configure Keystone authentication for a | ||
432 | # privileged user. | ||
433 | #os_privileged_user_password = <None> | ||
434 | |||
435 | # DEPRECATED: Tenant name associated with the OpenStack privileged account. | ||
436 | # (string value) | ||
437 | # This option is deprecated for removal since 11.0.0. | ||
438 | # Its value may be silently ignored in the future. | ||
439 | # Reason: Use the [nova] section to configure Keystone authentication for a | ||
440 | # privileged user. | ||
441 | #os_privileged_user_tenant = <None> | ||
442 | |||
443 | # DEPRECATED: Auth URL associated with the OpenStack privileged account. (uri | ||
214 | # value) | 444 | # value) |
215 | #volume_api_class=cinder.volume.api.API | 445 | # This option is deprecated for removal since 11.0.0. |
446 | # Its value may be silently ignored in the future. | ||
447 | # Reason: Use the [nova] section to configure Keystone authentication for a | ||
448 | # privileged user. | ||
449 | #os_privileged_user_auth_url = <None> | ||
450 | |||
451 | # The full class name of the compute API class to use (string value) | ||
452 | #compute_api_class = cinder.compute.nova.API | ||
453 | |||
454 | # DEPRECATED: Match this value when searching for nova in the service catalog. | ||
455 | # Format is: separated values of the form: | ||
456 | # <service_type>:<service_name>:<endpoint_type> (string value) | ||
457 | # This option is deprecated for removal. | ||
458 | # Its value may be silently ignored in the future. | ||
459 | #nova_catalog_info = compute:Compute Service:publicURL | ||
460 | |||
461 | # DEPRECATED: Same as nova_catalog_info, but for admin endpoint. (string value) | ||
462 | # This option is deprecated for removal. | ||
463 | # Its value may be silently ignored in the future. | ||
464 | #nova_catalog_admin_info = compute:Compute Service:publicURL | ||
465 | |||
466 | # DEPRECATED: Override service catalog lookup with template for nova endpoint | ||
467 | # e.g. http://localhost:8774/v2/%(project_id)s (string value) | ||
468 | # This option is deprecated for removal. | ||
469 | # Its value may be silently ignored in the future. | ||
470 | #nova_endpoint_template = <None> | ||
471 | |||
472 | # DEPRECATED: Same as nova_endpoint_template, but for admin endpoint. (string | ||
473 | # value) | ||
474 | # This option is deprecated for removal. | ||
475 | # Its value may be silently ignored in the future. | ||
476 | #nova_endpoint_admin_template = <None> | ||
216 | 477 | ||
217 | # The strategy to use for auth. Supports noauth, keystone, and | 478 | # ID of the project which will be used as the Cinder internal tenant. (string |
218 | # deprecated. (string value) | 479 | # value) |
219 | #auth_strategy=noauth | 480 | #cinder_internal_tenant_project_id = <None> |
220 | 481 | ||
221 | # AMQP exchange to connect to if using RabbitMQ or Qpid | 482 | # ID of the user to be used in volume operations as the Cinder internal tenant. |
222 | # (string value) | 483 | # (string value) |
223 | #control_exchange=cinder | 484 | #cinder_internal_tenant_user_id = <None> |
224 | 485 | ||
486 | # Services to be added to the available pool on create (boolean value) | ||
487 | #enable_new_services = true | ||
225 | 488 | ||
226 | # | 489 | # Template string to be used to generate volume names (string value) |
227 | # Options defined in cinder.policy | 490 | #volume_name_template = volume-%s |
228 | # | ||
229 | 491 | ||
230 | # JSON file representing policy (string value) | 492 | # Template string to be used to generate snapshot names (string value) |
231 | #policy_file=policy.json | 493 | #snapshot_name_template = snapshot-%s |
232 | 494 | ||
233 | # Rule checked when requested rule is not found (string value) | 495 | # Template string to be used to generate backup names (string value) |
234 | #policy_default_rule=default | 496 | #backup_name_template = backup-%s |
235 | 497 | ||
498 | # Driver to use for database access (string value) | ||
499 | #db_driver = cinder.db | ||
236 | 500 | ||
237 | # | 501 | # Make exception message format errors fatal. (boolean value) |
238 | # Options defined in cinder.quota | 502 | #fatal_exception_format_errors = false |
239 | # | 503 | |
504 | # A list of url schemes that can be downloaded directly via the direct_url. | ||
505 | # Currently supported schemes: [file, cinder]. (list value) | ||
506 | #allowed_direct_url_schemes = | ||
507 | |||
508 | # Info to match when looking for glance in the service catalog. Format is: | ||
509 | # separated values of the form: <service_type>:<service_name>:<endpoint_type> - | ||
510 | # Only used if glance_api_servers are not provided. (string value) | ||
511 | #glance_catalog_info = image:glance:publicURL | ||
512 | |||
513 | # Default core properties of image (list value) | ||
514 | #glance_core_properties = checksum,container_format,disk_format,image_name,image_id,min_disk,min_ram,name,size | ||
515 | |||
516 | # Directory used for temporary storage during image conversion (string value) | ||
517 | #image_conversion_dir = $state_path/conversion | ||
518 | |||
519 | # message minimum life in seconds. (integer value) | ||
520 | #message_ttl = 2592000 | ||
521 | |||
522 | # interval between periodic task runs to clean expired messages in seconds. | ||
523 | # (integer value) | ||
524 | #message_reap_interval = 86400 | ||
525 | |||
526 | # Number of volumes allowed per project (integer value) | ||
527 | #quota_volumes = 10 | ||
528 | |||
529 | # Number of volume snapshots allowed per project (integer value) | ||
530 | #quota_snapshots = 10 | ||
531 | |||
532 | # Number of consistencygroups allowed per project (integer value) | ||
533 | #quota_consistencygroups = 10 | ||
240 | 534 | ||
241 | # number of volumes allowed per project (integer value) | 535 | # Number of groups allowed per project (integer value) |
242 | #quota_volumes=10 | 536 | #quota_groups = 10 |
537 | |||
538 | # Total amount of storage, in gigabytes, allowed for volumes and snapshots per | ||
539 | # project (integer value) | ||
540 | #quota_gigabytes = 1000 | ||
541 | |||
542 | # Number of volume backups allowed per project (integer value) | ||
543 | #quota_backups = 10 | ||
544 | |||
545 | # Total amount of storage, in gigabytes, allowed for backups per project | ||
546 | # (integer value) | ||
547 | #quota_backup_gigabytes = 1000 | ||
243 | 548 | ||
244 | # number of volume snapshots allowed per project (integer value) | 549 | # Number of seconds until a reservation expires (integer value) |
245 | #quota_snapshots=10 | 550 | #reservation_expire = 86400 |
246 | 551 | ||
247 | # number of volume and snapshot gigabytes allowed per project (integer | 552 | # Interval between periodic task runs to clean expired reservations in seconds. |
553 | # (integer value) | ||
554 | #reservation_clean_interval = $reservation_expire | ||
555 | |||
556 | # Count of reservations until usage is refreshed (integer value) | ||
557 | #until_refresh = 0 | ||
558 | |||
559 | # Number of seconds between subsequent usage refreshes (integer value) | ||
560 | #max_age = 0 | ||
561 | |||
562 | # Default driver to use for quota checks (string value) | ||
563 | #quota_driver = cinder.quota.DbQuotaDriver | ||
564 | |||
565 | # Enables or disables use of default quota class with default quota. (boolean | ||
248 | # value) | 566 | # value) |
249 | #quota_gigabytes=1000 | 567 | #use_default_quota_class = true |
568 | |||
569 | # Max size allowed per volume, in gigabytes (integer value) | ||
570 | #per_volume_size_limit = -1 | ||
571 | |||
572 | # The scheduler host manager class to use (string value) | ||
573 | #scheduler_host_manager = cinder.scheduler.host_manager.HostManager | ||
250 | 574 | ||
251 | # number of seconds until a reservation expires (integer | 575 | # Maximum number of attempts to schedule a volume (integer value) |
576 | #scheduler_max_attempts = 3 | ||
577 | |||
578 | # Which filter class names to use for filtering hosts when not specified in the | ||
579 | # request. (list value) | ||
580 | #scheduler_default_filters = AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter | ||
581 | |||
582 | # Which weigher class names to use for weighing hosts. (list value) | ||
583 | #scheduler_default_weighers = CapacityWeigher | ||
584 | |||
585 | # Which handler to use for selecting the host/pool after weighing (string | ||
252 | # value) | 586 | # value) |
253 | #reservation_expire=86400 | 587 | #scheduler_weight_handler = cinder.scheduler.weights.OrderedHostWeightHandler |
588 | |||
589 | # Default scheduler driver to use (string value) | ||
590 | #scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler | ||
591 | |||
592 | # Absolute path to scheduler configuration JSON file. (string value) | ||
593 | #scheduler_json_config_location = | ||
594 | |||
595 | # Multiplier used for weighing free capacity. Negative numbers mean to stack vs | ||
596 | # spread. (floating point value) | ||
597 | #capacity_weight_multiplier = 1.0 | ||
598 | |||
599 | # Multiplier used for weighing allocated capacity. Positive numbers mean to | ||
600 | # stack vs spread. (floating point value) | ||
601 | #allocated_capacity_weight_multiplier = -1.0 | ||
254 | 602 | ||
255 | # count of reservations until usage is refreshed (integer | 603 | # Multiplier used for weighing volume number. Negative numbers mean to spread |
604 | # vs stack. (floating point value) | ||
605 | #volume_number_multiplier = -1.0 | ||
606 | |||
607 | # Interval, in seconds, between nodes reporting state to datastore (integer | ||
256 | # value) | 608 | # value) |
257 | #until_refresh=0 | 609 | #report_interval = 10 |
258 | 610 | ||
259 | # number of seconds between subsequent usage refreshes | 611 | # Interval, in seconds, between running periodic tasks (integer value) |
260 | # (integer value) | 612 | #periodic_interval = 60 |
261 | #max_age=0 | ||
262 | 613 | ||
263 | # default driver to use for quota checks (string value) | 614 | # Range, in seconds, to randomly delay when starting the periodic task |
264 | #quota_driver=cinder.quota.DbQuotaDriver | 615 | # scheduler to reduce stampeding. (Disable by setting to 0) (integer value) |
616 | #periodic_fuzzy_delay = 60 | ||
265 | 617 | ||
618 | # IP address on which OpenStack Volume API listens (string value) | ||
619 | #osapi_volume_listen = 0.0.0.0 | ||
266 | 620 | ||
267 | # | 621 | # Port on which OpenStack Volume API listens (port value) |
268 | # Options defined in cinder.service | 622 | # Minimum value: 0 |
269 | # | 623 | # Maximum value: 65535 |
624 | #osapi_volume_listen_port = 8776 | ||
270 | 625 | ||
271 | # seconds between nodes reporting state to datastore (integer | 626 | # Number of workers for OpenStack Volume API service. The default is equal to |
627 | # the number of CPUs available. (integer value) | ||
628 | #osapi_volume_workers = <None> | ||
629 | |||
630 | # Wraps the socket in a SSL context if True is set. A certificate file and key | ||
631 | # file must be specified. (boolean value) | ||
632 | #osapi_volume_use_ssl = false | ||
633 | |||
634 | # Option to enable strict host key checking. When set to "True" Cinder will | ||
635 | # only connect to systems with a host key present in the configured | ||
636 | # "ssh_hosts_key_file". When set to "False" the host key will be saved upon | ||
637 | # first connection and used for subsequent connections. Default=False (boolean | ||
272 | # value) | 638 | # value) |
273 | #report_interval=10 | 639 | #strict_ssh_host_key_policy = false |
274 | 640 | ||
275 | # seconds between running periodic tasks (integer value) | 641 | # File containing SSH host keys for the systems with which Cinder needs to |
276 | #periodic_interval=60 | 642 | # communicate. OPTIONAL: Default=$state_path/ssh_known_hosts (string value) |
643 | #ssh_hosts_key_file = $state_path/ssh_known_hosts | ||
277 | 644 | ||
278 | # range of seconds to randomly delay when starting the | 645 | # The number of characters in the salt. (integer value) |
279 | # periodic task scheduler to reduce stampeding. (Disable by | 646 | #volume_transfer_salt_length = 8 |
280 | # setting to 0) (integer value) | ||
281 | #periodic_fuzzy_delay=60 | ||
282 | 647 | ||
283 | # IP address for OpenStack Volume API to listen (string value) | 648 | # The number of characters in the autogenerated auth key. (integer value) |
284 | #osapi_volume_listen=0.0.0.0 | 649 | #volume_transfer_key_length = 16 |
285 | 650 | ||
286 | # port for os volume api to listen (integer value) | 651 | # Enables the Force option on upload_to_image. This enables running |
287 | #osapi_volume_listen_port=8776 | 652 | # upload_volume on in-use volumes for backends that support it. (boolean value) |
653 | #enable_force_upload = false | ||
288 | 654 | ||
655 | # Create volume from snapshot at the host where snapshot resides (boolean | ||
656 | # value) | ||
657 | #snapshot_same_host = true | ||
289 | 658 | ||
290 | # | 659 | # Ensure that the new volumes are the same AZ as snapshot or source volume |
291 | # Options defined in cinder.test | 660 | # (boolean value) |
292 | # | 661 | #cloned_volume_same_az = true |
293 | 662 | ||
294 | # File name of clean sqlite db (string value) | 663 | # Cache volume availability zones in memory for the provided duration in |
295 | #sqlite_clean_db=clean.sqlite | 664 | # seconds (integer value) |
665 | #az_cache_duration = 3600 | ||
296 | 666 | ||
297 | # should we use everything for testing (boolean value) | 667 | # Number of times to attempt to run flakey shell commands (integer value) |
298 | #fake_tests=true | 668 | #num_shell_tries = 3 |
299 | 669 | ||
670 | # The percentage of backend capacity is reserved (integer value) | ||
671 | # Minimum value: 0 | ||
672 | # Maximum value: 100 | ||
673 | #reserved_percentage = 0 | ||
300 | 674 | ||
301 | # | 675 | # Prefix for iSCSI volumes (string value) |
302 | # Options defined in cinder.wsgi | 676 | #iscsi_target_prefix = iqn.2010-10.org.openstack: |
303 | # | 677 | |
678 | # The IP address that the iSCSI daemon is listening on (string value) | ||
679 | #iscsi_ip_address = $my_ip | ||
680 | |||
681 | # The list of secondary IP addresses of the iSCSI daemon (list value) | ||
682 | #iscsi_secondary_ip_addresses = | ||
683 | |||
684 | # The port that the iSCSI daemon is listening on (port value) | ||
685 | # Minimum value: 0 | ||
686 | # Maximum value: 65535 | ||
687 | #iscsi_port = 3260 | ||
304 | 688 | ||
305 | # Number of backlog requests to configure the socket with | 689 | # The maximum number of times to rescan targets to find volume (integer value) |
690 | #num_volume_device_scan_tries = 3 | ||
691 | |||
692 | # The backend name for a given driver implementation (string value) | ||
693 | #volume_backend_name = <None> | ||
694 | |||
695 | # Do we attach/detach volumes in cinder using multipath for volume to image and | ||
696 | # image to volume transfers? (boolean value) | ||
697 | #use_multipath_for_image_xfer = false | ||
698 | |||
699 | # If this is set to True, attachment of volumes for image transfer will be | ||
700 | # aborted when multipathd is not running. Otherwise, it will fallback to single | ||
701 | # path. (boolean value) | ||
702 | #enforce_multipath_for_image_xfer = false | ||
703 | |||
704 | # Method used to wipe old volumes (string value) | ||
705 | # Allowed values: none, zero | ||
706 | #volume_clear = zero | ||
707 | |||
708 | # Size in MiB to wipe at start of old volumes. 1024 MiBat max. 0 => all | ||
306 | # (integer value) | 709 | # (integer value) |
307 | #backlog=4096 | 710 | # Maximum value: 1024 |
711 | #volume_clear_size = 0 | ||
712 | |||
713 | # The flag to pass to ionice to alter the i/o priority of the process used to | ||
714 | # zero a volume after deletion, for example "-c3" for idle only priority. | ||
715 | # (string value) | ||
716 | #volume_clear_ionice = <None> | ||
717 | |||
718 | # iSCSI target user-land tool to use. tgtadm is default, use lioadm for LIO | ||
719 | # iSCSI support, scstadmin for SCST target support, ietadm for iSCSI Enterprise | ||
720 | # Target, iscsictl for Chelsio iSCSI Target or fake for testing. (string value) | ||
721 | # Allowed values: tgtadm, lioadm, scstadmin, iscsictl, ietadm, fake | ||
722 | #iscsi_helper = tgtadm | ||
723 | |||
724 | # Volume configuration file storage directory (string value) | ||
725 | #volumes_dir = $state_path/volumes | ||
726 | |||
727 | # IET configuration file (string value) | ||
728 | #iet_conf = /etc/iet/ietd.conf | ||
729 | |||
730 | # Chiscsi (CXT) global defaults configuration file (string value) | ||
731 | #chiscsi_conf = /etc/chelsio-iscsi/chiscsi.conf | ||
732 | |||
733 | # Sets the behavior of the iSCSI target to either perform blockio or fileio | ||
734 | # optionally, auto can be set and Cinder will autodetect type of backing device | ||
735 | # (string value) | ||
736 | # Allowed values: blockio, fileio, auto | ||
737 | #iscsi_iotype = fileio | ||
738 | |||
739 | # The default block size used when copying/clearing volumes (string value) | ||
740 | #volume_dd_blocksize = 1M | ||
308 | 741 | ||
309 | # Sets the value of TCP_KEEPIDLE in seconds for each server | 742 | # The blkio cgroup name to be used to limit bandwidth of volume copy (string |
310 | # socket. Not supported on OS X. (integer value) | 743 | # value) |
311 | #tcp_keepidle=600 | 744 | #volume_copy_blkio_cgroup_name = cinder-volume-copy |
745 | |||
746 | # The upper limit of bandwidth of volume copy. 0 => unlimited (integer value) | ||
747 | #volume_copy_bps_limit = 0 | ||
312 | 748 | ||
313 | # CA certificate file to use to verify connecting clients | 749 | # Sets the behavior of the iSCSI target to either perform write-back(on) or |
750 | # write-through(off). This parameter is valid if iscsi_helper is set to tgtadm. | ||
314 | # (string value) | 751 | # (string value) |
315 | #ssl_ca_file=<None> | 752 | # Allowed values: on, off |
753 | #iscsi_write_cache = on | ||
754 | |||
755 | # Sets the target-specific flags for the iSCSI target. Only used for tgtadm to | ||
756 | # specify backing device flags using bsoflags option. The specified string is | ||
757 | # passed as is to the underlying tool. (string value) | ||
758 | #iscsi_target_flags = | ||
759 | |||
760 | # Determines the iSCSI protocol for new iSCSI volumes, created with tgtadm or | ||
761 | # lioadm target helpers. In order to enable RDMA, this parameter should be set | ||
762 | # with the value "iser". The supported iSCSI protocol values are "iscsi" and | ||
763 | # "iser". (string value) | ||
764 | # Allowed values: iscsi, iser | ||
765 | #iscsi_protocol = iscsi | ||
766 | |||
767 | # The path to the client certificate key for verification, if the driver | ||
768 | # supports it. (string value) | ||
769 | #driver_client_cert_key = <None> | ||
770 | |||
771 | # The path to the client certificate for verification, if the driver supports | ||
772 | # it. (string value) | ||
773 | #driver_client_cert = <None> | ||
774 | |||
775 | # Tell driver to use SSL for connection to backend storage if the driver | ||
776 | # supports it. (boolean value) | ||
777 | #driver_use_ssl = false | ||
778 | |||
779 | # Float representation of the over subscription ratio when thin provisioning is | ||
780 | # involved. Default ratio is 20.0, meaning provisioned capacity can be 20 times | ||
781 | # of the total physical capacity. If the ratio is 10.5, it means provisioned | ||
782 | # capacity can be 10.5 times of the total physical capacity. A ratio of 1.0 | ||
783 | # means provisioned capacity cannot exceed the total physical capacity. The | ||
784 | # ratio has to be a minimum of 1.0. (floating point value) | ||
785 | #max_over_subscription_ratio = 20.0 | ||
786 | |||
787 | # Certain ISCSI targets have predefined target names, SCST target driver uses | ||
788 | # this name. (string value) | ||
789 | #scst_target_iqn_name = <None> | ||
790 | |||
791 | # SCST target implementation can choose from multiple SCST target drivers. | ||
792 | # (string value) | ||
793 | #scst_target_driver = iscsi | ||
794 | |||
795 | # Option to enable/disable CHAP authentication for targets. (boolean value) | ||
796 | #use_chap_auth = false | ||
316 | 797 | ||
317 | # Certificate file to use when starting the server securely | 798 | # CHAP user name. (string value) |
799 | #chap_username = | ||
800 | |||
801 | # Password for specified CHAP account name. (string value) | ||
802 | #chap_password = | ||
803 | |||
804 | # Namespace for driver private data values to be saved in. (string value) | ||
805 | #driver_data_namespace = <None> | ||
806 | |||
807 | # String representation for an equation that will be used to filter hosts. Only | ||
808 | # used when the driver filter is set to be used by the Cinder scheduler. | ||
318 | # (string value) | 809 | # (string value) |
319 | #ssl_cert_file=<None> | 810 | #filter_function = <None> |
811 | |||
812 | # String representation for an equation that will be used to determine the | ||
813 | # goodness of a host. Only used when using the goodness weigher is set to be | ||
814 | # used by the Cinder scheduler. (string value) | ||
815 | #goodness_function = <None> | ||
320 | 816 | ||
321 | # Private key file to use when starting the server securely | 817 | # If set to True the http client will validate the SSL certificate of the |
818 | # backend endpoint. (boolean value) | ||
819 | #driver_ssl_cert_verify = false | ||
820 | |||
821 | # Can be used to specify a non default path to a CA_BUNDLE file or directory | ||
822 | # with certificates of trusted CAs, which will be used to validate the backend | ||
322 | # (string value) | 823 | # (string value) |
323 | #ssl_key_file=<None> | 824 | #driver_ssl_cert_path = <None> |
825 | |||
826 | # List of options that control which trace info is written to the DEBUG log | ||
827 | # level to assist developers. Valid values are method and api. (list value) | ||
828 | #trace_flags = <None> | ||
829 | |||
830 | # Multi opt of dictionaries to represent a replication target device. This | ||
831 | # option may be specified multiple times in a single config section to specify | ||
832 | # multiple replication target devices. Each entry takes the standard dict | ||
833 | # config form: replication_device = | ||
834 | # target_device_id:<required>,key1:value1,key2:value2... (dict value) | ||
835 | #replication_device = <None> | ||
836 | |||
837 | # If set to True, upload-to-image in raw format will create a cloned volume and | ||
838 | # register its location to the image service, instead of uploading the volume | ||
839 | # content. The cinder backend and locations support must be enabled in the | ||
840 | # image service, and glance_api_version must be set to 2. (boolean value) | ||
841 | #image_upload_use_cinder_backend = false | ||
842 | |||
843 | # If set to True, the image volume created by upload-to-image will be placed in | ||
844 | # the internal tenant. Otherwise, the image volume is created in the current | ||
845 | # context's tenant. (boolean value) | ||
846 | #image_upload_use_internal_tenant = false | ||
847 | |||
848 | # Enable the image volume cache for this backend. (boolean value) | ||
849 | #image_volume_cache_enabled = false | ||
850 | |||
851 | # Max size of the image volume cache for this backend in GB. 0 => unlimited. | ||
852 | # (integer value) | ||
853 | #image_volume_cache_max_size_gb = 0 | ||
324 | 854 | ||
855 | # Max number of entries allowed in the image volume cache. 0 => unlimited. | ||
856 | # (integer value) | ||
857 | #image_volume_cache_max_count = 0 | ||
325 | 858 | ||
326 | # | 859 | # Report to clients of Cinder that the backend supports discard (aka. |
327 | # Options defined in cinder.api.middleware.auth | 860 | # trim/unmap). This will not actually change the behavior of the backend or the |
328 | # | 861 | # client directly, it will only notify that it can be used. (boolean value) |
862 | #report_discard_supported = false | ||
863 | |||
864 | # Protocol for transferring data between host and storage back-end. (string | ||
865 | # value) | ||
866 | # Allowed values: iscsi, fc | ||
867 | #storage_protocol = iscsi | ||
868 | |||
869 | # If this is set to True, the backup_use_temp_snapshot path will be used during | ||
870 | # the backup. Otherwise, it will use backup_use_temp_volume path. (boolean | ||
871 | # value) | ||
872 | #backup_use_temp_snapshot = false | ||
873 | |||
874 | # Set this to True when you want to allow an unsupported driver to start. | ||
875 | # Drivers that haven't maintained a working CI system and testing are marked as | ||
876 | # unsupported until CI is working again. This also marks a driver as | ||
877 | # deprecated and may be removed in the next release. (boolean value) | ||
878 | #enable_unsupported_driver = false | ||
879 | |||
880 | # Availability zone for this volume backend. If not set, the | ||
881 | # storage_availability_zone option value is used as the default for all | ||
882 | # backends. (string value) | ||
883 | #backend_availability_zone = <None> | ||
884 | |||
885 | # The maximum number of times to rescan iSER targetto find volume (integer | ||
886 | # value) | ||
887 | #num_iser_scan_tries = 3 | ||
888 | |||
889 | # Prefix for iSER volumes (string value) | ||
890 | #iser_target_prefix = iqn.2010-10.org.openstack: | ||
891 | |||
892 | # The IP address that the iSER daemon is listening on (string value) | ||
893 | #iser_ip_address = $my_ip | ||
894 | |||
895 | # The port that the iSER daemon is listening on (port value) | ||
896 | # Minimum value: 0 | ||
897 | # Maximum value: 65535 | ||
898 | #iser_port = 3260 | ||
329 | 899 | ||
330 | # Treat X-Forwarded-For as the canonical remote address. Only | 900 | # The name of the iSER target user-land tool to use (string value) |
331 | # enable this if you have a sanitizing proxy. (boolean value) | 901 | #iser_helper = tgtadm |
332 | #use_forwarded_for=false | ||
333 | 902 | ||
903 | # Timeout for creating the volume to migrate to when performing volume | ||
904 | # migration (seconds) (integer value) | ||
905 | #migration_create_volume_timeout_secs = 300 | ||
906 | |||
907 | # Offload pending volume delete during volume service startup (boolean value) | ||
908 | #volume_service_inithost_offload = false | ||
909 | |||
910 | # FC Zoning mode configured, only 'fabric' is supported now. (string value) | ||
911 | #zoning_mode = <None> | ||
912 | |||
913 | # Sets the value of TCP_KEEPALIVE (True/False) for each server socket. (boolean | ||
914 | # value) | ||
915 | #tcp_keepalive = true | ||
916 | |||
917 | # Sets the value of TCP_KEEPINTVL in seconds for each server socket. Not | ||
918 | # supported on OS X. (integer value) | ||
919 | #tcp_keepalive_interval = <None> | ||
920 | |||
921 | # Sets the value of TCP_KEEPCNT for each server socket. Not supported on OS X. | ||
922 | # (integer value) | ||
923 | #tcp_keepalive_count = <None> | ||
334 | 924 | ||
335 | # | 925 | # |
336 | # Options defined in cinder.api.middleware.sizelimit | 926 | # From oslo.config |
337 | # | 927 | # |
338 | 928 | ||
339 | # Max size for body of a request (integer value) | 929 | # Path to a config file to use. Multiple config files can be specified, with |
340 | #osapi_max_request_body_size=114688 | 930 | # values in later files taking precedence. Defaults to %(default)s. (unknown |
931 | # value) | ||
932 | #config_file = ~/.project/project.conf,~/project.conf,/etc/project/project.conf,/etc/project.conf | ||
341 | 933 | ||
934 | # Path to a config directory to pull `*.conf` files from. This file set is | ||
935 | # sorted, so as to provide a predictable parse order if individual options are | ||
936 | # over-ridden. The set is parsed after the file(s) specified via previous | ||
937 | # --config-file, arguments hence over-ridden options in the directory take | ||
938 | # precedence. (list value) | ||
939 | #config_dir = ~/.project/project.conf.d/,~/project.conf.d/,/etc/project/project.conf.d/,/etc/project.conf.d/ | ||
342 | 940 | ||
343 | # | 941 | # |
344 | # Options defined in cinder.common.deprecated | 942 | # From oslo.log |
345 | # | 943 | # |
346 | 944 | ||
347 | # make deprecations fatal (boolean value) | 945 | # If set to true, the logging level will be set to DEBUG instead of the default |
348 | #fatal_deprecations=false | 946 | # INFO level. (boolean value) |
947 | # Note: This option can be changed without restarting. | ||
948 | #debug = false | ||
949 | |||
950 | # The name of a logging configuration file. This file is appended to any | ||
951 | # existing logging configuration files. For details about logging configuration | ||
952 | # files, see the Python logging module documentation. Note that when logging | ||
953 | # configuration files are used then all logging configuration is set in the | ||
954 | # configuration file and other logging configuration options are ignored (for | ||
955 | # example, logging_context_format_string). (string value) | ||
956 | # Note: This option can be changed without restarting. | ||
957 | # Deprecated group/name - [DEFAULT]/log_config | ||
958 | #log_config_append = <None> | ||
959 | |||
960 | # Defines the format string for %%(asctime)s in log records. Default: | ||
961 | # %(default)s . This option is ignored if log_config_append is set. (string | ||
962 | # value) | ||
963 | #log_date_format = %Y-%m-%d %H:%M:%S | ||
964 | |||
965 | # (Optional) Name of log file to send logging output to. If no default is set, | ||
966 | # logging will go to stderr as defined by use_stderr. This option is ignored if | ||
967 | # log_config_append is set. (string value) | ||
968 | # Deprecated group/name - [DEFAULT]/logfile | ||
969 | #log_file = <None> | ||
970 | |||
971 | # (Optional) The base directory used for relative log_file paths. This option | ||
972 | # is ignored if log_config_append is set. (string value) | ||
973 | # Deprecated group/name - [DEFAULT]/logdir | ||
974 | #log_dir = <None> | ||
975 | |||
976 | # Uses logging handler designed to watch file system. When log file is moved or | ||
977 | # removed this handler will open a new log file with specified path | ||
978 | # instantaneously. It makes sense only if log_file option is specified and | ||
979 | # Linux platform is used. This option is ignored if log_config_append is set. | ||
980 | # (boolean value) | ||
981 | #watch_log_file = false | ||
982 | |||
983 | # Use syslog for logging. Existing syslog format is DEPRECATED and will be | ||
984 | # changed later to honor RFC5424. This option is ignored if log_config_append | ||
985 | # is set. (boolean value) | ||
986 | #use_syslog = false | ||
987 | |||
988 | # Enable journald for logging. If running in a systemd environment you may wish | ||
989 | # to enable journal support. Doing so will use the journal native protocol | ||
990 | # which includes structured metadata in addition to log messages.This option is | ||
991 | # ignored if log_config_append is set. (boolean value) | ||
992 | #use_journal = false | ||
993 | |||
994 | # Syslog facility to receive log lines. This option is ignored if | ||
995 | # log_config_append is set. (string value) | ||
996 | #syslog_log_facility = LOG_USER | ||
997 | |||
998 | # Log output to standard error. This option is ignored if log_config_append is | ||
999 | # set. (boolean value) | ||
1000 | #use_stderr = false | ||
1001 | |||
1002 | # Format string to use for log messages with context. (string value) | ||
1003 | #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s | ||
1004 | |||
1005 | # Format string to use for log messages when context is undefined. (string | ||
1006 | # value) | ||
1007 | #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | ||
1008 | |||
1009 | # Additional data to append to log message when logging level for the message | ||
1010 | # is DEBUG. (string value) | ||
1011 | #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d | ||
1012 | |||
1013 | # Prefix each line of exception output with this format. (string value) | ||
1014 | #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s | ||
1015 | |||
1016 | # Defines the format string for %(user_identity)s that is used in | ||
1017 | # logging_context_format_string. (string value) | ||
1018 | #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s | ||
349 | 1019 | ||
1020 | # List of package logging levels in logger=LEVEL pairs. This option is ignored | ||
1021 | # if log_config_append is set. (list value) | ||
1022 | #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO | ||
1023 | |||
1024 | # Enables or disables publication of error events. (boolean value) | ||
1025 | #publish_errors = false | ||
1026 | |||
1027 | # The format for an instance that is passed with the log message. (string | ||
1028 | # value) | ||
1029 | #instance_format = "[instance: %(uuid)s] " | ||
1030 | |||
1031 | # The format for an instance UUID that is passed with the log message. (string | ||
1032 | # value) | ||
1033 | #instance_uuid_format = "[instance: %(uuid)s] " | ||
1034 | |||
1035 | # Interval, number of seconds, of log rate limiting. (integer value) | ||
1036 | #rate_limit_interval = 0 | ||
1037 | |||
1038 | # Maximum number of logged messages per rate_limit_interval. (integer value) | ||
1039 | #rate_limit_burst = 0 | ||
1040 | |||
1041 | # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG | ||
1042 | # or empty string. Logs with level greater or equal to rate_limit_except_level | ||
1043 | # are not filtered. An empty string means that all levels are filtered. (string | ||
1044 | # value) | ||
1045 | #rate_limit_except_level = CRITICAL | ||
1046 | |||
1047 | # Enables or disables fatal status of deprecations. (boolean value) | ||
1048 | #fatal_deprecations = false | ||
350 | 1049 | ||
351 | # | 1050 | # |
352 | # Options defined in cinder.db.api | 1051 | # From oslo.messaging |
353 | # | 1052 | # |
354 | 1053 | ||
355 | # The backend to use for db (string value) | 1054 | # Size of RPC connection pool. (integer value) |
356 | #db_backend=sqlalchemy | 1055 | #rpc_conn_pool_size = 30 |
357 | 1056 | ||
358 | # Services to be added to the available pool on create | 1057 | # The pool size limit for connections expiration policy (integer value) |
359 | # (boolean value) | 1058 | #conn_pool_min_size = 2 |
360 | #enable_new_services=true | 1059 | |
1060 | # The time-to-live in sec of idle connections in the pool (integer value) | ||
1061 | #conn_pool_ttl = 1200 | ||
1062 | |||
1063 | # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP. | ||
1064 | # The "host" option should point or resolve to this address. (string value) | ||
1065 | #rpc_zmq_bind_address = * | ||
1066 | |||
1067 | # MatchMaker driver. (string value) | ||
1068 | # Allowed values: redis, sentinel, dummy | ||
1069 | #rpc_zmq_matchmaker = redis | ||
1070 | |||
1071 | # Number of ZeroMQ contexts, defaults to 1. (integer value) | ||
1072 | #rpc_zmq_contexts = 1 | ||
1073 | |||
1074 | # Maximum number of ingress messages to locally buffer per topic. Default is | ||
1075 | # unlimited. (integer value) | ||
1076 | #rpc_zmq_topic_backlog = <None> | ||
1077 | |||
1078 | # Directory for holding IPC sockets. (string value) | ||
1079 | #rpc_zmq_ipc_dir = /var/run/openstack | ||
1080 | |||
1081 | # Name of this node. Must be a valid hostname, FQDN, or IP address. Must match | ||
1082 | # "host" option, if running Nova. (string value) | ||
1083 | #rpc_zmq_host = localhost | ||
1084 | |||
1085 | # Number of seconds to wait before all pending messages will be sent after | ||
1086 | # closing a socket. The default value of -1 specifies an infinite linger | ||
1087 | # period. The value of 0 specifies no linger period. Pending messages shall be | ||
1088 | # discarded immediately when the socket is closed. Positive values specify an | ||
1089 | # upper bound for the linger period. (integer value) | ||
1090 | # Deprecated group/name - [DEFAULT]/rpc_cast_timeout | ||
1091 | #zmq_linger = -1 | ||
1092 | |||
1093 | # The default number of seconds that poll should wait. Poll raises timeout | ||
1094 | # exception when timeout expired. (integer value) | ||
1095 | #rpc_poll_timeout = 1 | ||
361 | 1096 | ||
362 | # Template string to be used to generate volume names (string | 1097 | # Expiration timeout in seconds of a name service record about existing target |
1098 | # ( < 0 means no timeout). (integer value) | ||
1099 | #zmq_target_expire = 300 | ||
1100 | |||
1101 | # Update period in seconds of a name service record about existing target. | ||
1102 | # (integer value) | ||
1103 | #zmq_target_update = 180 | ||
1104 | |||
1105 | # Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean | ||
363 | # value) | 1106 | # value) |
364 | #volume_name_template=volume-%s | 1107 | #use_pub_sub = false |
365 | 1108 | ||
366 | # Template string to be used to generate snapshot names | 1109 | # Use ROUTER remote proxy. (boolean value) |
367 | # (string value) | 1110 | #use_router_proxy = false |
368 | #snapshot_name_template=snapshot-%s | 1111 | |
1112 | # This option makes direct connections dynamic or static. It makes sense only | ||
1113 | # with use_router_proxy=False which means to use direct connections for direct | ||
1114 | # message types (ignored otherwise). (boolean value) | ||
1115 | #use_dynamic_connections = false | ||
1116 | |||
1117 | # How many additional connections to a host will be made for failover reasons. | ||
1118 | # This option is actual only in dynamic connections mode. (integer value) | ||
1119 | #zmq_failover_connections = 2 | ||
1120 | |||
1121 | # Minimal port number for random ports range. (port value) | ||
1122 | # Minimum value: 0 | ||
1123 | # Maximum value: 65535 | ||
1124 | #rpc_zmq_min_port = 49153 | ||
1125 | |||
1126 | # Maximal port number for random ports range. (integer value) | ||
1127 | # Minimum value: 1 | ||
1128 | # Maximum value: 65536 | ||
1129 | #rpc_zmq_max_port = 65536 | ||
369 | 1130 | ||
370 | # Template string to be used to generate backup names (string | 1131 | # Number of retries to find free port number before fail with ZMQBindError. |
1132 | # (integer value) | ||
1133 | #rpc_zmq_bind_port_retries = 100 | ||
1134 | |||
1135 | # Default serialization mechanism for serializing/deserializing | ||
1136 | # outgoing/incoming messages (string value) | ||
1137 | # Allowed values: json, msgpack | ||
1138 | #rpc_zmq_serialization = json | ||
1139 | |||
1140 | # This option configures round-robin mode in zmq socket. True means not keeping | ||
1141 | # a queue when server side disconnects. False means to keep queue and messages | ||
1142 | # even if server is disconnected, when the server appears we send all | ||
1143 | # accumulated messages to it. (boolean value) | ||
1144 | #zmq_immediate = true | ||
1145 | |||
1146 | # Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any | ||
1147 | # other negative value) means to skip any overrides and leave it to OS default; | ||
1148 | # 0 and 1 (or any other positive value) mean to disable and enable the option | ||
1149 | # respectively. (integer value) | ||
1150 | #zmq_tcp_keepalive = -1 | ||
1151 | |||
1152 | # The duration between two keepalive transmissions in idle condition. The unit | ||
1153 | # is platform dependent, for example, seconds in Linux, milliseconds in Windows | ||
1154 | # etc. The default value of -1 (or any other negative value and 0) means to | ||
1155 | # skip any overrides and leave it to OS default. (integer value) | ||
1156 | #zmq_tcp_keepalive_idle = -1 | ||
1157 | |||
1158 | # The number of retransmissions to be carried out before declaring that remote | ||
1159 | # end is not available. The default value of -1 (or any other negative value | ||
1160 | # and 0) means to skip any overrides and leave it to OS default. (integer | ||
1161 | # value) | ||
1162 | #zmq_tcp_keepalive_cnt = -1 | ||
1163 | |||
1164 | # The duration between two successive keepalive retransmissions, if | ||
1165 | # acknowledgement to the previous keepalive transmission is not received. The | ||
1166 | # unit is platform dependent, for example, seconds in Linux, milliseconds in | ||
1167 | # Windows etc. The default value of -1 (or any other negative value and 0) | ||
1168 | # means to skip any overrides and leave it to OS default. (integer value) | ||
1169 | #zmq_tcp_keepalive_intvl = -1 | ||
1170 | |||
1171 | # Maximum number of (green) threads to work concurrently. (integer value) | ||
1172 | #rpc_thread_pool_size = 100 | ||
1173 | |||
1174 | # Expiration timeout in seconds of a sent/received message after which it is | ||
1175 | # not tracked anymore by a client/server. (integer value) | ||
1176 | #rpc_message_ttl = 300 | ||
1177 | |||
1178 | # Wait for message acknowledgements from receivers. This mechanism works only | ||
1179 | # via proxy without PUB/SUB. (boolean value) | ||
1180 | #rpc_use_acks = false | ||
1181 | |||
1182 | # Number of seconds to wait for an ack from a cast/call. After each retry | ||
1183 | # attempt this timeout is multiplied by some specified multiplier. (integer | ||
371 | # value) | 1184 | # value) |
372 | #backup_name_template=backup-%s | 1185 | #rpc_ack_timeout_base = 15 |
373 | 1186 | ||
1187 | # Number to multiply base ack timeout by after each retry attempt. (integer | ||
1188 | # value) | ||
1189 | #rpc_ack_timeout_multiplier = 2 | ||
1190 | |||
1191 | # Default number of message sending attempts in case of any problems occurred: | ||
1192 | # positive value N means at most N retries, 0 means no retries, None or -1 (or | ||
1193 | # any other negative values) mean to retry forever. This option is used only if | ||
1194 | # acknowledgments are enabled. (integer value) | ||
1195 | #rpc_retry_attempts = 3 | ||
1196 | |||
1197 | # List of publisher hosts SubConsumer can subscribe on. This option has higher | ||
1198 | # priority then the default publishers list taken from the matchmaker. (list | ||
1199 | # value) | ||
1200 | #subscribe_on = | ||
1201 | |||
1202 | # Size of executor thread pool when executor is threading or eventlet. (integer | ||
1203 | # value) | ||
1204 | # Deprecated group/name - [DEFAULT]/rpc_thread_pool_size | ||
1205 | #executor_thread_pool_size = 64 | ||
1206 | |||
1207 | # Seconds to wait for a response from a call. (integer value) | ||
1208 | #rpc_response_timeout = 60 | ||
1209 | |||
1210 | # A URL representing the messaging driver to use and its full configuration. | ||
1211 | # (string value) | ||
1212 | #transport_url = <None> | ||
1213 | |||
1214 | # DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers | ||
1215 | # include amqp and zmq. (string value) | ||
1216 | # This option is deprecated for removal. | ||
1217 | # Its value may be silently ignored in the future. | ||
1218 | # Reason: Replaced by [DEFAULT]/transport_url | ||
1219 | #rpc_backend = rabbit | ||
1220 | |||
1221 | # The default exchange under which topics are scoped. May be overridden by an | ||
1222 | # exchange name specified in the transport_url option. (string value) | ||
1223 | #control_exchange = openstack | ||
1224 | |||
1225 | # | ||
1226 | # From oslo.service.periodic_task | ||
374 | # | 1227 | # |
375 | # Options defined in cinder.db.base | 1228 | |
1229 | # Some periodic tasks can be run in a separate process. Should we run them | ||
1230 | # here? (boolean value) | ||
1231 | #run_external_periodic_tasks = true | ||
1232 | |||
376 | # | 1233 | # |
1234 | # From oslo.service.service | ||
1235 | # | ||
1236 | |||
1237 | # Enable eventlet backdoor. Acceptable values are 0, <port>, and | ||
1238 | # <start>:<end>, where 0 results in listening on a random tcp port number; | ||
1239 | # <port> results in listening on the specified port number (and not enabling | ||
1240 | # backdoor if that port is in use); and <start>:<end> results in listening on | ||
1241 | # the smallest unused port number within the specified range of port numbers. | ||
1242 | # The chosen port is displayed in the service's log file. (string value) | ||
1243 | #backdoor_port = <None> | ||
377 | 1244 | ||
378 | # driver to use for database access (string value) | 1245 | # Enable eventlet backdoor, using the provided path as a unix socket that can |
379 | #db_driver=cinder.db | 1246 | # receive connections. This option is mutually exclusive with 'backdoor_port' |
1247 | # in that only one should be provided. If both are provided then the existence | ||
1248 | # of this option overrides the usage of that option. (string value) | ||
1249 | #backdoor_socket = <None> | ||
380 | 1250 | ||
1251 | # Enables or disables logging values of all registered options when starting a | ||
1252 | # service (at DEBUG level). (boolean value) | ||
1253 | #log_options = true | ||
1254 | |||
1255 | # Specify a timeout after which a gracefully shutdown server will exit. Zero | ||
1256 | # value means endless wait. (integer value) | ||
1257 | #graceful_shutdown_timeout = 60 | ||
381 | 1258 | ||
382 | # | 1259 | # |
383 | # Options defined in cinder.image.image_utils | 1260 | # From oslo.service.wsgi |
384 | # | 1261 | # |
385 | 1262 | ||
386 | # parent dir for tempdir used for image conversion (string | 1263 | # File name for the paste.deploy config for api service (string value) |
1264 | #api_paste_config = api-paste.ini | ||
1265 | |||
1266 | # A python format string that is used as the template to generate log lines. | ||
1267 | # The following values can beformatted into it: client_ip, date_time, | ||
1268 | # request_line, status_code, body_length, wall_seconds. (string value) | ||
1269 | #wsgi_log_format = %(client_ip)s "%(request_line)s" status: %(status_code)s len: %(body_length)s time: %(wall_seconds).7f | ||
1270 | |||
1271 | # Sets the value of TCP_KEEPIDLE in seconds for each server socket. Not | ||
1272 | # supported on OS X. (integer value) | ||
1273 | #tcp_keepidle = 600 | ||
1274 | |||
1275 | # Size of the pool of greenthreads used by wsgi (integer value) | ||
1276 | #wsgi_default_pool_size = 100 | ||
1277 | |||
1278 | # Maximum line size of message headers to be accepted. max_header_line may need | ||
1279 | # to be increased when using large tokens (typically those generated when | ||
1280 | # keystone is configured to use PKI tokens with big service catalogs). (integer | ||
387 | # value) | 1281 | # value) |
388 | #image_conversion_dir=/tmp | 1282 | #max_header_line = 16384 |
1283 | |||
1284 | # If False, closes the client socket connection explicitly. (boolean value) | ||
1285 | #wsgi_keep_alive = true | ||
1286 | |||
1287 | # Timeout for client connections' socket operations. If an incoming connection | ||
1288 | # is idle for this number of seconds it will be closed. A value of '0' means | ||
1289 | # wait forever. (integer value) | ||
1290 | #client_socket_timeout = 900 | ||
1291 | |||
389 | 1292 | ||
1293 | [backend] | ||
390 | 1294 | ||
391 | # | 1295 | # |
392 | # Options defined in cinder.openstack.common.lockutils | 1296 | # From cinder |
393 | # | 1297 | # |
394 | 1298 | ||
395 | # Whether to disable inter-process locks (boolean value) | 1299 | # Backend override of host value. (string value) |
396 | #disable_process_locking=false | 1300 | #backend_host = <None> |
397 | 1301 | ||
398 | # Directory to use for lock files (string value) | ||
399 | #lock_path=<None> | ||
400 | 1302 | ||
1303 | [backend_defaults] | ||
401 | 1304 | ||
402 | # | 1305 | # |
403 | # Options defined in cinder.openstack.common.log | 1306 | # From cinder |
404 | # | 1307 | # |
405 | 1308 | ||
406 | # Log output to a per-service log file in named directory | 1309 | # Number of times to attempt to run flakey shell commands (integer value) |
1310 | #num_shell_tries = 3 | ||
1311 | |||
1312 | # The percentage of backend capacity is reserved (integer value) | ||
1313 | # Minimum value: 0 | ||
1314 | # Maximum value: 100 | ||
1315 | #reserved_percentage = 0 | ||
1316 | |||
1317 | # Prefix for iSCSI volumes (string value) | ||
1318 | #iscsi_target_prefix = iqn.2010-10.org.openstack: | ||
1319 | |||
1320 | # The IP address that the iSCSI daemon is listening on (string value) | ||
1321 | #iscsi_ip_address = $my_ip | ||
1322 | |||
1323 | # The list of secondary IP addresses of the iSCSI daemon (list value) | ||
1324 | #iscsi_secondary_ip_addresses = | ||
1325 | |||
1326 | # The port that the iSCSI daemon is listening on (port value) | ||
1327 | # Minimum value: 0 | ||
1328 | # Maximum value: 65535 | ||
1329 | #iscsi_port = 3260 | ||
1330 | |||
1331 | # The maximum number of times to rescan targets to find volume (integer value) | ||
1332 | #num_volume_device_scan_tries = 3 | ||
1333 | |||
1334 | # The backend name for a given driver implementation (string value) | ||
1335 | #volume_backend_name = <None> | ||
1336 | |||
1337 | # Do we attach/detach volumes in cinder using multipath for volume to image and | ||
1338 | # image to volume transfers? (boolean value) | ||
1339 | #use_multipath_for_image_xfer = false | ||
1340 | |||
1341 | # If this is set to True, attachment of volumes for image transfer will be | ||
1342 | # aborted when multipathd is not running. Otherwise, it will fallback to single | ||
1343 | # path. (boolean value) | ||
1344 | #enforce_multipath_for_image_xfer = false | ||
1345 | |||
1346 | # Method used to wipe old volumes (string value) | ||
1347 | # Allowed values: none, zero | ||
1348 | #volume_clear = zero | ||
1349 | |||
1350 | # Size in MiB to wipe at start of old volumes. 1024 MiBat max. 0 => all | ||
1351 | # (integer value) | ||
1352 | # Maximum value: 1024 | ||
1353 | #volume_clear_size = 0 | ||
1354 | |||
1355 | # The flag to pass to ionice to alter the i/o priority of the process used to | ||
1356 | # zero a volume after deletion, for example "-c3" for idle only priority. | ||
407 | # (string value) | 1357 | # (string value) |
408 | #logdir=<None> | 1358 | #volume_clear_ionice = <None> |
409 | 1359 | ||
410 | # Log output to a named file (string value) | 1360 | # iSCSI target user-land tool to use. tgtadm is default, use lioadm for LIO |
411 | #logfile=<None> | 1361 | # iSCSI support, scstadmin for SCST target support, ietadm for iSCSI Enterprise |
1362 | # Target, iscsictl for Chelsio iSCSI Target or fake for testing. (string value) | ||
1363 | # Allowed values: tgtadm, lioadm, scstadmin, iscsictl, ietadm, fake | ||
1364 | #iscsi_helper = tgtadm | ||
412 | 1365 | ||
413 | # Log output to standard error (boolean value) | 1366 | # Volume configuration file storage directory (string value) |
414 | #use_stderr=true | 1367 | #volumes_dir = $state_path/volumes |
415 | 1368 | ||
416 | # Default file mode used when creating log files (string | 1369 | # IET configuration file (string value) |
417 | # value) | 1370 | #iet_conf = /etc/iet/ietd.conf |
418 | #logfile_mode=0644 | 1371 | |
1372 | # Chiscsi (CXT) global defaults configuration file (string value) | ||
1373 | #chiscsi_conf = /etc/chelsio-iscsi/chiscsi.conf | ||
1374 | |||
1375 | # Sets the behavior of the iSCSI target to either perform blockio or fileio | ||
1376 | # optionally, auto can be set and Cinder will autodetect type of backing device | ||
1377 | # (string value) | ||
1378 | # Allowed values: blockio, fileio, auto | ||
1379 | #iscsi_iotype = fileio | ||
419 | 1380 | ||
420 | # format string to use for log messages with context (string | 1381 | # The default block size used when copying/clearing volumes (string value) |
1382 | #volume_dd_blocksize = 1M | ||
1383 | |||
1384 | # The blkio cgroup name to be used to limit bandwidth of volume copy (string | ||
421 | # value) | 1385 | # value) |
422 | #logging_context_format_string=%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s] %(instance)s%(message)s | 1386 | #volume_copy_blkio_cgroup_name = cinder-volume-copy |
1387 | |||
1388 | # The upper limit of bandwidth of volume copy. 0 => unlimited (integer value) | ||
1389 | #volume_copy_bps_limit = 0 | ||
1390 | |||
1391 | # Sets the behavior of the iSCSI target to either perform write-back(on) or | ||
1392 | # write-through(off). This parameter is valid if iscsi_helper is set to tgtadm. | ||
1393 | # (string value) | ||
1394 | # Allowed values: on, off | ||
1395 | #iscsi_write_cache = on | ||
1396 | |||
1397 | # Sets the target-specific flags for the iSCSI target. Only used for tgtadm to | ||
1398 | # specify backing device flags using bsoflags option. The specified string is | ||
1399 | # passed as is to the underlying tool. (string value) | ||
1400 | #iscsi_target_flags = | ||
1401 | |||
1402 | # Determines the iSCSI protocol for new iSCSI volumes, created with tgtadm or | ||
1403 | # lioadm target helpers. In order to enable RDMA, this parameter should be set | ||
1404 | # with the value "iser". The supported iSCSI protocol values are "iscsi" and | ||
1405 | # "iser". (string value) | ||
1406 | # Allowed values: iscsi, iser | ||
1407 | #iscsi_protocol = iscsi | ||
1408 | |||
1409 | # The path to the client certificate key for verification, if the driver | ||
1410 | # supports it. (string value) | ||
1411 | #driver_client_cert_key = <None> | ||
1412 | |||
1413 | # The path to the client certificate for verification, if the driver supports | ||
1414 | # it. (string value) | ||
1415 | #driver_client_cert = <None> | ||
1416 | |||
1417 | # Tell driver to use SSL for connection to backend storage if the driver | ||
1418 | # supports it. (boolean value) | ||
1419 | #driver_use_ssl = false | ||
1420 | |||
1421 | # Float representation of the over subscription ratio when thin provisioning is | ||
1422 | # involved. Default ratio is 20.0, meaning provisioned capacity can be 20 times | ||
1423 | # of the total physical capacity. If the ratio is 10.5, it means provisioned | ||
1424 | # capacity can be 10.5 times of the total physical capacity. A ratio of 1.0 | ||
1425 | # means provisioned capacity cannot exceed the total physical capacity. The | ||
1426 | # ratio has to be a minimum of 1.0. (floating point value) | ||
1427 | #max_over_subscription_ratio = 20.0 | ||
1428 | |||
1429 | # Certain ISCSI targets have predefined target names, SCST target driver uses | ||
1430 | # this name. (string value) | ||
1431 | #scst_target_iqn_name = <None> | ||
1432 | |||
1433 | # SCST target implementation can choose from multiple SCST target drivers. | ||
1434 | # (string value) | ||
1435 | #scst_target_driver = iscsi | ||
1436 | |||
1437 | # Option to enable/disable CHAP authentication for targets. (boolean value) | ||
1438 | #use_chap_auth = false | ||
1439 | |||
1440 | # CHAP user name. (string value) | ||
1441 | #chap_username = | ||
1442 | |||
1443 | # Password for specified CHAP account name. (string value) | ||
1444 | #chap_password = | ||
1445 | |||
1446 | # Namespace for driver private data values to be saved in. (string value) | ||
1447 | #driver_data_namespace = <None> | ||
1448 | |||
1449 | # String representation for an equation that will be used to filter hosts. Only | ||
1450 | # used when the driver filter is set to be used by the Cinder scheduler. | ||
1451 | # (string value) | ||
1452 | #filter_function = <None> | ||
1453 | |||
1454 | # String representation for an equation that will be used to determine the | ||
1455 | # goodness of a host. Only used when using the goodness weigher is set to be | ||
1456 | # used by the Cinder scheduler. (string value) | ||
1457 | #goodness_function = <None> | ||
423 | 1458 | ||
424 | # format string to use for log messages without context | 1459 | # If set to True the http client will validate the SSL certificate of the |
1460 | # backend endpoint. (boolean value) | ||
1461 | #driver_ssl_cert_verify = false | ||
1462 | |||
1463 | # Can be used to specify a non default path to a CA_BUNDLE file or directory | ||
1464 | # with certificates of trusted CAs, which will be used to validate the backend | ||
425 | # (string value) | 1465 | # (string value) |
426 | #logging_default_format_string=%(asctime)s %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | 1466 | #driver_ssl_cert_path = <None> |
1467 | |||
1468 | # List of options that control which trace info is written to the DEBUG log | ||
1469 | # level to assist developers. Valid values are method and api. (list value) | ||
1470 | #trace_flags = <None> | ||
1471 | |||
1472 | # Multi opt of dictionaries to represent a replication target device. This | ||
1473 | # option may be specified multiple times in a single config section to specify | ||
1474 | # multiple replication target devices. Each entry takes the standard dict | ||
1475 | # config form: replication_device = | ||
1476 | # target_device_id:<required>,key1:value1,key2:value2... (dict value) | ||
1477 | #replication_device = <None> | ||
1478 | |||
1479 | # If set to True, upload-to-image in raw format will create a cloned volume and | ||
1480 | # register its location to the image service, instead of uploading the volume | ||
1481 | # content. The cinder backend and locations support must be enabled in the | ||
1482 | # image service, and glance_api_version must be set to 2. (boolean value) | ||
1483 | #image_upload_use_cinder_backend = false | ||
1484 | |||
1485 | # If set to True, the image volume created by upload-to-image will be placed in | ||
1486 | # the internal tenant. Otherwise, the image volume is created in the current | ||
1487 | # context's tenant. (boolean value) | ||
1488 | #image_upload_use_internal_tenant = false | ||
1489 | |||
1490 | # Enable the image volume cache for this backend. (boolean value) | ||
1491 | #image_volume_cache_enabled = false | ||
1492 | |||
1493 | # Max size of the image volume cache for this backend in GB. 0 => unlimited. | ||
1494 | # (integer value) | ||
1495 | #image_volume_cache_max_size_gb = 0 | ||
1496 | |||
1497 | # Max number of entries allowed in the image volume cache. 0 => unlimited. | ||
1498 | # (integer value) | ||
1499 | #image_volume_cache_max_count = 0 | ||
1500 | |||
1501 | # Report to clients of Cinder that the backend supports discard (aka. | ||
1502 | # trim/unmap). This will not actually change the behavior of the backend or the | ||
1503 | # client directly, it will only notify that it can be used. (boolean value) | ||
1504 | #report_discard_supported = false | ||
1505 | |||
1506 | # Protocol for transferring data between host and storage back-end. (string | ||
1507 | # value) | ||
1508 | # Allowed values: iscsi, fc | ||
1509 | #storage_protocol = iscsi | ||
1510 | |||
1511 | # If this is set to True, the backup_use_temp_snapshot path will be used during | ||
1512 | # the backup. Otherwise, it will use backup_use_temp_volume path. (boolean | ||
1513 | # value) | ||
1514 | #backup_use_temp_snapshot = false | ||
1515 | |||
1516 | # Set this to True when you want to allow an unsupported driver to start. | ||
1517 | # Drivers that haven't maintained a working CI system and testing are marked as | ||
1518 | # unsupported until CI is working again. This also marks a driver as | ||
1519 | # deprecated and may be removed in the next release. (boolean value) | ||
1520 | #enable_unsupported_driver = false | ||
427 | 1521 | ||
428 | # data to append to log format when level is DEBUG (string | 1522 | # Availability zone for this volume backend. If not set, the |
1523 | # storage_availability_zone option value is used as the default for all | ||
1524 | # backends. (string value) | ||
1525 | #backend_availability_zone = <None> | ||
1526 | |||
1527 | # The maximum number of times to rescan iSER targetto find volume (integer | ||
429 | # value) | 1528 | # value) |
430 | #logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d | 1529 | #num_iser_scan_tries = 3 |
1530 | |||
1531 | # Prefix for iSER volumes (string value) | ||
1532 | #iser_target_prefix = iqn.2010-10.org.openstack: | ||
1533 | |||
1534 | # The IP address that the iSER daemon is listening on (string value) | ||
1535 | #iser_ip_address = $my_ip | ||
1536 | |||
1537 | # The port that the iSER daemon is listening on (port value) | ||
1538 | # Minimum value: 0 | ||
1539 | # Maximum value: 65535 | ||
1540 | #iser_port = 3260 | ||
1541 | |||
1542 | # The name of the iSER target user-land tool to use (string value) | ||
1543 | #iser_helper = tgtadm | ||
1544 | |||
1545 | # List of all available devices (list value) | ||
1546 | #available_devices = | ||
1547 | |||
1548 | # IP address/hostname of Blockbridge API. (string value) | ||
1549 | #blockbridge_api_host = <None> | ||
1550 | |||
1551 | # Override HTTPS port to connect to Blockbridge API server. (integer value) | ||
1552 | #blockbridge_api_port = <None> | ||
1553 | |||
1554 | # Blockbridge API authentication scheme (token or password) (string value) | ||
1555 | # Allowed values: token, password | ||
1556 | #blockbridge_auth_scheme = token | ||
1557 | |||
1558 | # Blockbridge API token (for auth scheme 'token') (string value) | ||
1559 | #blockbridge_auth_token = <None> | ||
1560 | |||
1561 | # Blockbridge API user (for auth scheme 'password') (string value) | ||
1562 | #blockbridge_auth_user = <None> | ||
1563 | |||
1564 | # Blockbridge API password (for auth scheme 'password') (string value) | ||
1565 | #blockbridge_auth_password = <None> | ||
1566 | |||
1567 | # Defines the set of exposed pools and their associated backend query strings | ||
1568 | # (dict value) | ||
1569 | #blockbridge_pools = OpenStack:+openstack | ||
1570 | |||
1571 | # Default pool name if unspecified. (string value) | ||
1572 | #blockbridge_default_pool = <None> | ||
1573 | |||
1574 | # RPC port to connect to Coho Data MicroArray (integer value) | ||
1575 | #coho_rpc_port = 2049 | ||
1576 | |||
1577 | # Hostname for the CoprHD Instance (string value) | ||
1578 | #coprhd_hostname = <None> | ||
1579 | |||
1580 | # Port for the CoprHD Instance (port value) | ||
1581 | # Minimum value: 0 | ||
1582 | # Maximum value: 65535 | ||
1583 | #coprhd_port = 4443 | ||
1584 | |||
1585 | # Username for accessing the CoprHD Instance (string value) | ||
1586 | #coprhd_username = <None> | ||
1587 | |||
1588 | # Password for accessing the CoprHD Instance (string value) | ||
1589 | #coprhd_password = <None> | ||
1590 | |||
1591 | # Tenant to utilize within the CoprHD Instance (string value) | ||
1592 | #coprhd_tenant = <None> | ||
1593 | |||
1594 | # Project to utilize within the CoprHD Instance (string value) | ||
1595 | #coprhd_project = <None> | ||
1596 | |||
1597 | # Virtual Array to utilize within the CoprHD Instance (string value) | ||
1598 | #coprhd_varray = <None> | ||
1599 | |||
1600 | # True | False to indicate if the storage array in CoprHD is VMAX or VPLEX | ||
1601 | # (boolean value) | ||
1602 | #coprhd_emulate_snapshot = false | ||
1603 | |||
1604 | # Rest Gateway IP or FQDN for Scaleio (string value) | ||
1605 | #coprhd_scaleio_rest_gateway_host = None | ||
1606 | |||
1607 | # Rest Gateway Port for Scaleio (port value) | ||
1608 | # Minimum value: 0 | ||
1609 | # Maximum value: 65535 | ||
1610 | #coprhd_scaleio_rest_gateway_port = 4984 | ||
1611 | |||
1612 | # Username for Rest Gateway (string value) | ||
1613 | #coprhd_scaleio_rest_server_username = <None> | ||
1614 | |||
1615 | # Rest Gateway Password (string value) | ||
1616 | #coprhd_scaleio_rest_server_password = <None> | ||
1617 | |||
1618 | # verify server certificate (boolean value) | ||
1619 | #scaleio_verify_server_certificate = false | ||
1620 | |||
1621 | # Server certificate path (string value) | ||
1622 | #scaleio_server_certificate_path = <None> | ||
431 | 1623 | ||
432 | # prefix each line of exception output with this format | 1624 | # Datera API port. (string value) |
1625 | #datera_api_port = 7717 | ||
1626 | |||
1627 | # DEPRECATED: Datera API version. (string value) | ||
1628 | # This option is deprecated for removal. | ||
1629 | # Its value may be silently ignored in the future. | ||
1630 | #datera_api_version = 2 | ||
1631 | |||
1632 | # Timeout for HTTP 503 retry messages (integer value) | ||
1633 | #datera_503_timeout = 120 | ||
1634 | |||
1635 | # Interval between 503 retries (integer value) | ||
1636 | #datera_503_interval = 5 | ||
1637 | |||
1638 | # True to set function arg and return logging (boolean value) | ||
1639 | #datera_debug = false | ||
1640 | |||
1641 | # ONLY FOR DEBUG/TESTING PURPOSES | ||
1642 | # True to set replica_count to 1 (boolean value) | ||
1643 | #datera_debug_replica_count_override = false | ||
1644 | |||
1645 | # If set to 'Map' --> OpenStack project ID will be mapped implicitly to Datera | ||
1646 | # tenant ID | ||
1647 | # If set to 'None' --> Datera tenant ID will not be used during volume | ||
1648 | # provisioning | ||
1649 | # If set to anything else --> Datera tenant ID will be the provided value | ||
433 | # (string value) | 1650 | # (string value) |
434 | #logging_exception_prefix=%(asctime)s %(process)d TRACE %(name)s %(instance)s | 1651 | #datera_tenant_id = <None> |
435 | 1652 | ||
436 | # list of logger=LEVEL pairs (list value) | 1653 | # Set to True to disable profiling in the Datera driver (boolean value) |
437 | #default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN | 1654 | #datera_disable_profiler = false |
438 | 1655 | ||
439 | # publish error events (boolean value) | 1656 | # Group name to use for creating volumes. Defaults to "group-0". (string value) |
440 | #publish_errors=false | 1657 | #eqlx_group_name = group-0 |
441 | 1658 | ||
442 | # If an instance is passed with the log message, format it | 1659 | # Maximum retry count for reconnection. Default is 5. (integer value) |
443 | # like this (string value) | 1660 | # Minimum value: 0 |
444 | #instance_format="[instance: %(uuid)s] " | 1661 | #eqlx_cli_max_retries = 5 |
445 | 1662 | ||
446 | # If an instance UUID is passed with the log message, format | 1663 | # Pool in which volumes will be created. Defaults to "default". (string value) |
447 | # it like this (string value) | 1664 | #eqlx_pool = default |
448 | #instance_uuid_format="[instance: %(uuid)s] " | ||
449 | 1665 | ||
1666 | # Storage Center System Serial Number (integer value) | ||
1667 | #dell_sc_ssn = 64702 | ||
450 | 1668 | ||
451 | # | 1669 | # Dell API port (port value) |
452 | # Options defined in cinder.openstack.common.notifier.api | 1670 | # Minimum value: 0 |
453 | # | 1671 | # Maximum value: 65535 |
1672 | #dell_sc_api_port = 3033 | ||
454 | 1673 | ||
455 | # Driver or drivers to handle sending notifications (multi | 1674 | # Name of the server folder to use on the Storage Center (string value) |
456 | # valued) | 1675 | #dell_sc_server_folder = openstack |
1676 | |||
1677 | # Name of the volume folder to use on the Storage Center (string value) | ||
1678 | #dell_sc_volume_folder = openstack | ||
1679 | |||
1680 | # Enable HTTPS SC certificate verification (boolean value) | ||
1681 | #dell_sc_verify_cert = false | ||
1682 | |||
1683 | # IP address of secondary DSM controller (string value) | ||
1684 | #secondary_san_ip = | ||
1685 | |||
1686 | # Secondary DSM user name (string value) | ||
1687 | #secondary_san_login = Admin | ||
1688 | |||
1689 | # Secondary DSM user password name (string value) | ||
1690 | #secondary_san_password = | ||
1691 | |||
1692 | # Secondary Dell API port (port value) | ||
1693 | # Minimum value: 0 | ||
1694 | # Maximum value: 65535 | ||
1695 | #secondary_sc_api_port = 3033 | ||
1696 | |||
1697 | # Domain IP to be excluded from iSCSI returns. (IP address value) | ||
1698 | #excluded_domain_ip = <None> | ||
457 | 1699 | ||
458 | # Default notification level for outgoing notifications | 1700 | # Server OS type to use when creating a new server on the Storage Center. |
459 | # (string value) | 1701 | # (string value) |
460 | #default_notification_level=INFO | 1702 | #dell_server_os = Red Hat Linux 6.x |
1703 | |||
1704 | # REST server port. (string value) | ||
1705 | #sio_rest_server_port = 443 | ||
1706 | |||
1707 | # Verify server certificate. (boolean value) | ||
1708 | #sio_verify_server_certificate = false | ||
1709 | |||
1710 | # Server certificate path. (string value) | ||
1711 | #sio_server_certificate_path = <None> | ||
1712 | |||
1713 | # Round up volume capacity. (boolean value) | ||
1714 | #sio_round_volume_capacity = true | ||
1715 | |||
1716 | # Unmap volume before deletion. (boolean value) | ||
1717 | #sio_unmap_volume_before_deletion = false | ||
1718 | |||
1719 | # Storage Pools. (string value) | ||
1720 | #sio_storage_pools = <None> | ||
1721 | |||
1722 | # DEPRECATED: Protection Domain ID. (string value) | ||
1723 | # This option is deprecated for removal since Pike. | ||
1724 | # Its value may be silently ignored in the future. | ||
1725 | # Reason: Replaced by sio_storage_pools option | ||
1726 | #sio_protection_domain_id = <None> | ||
1727 | |||
1728 | # DEPRECATED: Protection Domain name. (string value) | ||
1729 | # This option is deprecated for removal since Pike. | ||
1730 | # Its value may be silently ignored in the future. | ||
1731 | # Reason: Replaced by sio_storage_pools option | ||
1732 | #sio_protection_domain_name = <None> | ||
1733 | |||
1734 | # DEPRECATED: Storage Pool name. (string value) | ||
1735 | # This option is deprecated for removal since Pike. | ||
1736 | # Its value may be silently ignored in the future. | ||
1737 | # Reason: Replaced by sio_storage_pools option | ||
1738 | #sio_storage_pool_name = <None> | ||
1739 | |||
1740 | # DEPRECATED: Storage Pool ID. (string value) | ||
1741 | # This option is deprecated for removal since Pike. | ||
1742 | # Its value may be silently ignored in the future. | ||
1743 | # Reason: Replaced by sio_storage_pools option | ||
1744 | #sio_storage_pool_id = <None> | ||
1745 | |||
1746 | # ScaleIO API version. (string value) | ||
1747 | #sio_server_api_version = <None> | ||
1748 | |||
1749 | # max_over_subscription_ratio setting for the ScaleIO driver. This replaces the | ||
1750 | # general max_over_subscription_ratio which has no effect in this | ||
1751 | # driver.Maximum value allowed for ScaleIO is 10.0. (floating point value) | ||
1752 | #sio_max_over_subscription_ratio = 10.0 | ||
1753 | |||
1754 | # A comma-separated list of storage pool names to be used. (list value) | ||
1755 | #unity_storage_pool_names = <None> | ||
1756 | |||
1757 | # A comma-separated list of iSCSI or FC ports to be used. Each port can be | ||
1758 | # Unix-style glob expressions. (list value) | ||
1759 | #unity_io_ports = <None> | ||
1760 | |||
1761 | # Use this file for cinder emc plugin config data. (string value) | ||
1762 | #cinder_dell_emc_config_file = /etc/cinder/cinder_dell_emc_config.xml | ||
1763 | |||
1764 | # Use this value to specify length of the interval in seconds. (string value) | ||
1765 | #interval = 3 | ||
461 | 1766 | ||
462 | # Default publisher_id for outgoing notifications (string | 1767 | # Use this value to specify number of retries. (string value) |
1768 | #retries = 200 | ||
1769 | |||
1770 | # Use this value to enable the initiator_check. (boolean value) | ||
1771 | #initiator_check = false | ||
1772 | |||
1773 | # VNX authentication scope type. By default, the value is global. (string | ||
463 | # value) | 1774 | # value) |
464 | #default_publisher_id=$host | 1775 | #storage_vnx_authentication_type = global |
465 | 1776 | ||
1777 | # Directory path that contains the VNX security file. Make sure the security | ||
1778 | # file is generated first. (string value) | ||
1779 | #storage_vnx_security_file_dir = <None> | ||
466 | 1780 | ||
467 | # | 1781 | # Naviseccli Path. (string value) |
468 | # Options defined in cinder.openstack.common.notifier.rabbit_notifier | 1782 | #naviseccli_path = <None> |
469 | # | ||
470 | 1783 | ||
471 | # AMQP topic used for openstack notifications (list value) | 1784 | # Comma-separated list of storage pool names to be used. (list value) |
472 | #notification_topics=notifications | 1785 | #storage_vnx_pool_names = <None> |
473 | 1786 | ||
1787 | # Default timeout for CLI operations in minutes. For example, LUN migration is | ||
1788 | # a typical long running operation, which depends on the LUN size and the load | ||
1789 | # of the array. An upper bound in the specific deployment can be set to avoid | ||
1790 | # unnecessary long wait. By default, it is 365 days long. (integer value) | ||
1791 | #default_timeout = 31536000 | ||
474 | 1792 | ||
475 | # | 1793 | # Default max number of LUNs in a storage group. By default, the value is 255. |
476 | # Options defined in cinder.openstack.common.rpc | 1794 | # (integer value) |
477 | # | 1795 | #max_luns_per_storage_group = 255 |
1796 | |||
1797 | # To destroy storage group when the last LUN is removed from it. By default, | ||
1798 | # the value is False. (boolean value) | ||
1799 | #destroy_empty_storage_group = false | ||
478 | 1800 | ||
479 | # The messaging module to use, defaults to kombu. (string | 1801 | # Mapping between hostname and its iSCSI initiator IP addresses. (string value) |
1802 | #iscsi_initiators = <None> | ||
1803 | |||
1804 | # Comma separated iSCSI or FC ports to be used in Nova or Cinder. (list value) | ||
1805 | #io_port_list = <None> | ||
1806 | |||
1807 | # Automatically register initiators. By default, the value is False. (boolean | ||
480 | # value) | 1808 | # value) |
481 | #rpc_backend=cinder.openstack.common.rpc.impl_kombu | 1809 | #initiator_auto_registration = false |
1810 | |||
1811 | # Automatically deregister initiators after the related storage group is | ||
1812 | # destroyed. By default, the value is False. (boolean value) | ||
1813 | #initiator_auto_deregistration = false | ||
1814 | |||
1815 | # Report free_capacity_gb as 0 when the limit to maximum number of pool LUNs is | ||
1816 | # reached. By default, the value is False. (boolean value) | ||
1817 | #check_max_pool_luns_threshold = false | ||
1818 | |||
1819 | # Delete a LUN even if it is in Storage Groups. By default, the value is False. | ||
1820 | # (boolean value) | ||
1821 | #force_delete_lun_in_storagegroup = false | ||
1822 | |||
1823 | # Force LUN creation even if the full threshold of pool is reached. By default, | ||
1824 | # the value is False. (boolean value) | ||
1825 | #ignore_pool_full_threshold = false | ||
1826 | |||
1827 | # XMS cluster id in multi-cluster environment (string value) | ||
1828 | #xtremio_cluster_name = | ||
1829 | |||
1830 | # Number of retries in case array is busy (integer value) | ||
1831 | #xtremio_array_busy_retry_count = 5 | ||
1832 | |||
1833 | # Interval between retries in case array is busy (integer value) | ||
1834 | #xtremio_array_busy_retry_interval = 5 | ||
1835 | |||
1836 | # Number of volumes created from each cached glance image (integer value) | ||
1837 | #xtremio_volumes_per_glance_cache = 100 | ||
1838 | |||
1839 | # The IP of DMS client socket server (IP address value) | ||
1840 | #disco_client = 127.0.0.1 | ||
1841 | |||
1842 | # The port to connect DMS client socket server (port value) | ||
1843 | # Minimum value: 0 | ||
1844 | # Maximum value: 65535 | ||
1845 | #disco_client_port = 9898 | ||
1846 | |||
1847 | # DEPRECATED: Path to the wsdl file to communicate with DISCO request manager | ||
1848 | # (string value) | ||
1849 | # This option is deprecated for removal. | ||
1850 | # Its value may be silently ignored in the future. | ||
1851 | #disco_wsdl_path = /etc/cinder/DISCOService.wsdl | ||
1852 | |||
1853 | # The IP address of the REST server (IP address value) | ||
1854 | # Deprecated group/name - [DEFAULT]/rest_ip | ||
1855 | #disco_rest_ip = <None> | ||
1856 | |||
1857 | # Use soap client or rest client for communicating with DISCO. Possible values | ||
1858 | # are "soap" or "rest". (string value) | ||
1859 | # Allowed values: soap, rest | ||
1860 | # Deprecated group/name - [DEFAULT]/choice_client | ||
1861 | #disco_choice_client = <None> | ||
1862 | |||
1863 | # The port of DISCO source API (port value) | ||
1864 | # Minimum value: 0 | ||
1865 | # Maximum value: 65535 | ||
1866 | #disco_src_api_port = 8080 | ||
1867 | |||
1868 | # Prefix before volume name to differentiate DISCO volume created through | ||
1869 | # openstack and the other ones (string value) | ||
1870 | # Deprecated group/name - [backend_defaults]/volume_name_prefix | ||
1871 | #disco_volume_name_prefix = openstack- | ||
1872 | |||
1873 | # How long we check whether a snapshot is finished before we give up (integer | ||
1874 | # value) | ||
1875 | # Deprecated group/name - [backend_defaults]/snapshot_check_timeout | ||
1876 | #disco_snapshot_check_timeout = 3600 | ||
1877 | |||
1878 | # How long we check whether a restore is finished before we give up (integer | ||
1879 | # value) | ||
1880 | # Deprecated group/name - [backend_defaults]/restore_check_timeout | ||
1881 | #disco_restore_check_timeout = 3600 | ||
1882 | |||
1883 | # How long we check whether a clone is finished before we give up (integer | ||
1884 | # value) | ||
1885 | # Deprecated group/name - [backend_defaults]/clone_check_timeout | ||
1886 | #disco_clone_check_timeout = 3600 | ||
1887 | |||
1888 | # How long we wait before retrying to get an item detail (integer value) | ||
1889 | # Deprecated group/name - [backend_defaults]/retry_interval | ||
1890 | #disco_retry_interval = 1 | ||
1891 | |||
1892 | # Number of nodes that should replicate the data. (integer value) | ||
1893 | #drbdmanage_redundancy = 1 | ||
1894 | |||
1895 | # Resource deployment completion wait policy. (string value) | ||
1896 | #drbdmanage_resource_policy = {"ratio": "0.51", "timeout": "60"} | ||
482 | 1897 | ||
483 | # Size of RPC thread pool (integer value) | 1898 | # Disk options to set on new resources. See http://www.drbd.org/en/doc/users- |
484 | #rpc_thread_pool_size=64 | 1899 | # guide-90/re-drbdconf for all the details. (string value) |
1900 | #drbdmanage_disk_options = {"c-min-rate": "4M"} | ||
485 | 1901 | ||
486 | # Size of RPC connection pool (integer value) | 1902 | # Net options to set on new resources. See http://www.drbd.org/en/doc/users- |
487 | #rpc_conn_pool_size=30 | 1903 | # guide-90/re-drbdconf for all the details. (string value) |
1904 | #drbdmanage_net_options = {"connect-int": "4", "allow-two-primaries": "yes", "ko-count": "30", "max-buffers": "20000", "ping-timeout": "100"} | ||
488 | 1905 | ||
489 | # Seconds to wait for a response from call or multicall | 1906 | # Resource options to set on new resources. See http://www.drbd.org/en/doc |
1907 | # /users-guide-90/re-drbdconf for all the details. (string value) | ||
1908 | #drbdmanage_resource_options = {"auto-promote-timeout": "300"} | ||
1909 | |||
1910 | # Snapshot completion wait policy. (string value) | ||
1911 | #drbdmanage_snapshot_policy = {"count": "1", "timeout": "60"} | ||
1912 | |||
1913 | # Volume resize completion wait policy. (string value) | ||
1914 | #drbdmanage_resize_policy = {"timeout": "60"} | ||
1915 | |||
1916 | # Resource deployment completion wait plugin. (string value) | ||
1917 | #drbdmanage_resource_plugin = drbdmanage.plugins.plugins.wait_for.WaitForResource | ||
1918 | |||
1919 | # Snapshot completion wait plugin. (string value) | ||
1920 | #drbdmanage_snapshot_plugin = drbdmanage.plugins.plugins.wait_for.WaitForSnapshot | ||
1921 | |||
1922 | # Volume resize completion wait plugin. (string value) | ||
1923 | #drbdmanage_resize_plugin = drbdmanage.plugins.plugins.wait_for.WaitForVolumeSize | ||
1924 | |||
1925 | # If set, the c-vol node will receive a useable | ||
1926 | # /dev/drbdX device, even if the actual data is stored on | ||
1927 | # other nodes only. | ||
1928 | # This is useful for debugging, maintenance, and to be | ||
1929 | # able to do the iSCSI export from the c-vol node. (boolean | ||
1930 | # value) | ||
1931 | #drbdmanage_devs_on_controller = true | ||
1932 | |||
1933 | # DEPRECATED: FSS pool id in which FalconStor volumes are stored. (integer | ||
1934 | # value) | ||
1935 | #fss_pool = | ||
1936 | |||
1937 | # FSS pool id list in which FalconStor volumes are stored. If you have only one | ||
1938 | # pool, use A:<pool-id>. You can also have up to two storage pools, P for | ||
1939 | # primary and O for all supporting devices. The usage is P:<primary-pool-id>,O | ||
1940 | # :<others-pool-id> (dict value) | ||
1941 | # Deprecated group/name - [backend_defaults]/fss_pool | ||
1942 | #fss_pools = | ||
1943 | |||
1944 | # Specifies FSS secondary management IP to be used if san_ip is invalid or | ||
1945 | # becomes inaccessible. (string value) | ||
1946 | #fss_san_secondary_ip = | ||
1947 | |||
1948 | # Enable HTTP debugging to FSS (boolean value) | ||
1949 | #fss_debug = false | ||
1950 | |||
1951 | # FSS additional retry list, separate by ; (string value) | ||
1952 | #additional_retry_list = | ||
1953 | |||
1954 | # config file for cinder eternus_dx volume driver (string value) | ||
1955 | #cinder_eternus_config_file = /etc/cinder/cinder_fujitsu_eternus_dx.xml | ||
1956 | |||
1957 | # The flag of thin storage allocation. (boolean value) | ||
1958 | #dsware_isthin = false | ||
1959 | |||
1960 | # Fusionstorage manager ip addr for cinder-volume. (string value) | ||
1961 | #dsware_manager = | ||
1962 | |||
1963 | # Fusionstorage agent ip addr range. (string value) | ||
1964 | #fusionstorageagent = | ||
1965 | |||
1966 | # Pool type, like sata-2copy. (string value) | ||
1967 | #pool_type = default | ||
1968 | |||
1969 | # Pool id permit to use. (list value) | ||
1970 | #pool_id_filter = | ||
1971 | |||
1972 | # Create clone volume timeout. (integer value) | ||
1973 | #clone_volume_timeout = 680 | ||
1974 | |||
1975 | # Space network name to use for data transfer (string value) | ||
1976 | #hgst_net = Net 1 (IPv4) | ||
1977 | |||
1978 | # Comma separated list of Space storage servers:devices. ex: | ||
1979 | # os1_stor:gbd0,os2_stor:gbd0 (string value) | ||
1980 | #hgst_storage_servers = os:gbd0 | ||
1981 | |||
1982 | # Should spaces be redundantly stored (1/0) (string value) | ||
1983 | #hgst_redundancy = 0 | ||
1984 | |||
1985 | # User to own created spaces (string value) | ||
1986 | #hgst_space_user = root | ||
1987 | |||
1988 | # Group to own created spaces (string value) | ||
1989 | #hgst_space_group = disk | ||
1990 | |||
1991 | # UNIX mode for created spaces (string value) | ||
1992 | #hgst_space_mode = 0600 | ||
1993 | |||
1994 | # Serial number of storage system (string value) | ||
1995 | #hitachi_serial_number = <None> | ||
1996 | |||
1997 | # Name of an array unit (string value) | ||
1998 | #hitachi_unit_name = <None> | ||
1999 | |||
2000 | # Pool ID of storage system (integer value) | ||
2001 | #hitachi_pool_id = <None> | ||
2002 | |||
2003 | # Thin pool ID of storage system (integer value) | ||
2004 | #hitachi_thin_pool_id = <None> | ||
2005 | |||
2006 | # Range of logical device of storage system (string value) | ||
2007 | #hitachi_ldev_range = <None> | ||
2008 | |||
2009 | # Default copy method of storage system (string value) | ||
2010 | #hitachi_default_copy_method = FULL | ||
2011 | |||
2012 | # Copy speed of storage system (integer value) | ||
2013 | #hitachi_copy_speed = 3 | ||
2014 | |||
2015 | # Interval to check copy (integer value) | ||
2016 | #hitachi_copy_check_interval = 3 | ||
2017 | |||
2018 | # Interval to check copy asynchronously (integer value) | ||
2019 | #hitachi_async_copy_check_interval = 10 | ||
2020 | |||
2021 | # Control port names for HostGroup or iSCSI Target (string value) | ||
2022 | #hitachi_target_ports = <None> | ||
2023 | |||
2024 | # Range of group number (string value) | ||
2025 | #hitachi_group_range = <None> | ||
2026 | |||
2027 | # Request for creating HostGroup or iSCSI Target (boolean value) | ||
2028 | #hitachi_group_request = false | ||
2029 | |||
2030 | # Request for FC Zone creating HostGroup (boolean value) | ||
2031 | #hitachi_zoning_request = false | ||
2032 | |||
2033 | # Instance numbers for HORCM (string value) | ||
2034 | #hitachi_horcm_numbers = 200,201 | ||
2035 | |||
2036 | # Username of storage system for HORCM (string value) | ||
2037 | #hitachi_horcm_user = <None> | ||
2038 | |||
2039 | # Password of storage system for HORCM (string value) | ||
2040 | #hitachi_horcm_password = <None> | ||
2041 | |||
2042 | # Add to HORCM configuration (boolean value) | ||
2043 | #hitachi_horcm_add_conf = true | ||
2044 | |||
2045 | # Timeout until a resource lock is released, in seconds. The value must be | ||
2046 | # between 0 and 7200. (integer value) | ||
2047 | #hitachi_horcm_resource_lock_timeout = 600 | ||
2048 | |||
2049 | # Add CHAP user (boolean value) | ||
2050 | #hitachi_add_chap_user = false | ||
2051 | |||
2052 | # iSCSI authentication method (string value) | ||
2053 | #hitachi_auth_method = <None> | ||
2054 | |||
2055 | # iSCSI authentication username (string value) | ||
2056 | #hitachi_auth_user = HBSD-CHAP-user | ||
2057 | |||
2058 | # iSCSI authentication password (string value) | ||
2059 | #hitachi_auth_password = HBSD-CHAP-password | ||
2060 | |||
2061 | # DEPRECATED: Legacy configuration file for HNAS NFS Cinder plugin. This is not | ||
2062 | # needed if you fill all configuration on cinder.conf (string value) | ||
2063 | # This option is deprecated for removal. | ||
2064 | # Its value may be silently ignored in the future. | ||
2065 | #hds_hnas_nfs_config_file = /opt/hds/hnas/cinder_nfs_conf.xml | ||
2066 | |||
2067 | # Management IP address of HNAS. This can be any IP in the admin address on | ||
2068 | # HNAS or the SMU IP. (IP address value) | ||
2069 | #hnas_mgmt_ip0 = <None> | ||
2070 | |||
2071 | # Command to communicate to HNAS. (string value) | ||
2072 | #hnas_ssc_cmd = ssc | ||
2073 | |||
2074 | # HNAS username. (string value) | ||
2075 | #hnas_username = <None> | ||
2076 | |||
2077 | # HNAS password. (string value) | ||
2078 | #hnas_password = <None> | ||
2079 | |||
2080 | # Port to be used for SSH authentication. (port value) | ||
2081 | # Minimum value: 0 | ||
2082 | # Maximum value: 65535 | ||
2083 | #hnas_ssh_port = 22 | ||
2084 | |||
2085 | # Path to the SSH private key used to authenticate in HNAS SMU. (string value) | ||
2086 | #hnas_ssh_private_key = <None> | ||
2087 | |||
2088 | # The IP of the HNAS cluster admin. Required only for HNAS multi-cluster | ||
2089 | # setups. (string value) | ||
2090 | #hnas_cluster_admin_ip0 = <None> | ||
2091 | |||
2092 | # Service 0 pool name (string value) | ||
2093 | # Deprecated group/name - [backend_defaults]/hnas_svc0_volume_type | ||
2094 | #hnas_svc0_pool_name = <None> | ||
2095 | |||
2096 | # Service 0 HDP (string value) | ||
2097 | #hnas_svc0_hdp = <None> | ||
2098 | |||
2099 | # Service 1 pool name (string value) | ||
2100 | # Deprecated group/name - [backend_defaults]/hnas_svc1_volume_type | ||
2101 | #hnas_svc1_pool_name = <None> | ||
2102 | |||
2103 | # Service 1 HDP (string value) | ||
2104 | #hnas_svc1_hdp = <None> | ||
2105 | |||
2106 | # Service 2 pool name (string value) | ||
2107 | # Deprecated group/name - [backend_defaults]/hnas_svc2_volume_type | ||
2108 | #hnas_svc2_pool_name = <None> | ||
2109 | |||
2110 | # Service 2 HDP (string value) | ||
2111 | #hnas_svc2_hdp = <None> | ||
2112 | |||
2113 | # Service 3 pool name: (string value) | ||
2114 | # Deprecated group/name - [backend_defaults]/hnas_svc3_volume_type | ||
2115 | #hnas_svc3_pool_name = <None> | ||
2116 | |||
2117 | # Service 3 HDP (string value) | ||
2118 | #hnas_svc3_hdp = <None> | ||
2119 | |||
2120 | # Product number of the storage system. (string value) | ||
2121 | #vsp_storage_id = <None> | ||
2122 | |||
2123 | # Pool number or pool name of the DP pool. (string value) | ||
2124 | #vsp_pool = <None> | ||
2125 | |||
2126 | # Pool number or pool name of the Thin Image pool. (string value) | ||
2127 | #vsp_thin_pool = <None> | ||
2128 | |||
2129 | # Range of the LDEV numbers in the format of 'xxxx-yyyy' that can be used by | ||
2130 | # the driver. Values can be in decimal format (e.g. 1000) or in colon-separated | ||
2131 | # hexadecimal format (e.g. 00:03:E8). (string value) | ||
2132 | #vsp_ldev_range = <None> | ||
2133 | |||
2134 | # Method of volume copy. FULL indicates full data copy by Shadow Image and THIN | ||
2135 | # indicates differential data copy by Thin Image. (string value) | ||
2136 | # Allowed values: FULL, THIN | ||
2137 | #vsp_default_copy_method = FULL | ||
2138 | |||
2139 | # Speed at which data is copied by Shadow Image. 1 or 2 indicates low speed, 3 | ||
2140 | # indicates middle speed, and a value between 4 and 15 indicates high speed. | ||
490 | # (integer value) | 2141 | # (integer value) |
491 | #rpc_response_timeout=60 | 2142 | # Minimum value: 1 |
2143 | # Maximum value: 15 | ||
2144 | #vsp_copy_speed = 3 | ||
2145 | |||
2146 | # Interval in seconds at which volume pair synchronization status is checked | ||
2147 | # when volume pairs are created. (integer value) | ||
2148 | # Minimum value: 1 | ||
2149 | # Maximum value: 600 | ||
2150 | #vsp_copy_check_interval = 3 | ||
2151 | |||
2152 | # Interval in seconds at which volume pair synchronization status is checked | ||
2153 | # when volume pairs are deleted. (integer value) | ||
2154 | # Minimum value: 1 | ||
2155 | # Maximum value: 600 | ||
2156 | #vsp_async_copy_check_interval = 10 | ||
2157 | |||
2158 | # IDs of the storage ports used to attach volumes to the controller node. To | ||
2159 | # specify multiple ports, connect them by commas (e.g. CL1-A,CL2-A). (list | ||
2160 | # value) | ||
2161 | #vsp_target_ports = <None> | ||
492 | 2162 | ||
493 | # Seconds to wait before a cast expires (TTL). Only supported | 2163 | # IDs of the storage ports used to attach volumes to compute nodes. To specify |
494 | # by impl_zmq. (integer value) | 2164 | # multiple ports, connect them by commas (e.g. CL1-A,CL2-A). (list value) |
495 | #rpc_cast_timeout=30 | 2165 | #vsp_compute_target_ports = <None> |
496 | 2166 | ||
497 | # Modules of exceptions that are permitted to be recreatedupon | 2167 | # If True, the driver will create host groups or iSCSI targets on storage ports |
498 | # receiving exception data from an rpc call. (list value) | 2168 | # as needed. (boolean value) |
499 | #allowed_rpc_exception_modules=cinder.openstack.common.exception,nova.exception,cinder.exception | 2169 | #vsp_group_request = false |
500 | 2170 | ||
501 | # If passed, use a fake RabbitMQ provider (boolean value) | 2171 | # If True, the driver will configure FC zoning between the server and the |
502 | #fake_rabbit=false | 2172 | # storage system provided that FC zoning manager is enabled. (boolean value) |
2173 | #vsp_zoning_request = false | ||
503 | 2174 | ||
2175 | # Command Control Interface instance numbers in the format of 'xxx,yyy'. The | ||
2176 | # second one is for Shadow Image operation and the first one is for other | ||
2177 | # purposes. (list value) | ||
2178 | #vsp_horcm_numbers = 200,201 | ||
504 | 2179 | ||
505 | # | 2180 | # Name of the user on the storage system. (string value) |
506 | # Options defined in cinder.openstack.common.rpc.impl_kombu | 2181 | #vsp_horcm_user = <None> |
507 | # | 2182 | |
2183 | # Password corresponding to vsp_horcm_user. (string value) | ||
2184 | #vsp_horcm_password = <None> | ||
2185 | |||
2186 | # If True, the driver will create or update the Command Control Interface | ||
2187 | # configuration file as needed. (boolean value) | ||
2188 | #vsp_horcm_add_conf = true | ||
508 | 2189 | ||
509 | # SSL version to use (valid only if SSL enabled) (string | 2190 | # IDs of the storage ports used to copy volumes by Shadow Image or Thin Image. |
2191 | # To specify multiple ports, connect them by commas (e.g. CL1-A,CL2-A). (list | ||
510 | # value) | 2192 | # value) |
511 | #kombu_ssl_version= | 2193 | #vsp_horcm_pair_target_ports = <None> |
512 | 2194 | ||
513 | # SSL key file (valid only if SSL enabled) (string value) | 2195 | # If True, CHAP authentication will be applied to communication between hosts |
514 | #kombu_ssl_keyfile= | 2196 | # and any of the iSCSI targets on the storage ports. (boolean value) |
2197 | #vsp_use_chap_auth = false | ||
515 | 2198 | ||
516 | # SSL cert file (valid only if SSL enabled) (string value) | 2199 | # Name of the user used for CHAP authentication performed in communication |
517 | #kombu_ssl_certfile= | 2200 | # between hosts and iSCSI targets on the storage ports. (string value) |
2201 | #vsp_auth_user = <None> | ||
518 | 2202 | ||
519 | # SSL certification authority file (valid only if SSL enabled) | 2203 | # Password corresponding to vsp_auth_user. (string value) |
520 | # (string value) | 2204 | #vsp_auth_password = <None> |
521 | #kombu_ssl_ca_certs= | 2205 | |
2206 | # 3PAR WSAPI Server Url like https://<3par ip>:8080/api/v1 (string value) | ||
2207 | # Deprecated group/name - [backend_defaults]/hp3par_api_url | ||
2208 | #hpe3par_api_url = | ||
2209 | |||
2210 | # 3PAR username with the 'edit' role (string value) | ||
2211 | # Deprecated group/name - [backend_defaults]/hp3par_username | ||
2212 | #hpe3par_username = | ||
2213 | |||
2214 | # 3PAR password for the user specified in hpe3par_username (string value) | ||
2215 | # Deprecated group/name - [backend_defaults]/hp3par_password | ||
2216 | #hpe3par_password = | ||
522 | 2217 | ||
523 | # The RabbitMQ broker address where a single node is used | 2218 | # List of the CPG(s) to use for volume creation (list value) |
2219 | # Deprecated group/name - [backend_defaults]/hp3par_cpg | ||
2220 | #hpe3par_cpg = OpenStack | ||
2221 | |||
2222 | # The CPG to use for Snapshots for volumes. If empty the userCPG will be used. | ||
524 | # (string value) | 2223 | # (string value) |
525 | #rabbit_host=localhost | 2224 | # Deprecated group/name - [backend_defaults]/hp3par_cpg_snap |
2225 | #hpe3par_cpg_snap = | ||
526 | 2226 | ||
527 | # The RabbitMQ broker port where a single node is used | 2227 | # The time in hours to retain a snapshot. You can't delete it before this |
528 | # (integer value) | 2228 | # expires. (string value) |
529 | #rabbit_port=5672 | 2229 | # Deprecated group/name - [backend_defaults]/hp3par_snapshot_retention |
2230 | #hpe3par_snapshot_retention = | ||
2231 | |||
2232 | # The time in hours when a snapshot expires and is deleted. This must be | ||
2233 | # larger than expiration (string value) | ||
2234 | # Deprecated group/name - [backend_defaults]/hp3par_snapshot_expiration | ||
2235 | #hpe3par_snapshot_expiration = | ||
2236 | |||
2237 | # Enable HTTP debugging to 3PAR (boolean value) | ||
2238 | # Deprecated group/name - [backend_defaults]/hp3par_debug | ||
2239 | #hpe3par_debug = false | ||
2240 | |||
2241 | # List of target iSCSI addresses to use. (list value) | ||
2242 | # Deprecated group/name - [backend_defaults]/hp3par_iscsi_ips | ||
2243 | #hpe3par_iscsi_ips = | ||
2244 | |||
2245 | # Enable CHAP authentication for iSCSI connections. (boolean value) | ||
2246 | # Deprecated group/name - [backend_defaults]/hp3par_iscsi_chap_enabled | ||
2247 | #hpe3par_iscsi_chap_enabled = false | ||
2248 | |||
2249 | # HPE LeftHand WSAPI Server Url like https://<LeftHand ip>:8081/lhos (uri | ||
2250 | # value) | ||
2251 | # Deprecated group/name - [backend_defaults]/hplefthand_api_url | ||
2252 | #hpelefthand_api_url = <None> | ||
2253 | |||
2254 | # HPE LeftHand Super user username (string value) | ||
2255 | # Deprecated group/name - [backend_defaults]/hplefthand_username | ||
2256 | #hpelefthand_username = <None> | ||
2257 | |||
2258 | # HPE LeftHand Super user password (string value) | ||
2259 | # Deprecated group/name - [backend_defaults]/hplefthand_password | ||
2260 | #hpelefthand_password = <None> | ||
2261 | |||
2262 | # HPE LeftHand cluster name (string value) | ||
2263 | # Deprecated group/name - [backend_defaults]/hplefthand_clustername | ||
2264 | #hpelefthand_clustername = <None> | ||
2265 | |||
2266 | # Configure CHAP authentication for iSCSI connections (Default: Disabled) | ||
2267 | # (boolean value) | ||
2268 | # Deprecated group/name - [backend_defaults]/hplefthand_iscsi_chap_enabled | ||
2269 | #hpelefthand_iscsi_chap_enabled = false | ||
2270 | |||
2271 | # Enable HTTP debugging to LeftHand (boolean value) | ||
2272 | # Deprecated group/name - [backend_defaults]/hplefthand_debug | ||
2273 | #hpelefthand_debug = false | ||
2274 | |||
2275 | # Port number of SSH service. (port value) | ||
2276 | # Minimum value: 0 | ||
2277 | # Maximum value: 65535 | ||
2278 | #hpelefthand_ssh_port = 16022 | ||
2279 | |||
2280 | # The configuration file for the Cinder Huawei driver. (string value) | ||
2281 | #cinder_huawei_conf_file = /etc/cinder/cinder_huawei_conf.xml | ||
530 | 2282 | ||
531 | # RabbitMQ HA cluster host:port pairs (list value) | 2283 | # The remote device hypermetro will use. (string value) |
532 | #rabbit_hosts=$rabbit_host:$rabbit_port | 2284 | #hypermetro_devices = <None> |
533 | 2285 | ||
534 | # connect over SSL for RabbitMQ (boolean value) | 2286 | # The remote metro device san user. (string value) |
535 | #rabbit_use_ssl=false | 2287 | #metro_san_user = <None> |
536 | 2288 | ||
537 | # the RabbitMQ userid (string value) | 2289 | # The remote metro device san password. (string value) |
538 | #rabbit_userid=guest | 2290 | #metro_san_password = <None> |
539 | 2291 | ||
540 | # the RabbitMQ password (string value) | 2292 | # The remote metro device domain name. (string value) |
541 | #rabbit_password=guest | 2293 | #metro_domain_name = <None> |
542 | 2294 | ||
543 | # the RabbitMQ virtual host (string value) | 2295 | # The remote metro device request url. (string value) |
544 | #rabbit_virtual_host=/ | 2296 | #metro_san_address = <None> |
545 | 2297 | ||
546 | # how frequently to retry connecting with RabbitMQ (integer | 2298 | # The remote metro device pool names. (string value) |
2299 | #metro_storage_pools = <None> | ||
2300 | |||
2301 | # Connection protocol should be FC. (Default is FC.) (string value) | ||
2302 | #flashsystem_connection_protocol = FC | ||
2303 | |||
2304 | # Allows vdisk to multi host mapping. (Default is True) (boolean value) | ||
2305 | #flashsystem_multihostmap_enabled = true | ||
2306 | |||
2307 | # DEPRECATED: This option no longer has any affect. It is deprecated and will | ||
2308 | # be removed in the next release. (boolean value) | ||
2309 | # This option is deprecated for removal. | ||
2310 | # Its value may be silently ignored in the future. | ||
2311 | #flashsystem_multipath_enabled = false | ||
2312 | |||
2313 | # Default iSCSI Port ID of FlashSystem. (Default port is 0.) (integer value) | ||
2314 | #flashsystem_iscsi_portid = 0 | ||
2315 | |||
2316 | # Specifies the path of the GPFS directory where Block Storage volume and | ||
2317 | # snapshot files are stored. (string value) | ||
2318 | #gpfs_mount_point_base = <None> | ||
2319 | |||
2320 | # Specifies the path of the Image service repository in GPFS. Leave undefined | ||
2321 | # if not storing images in GPFS. (string value) | ||
2322 | #gpfs_images_dir = <None> | ||
2323 | |||
2324 | # Specifies the type of image copy to be used. Set this when the Image service | ||
2325 | # repository also uses GPFS so that image files can be transferred efficiently | ||
2326 | # from the Image service to the Block Storage service. There are two valid | ||
2327 | # values: "copy" specifies that a full copy of the image is made; | ||
2328 | # "copy_on_write" specifies that copy-on-write optimization strategy is used | ||
2329 | # and unmodified blocks of the image file are shared efficiently. (string | ||
547 | # value) | 2330 | # value) |
548 | #rabbit_retry_interval=1 | 2331 | # Allowed values: copy, copy_on_write, <None> |
2332 | #gpfs_images_share_mode = <None> | ||
2333 | |||
2334 | # Specifies an upper limit on the number of indirections required to reach a | ||
2335 | # specific block due to snapshots or clones. A lengthy chain of copy-on-write | ||
2336 | # snapshots or clones can have a negative impact on performance, but improves | ||
2337 | # space utilization. 0 indicates unlimited clone depth. (integer value) | ||
2338 | #gpfs_max_clone_depth = 0 | ||
2339 | |||
2340 | # Specifies that volumes are created as sparse files which initially consume no | ||
2341 | # space. If set to False, the volume is created as a fully allocated file, in | ||
2342 | # which case, creation may take a significantly longer time. (boolean value) | ||
2343 | #gpfs_sparse_volumes = true | ||
2344 | |||
2345 | # Specifies the storage pool that volumes are assigned to. By default, the | ||
2346 | # system storage pool is used. (string value) | ||
2347 | #gpfs_storage_pool = system | ||
2348 | |||
2349 | # Comma-separated list of IP address or hostnames of GPFS nodes. (list value) | ||
2350 | #gpfs_hosts = | ||
2351 | |||
2352 | # Username for GPFS nodes. (string value) | ||
2353 | #gpfs_user_login = root | ||
2354 | |||
2355 | # Password for GPFS node user. (string value) | ||
2356 | #gpfs_user_password = | ||
2357 | |||
2358 | # Filename of private key to use for SSH authentication. (string value) | ||
2359 | #gpfs_private_key = | ||
2360 | |||
2361 | # SSH port to use. (port value) | ||
2362 | # Minimum value: 0 | ||
2363 | # Maximum value: 65535 | ||
2364 | #gpfs_ssh_port = 22 | ||
2365 | |||
2366 | # File containing SSH host keys for the gpfs nodes with which driver needs to | ||
2367 | # communicate. Default=$state_path/ssh_known_hosts (string value) | ||
2368 | #gpfs_hosts_key_file = $state_path/ssh_known_hosts | ||
549 | 2369 | ||
550 | # how long to backoff for between retries when connecting to | 2370 | # Option to enable strict gpfs host key checking while connecting to gpfs |
551 | # RabbitMQ (integer value) | 2371 | # nodes. Default=False (boolean value) |
552 | #rabbit_retry_backoff=2 | 2372 | #gpfs_strict_host_key_policy = false |
553 | 2373 | ||
554 | # maximum retries with trying to connect to RabbitMQ (the | 2374 | # Mapping between IODevice address and unit address. (string value) |
555 | # default of 0 implies an infinite retry count) (integer | 2375 | #ds8k_devadd_unitadd_mapping = |
2376 | |||
2377 | # Set the first two digits of SSID. (string value) | ||
2378 | #ds8k_ssid_prefix = FF | ||
2379 | |||
2380 | # Reserve LSSs for consistency group. (string value) | ||
2381 | #lss_range_for_cg = | ||
2382 | |||
2383 | # Set to zLinux if your OpenStack version is prior to Liberty and you're | ||
2384 | # connecting to zLinux systems. Otherwise set to auto. Valid values for this | ||
2385 | # parameter are: 'auto', 'AMDLinuxRHEL', 'AMDLinuxSuse', 'AppleOSX', 'Fujitsu', | ||
2386 | # 'Hp', 'HpTru64', 'HpVms', 'LinuxDT', 'LinuxRF', 'LinuxRHEL', 'LinuxSuse', | ||
2387 | # 'Novell', 'SGI', 'SVC', 'SanFsAIX', 'SanFsLinux', 'Sun', 'VMWare', 'Win2000', | ||
2388 | # 'Win2003', 'Win2008', 'Win2012', 'iLinux', 'nSeries', 'pLinux', 'pSeries', | ||
2389 | # 'pSeriesPowerswap', 'zLinux', 'iSeries'. (string value) | ||
2390 | #ds8k_host_type = auto | ||
2391 | |||
2392 | # Proxy driver that connects to the IBM Storage Array (string value) | ||
2393 | #proxy = cinder.volume.drivers.ibm.ibm_storage.proxy.IBMStorageProxy | ||
2394 | |||
2395 | # Connection type to the IBM Storage Array (string value) | ||
2396 | # Allowed values: fibre_channel, iscsi | ||
2397 | #connection_type = iscsi | ||
2398 | |||
2399 | # CHAP authentication mode, effective only for iscsi (disabled|enabled) (string | ||
556 | # value) | 2400 | # value) |
557 | #rabbit_max_retries=0 | 2401 | # Allowed values: disabled, enabled |
2402 | #chap = disabled | ||
558 | 2403 | ||
559 | # use durable queues in RabbitMQ (boolean value) | 2404 | # List of Management IP addresses (separated by commas) (string value) |
560 | #rabbit_durable_queues=false | 2405 | #management_ips = |
561 | 2406 | ||
562 | # use H/A queues in RabbitMQ (x-ha-policy: all).You need to | 2407 | # Comma separated list of storage system storage pools for volumes. (list |
563 | # wipe RabbitMQ database when changing this option. (boolean | ||
564 | # value) | 2408 | # value) |
565 | #rabbit_ha_queues=false | 2409 | #storwize_svc_volpool_name = volpool |
566 | 2410 | ||
2411 | # Storage system space-efficiency parameter for volumes (percentage) (integer | ||
2412 | # value) | ||
2413 | # Minimum value: -1 | ||
2414 | # Maximum value: 100 | ||
2415 | #storwize_svc_vol_rsize = 2 | ||
567 | 2416 | ||
568 | # | 2417 | # Storage system threshold for volume capacity warnings (percentage) (integer |
569 | # Options defined in cinder.openstack.common.rpc.impl_qpid | 2418 | # value) |
570 | # | 2419 | # Minimum value: -1 |
2420 | # Maximum value: 100 | ||
2421 | #storwize_svc_vol_warning = 0 | ||
571 | 2422 | ||
572 | # Qpid broker hostname (string value) | 2423 | # Storage system autoexpand parameter for volumes (True/False) (boolean value) |
573 | #qpid_hostname=localhost | 2424 | #storwize_svc_vol_autoexpand = true |
574 | 2425 | ||
575 | # Qpid broker port (string value) | 2426 | # Storage system grain size parameter for volumes (32/64/128/256) (integer |
576 | #qpid_port=5672 | 2427 | # value) |
2428 | #storwize_svc_vol_grainsize = 256 | ||
577 | 2429 | ||
578 | # Username for qpid connection (string value) | 2430 | # Storage system compression option for volumes (boolean value) |
579 | #qpid_username= | 2431 | #storwize_svc_vol_compression = false |
580 | 2432 | ||
581 | # Password for qpid connection (string value) | 2433 | # Enable Easy Tier for volumes (boolean value) |
582 | #qpid_password= | 2434 | #storwize_svc_vol_easytier = true |
2435 | |||
2436 | # The I/O group in which to allocate volumes. It can be a comma-separated list | ||
2437 | # in which case the driver will select an io_group based on least number of | ||
2438 | # volumes associated with the io_group. (string value) | ||
2439 | #storwize_svc_vol_iogrp = 0 | ||
2440 | |||
2441 | # Maximum number of seconds to wait for FlashCopy to be prepared. (integer | ||
2442 | # value) | ||
2443 | # Minimum value: 1 | ||
2444 | # Maximum value: 600 | ||
2445 | #storwize_svc_flashcopy_timeout = 120 | ||
583 | 2446 | ||
584 | # Space separated list of SASL mechanisms to use for auth | 2447 | # DEPRECATED: This option no longer has any affect. It is deprecated and will |
2448 | # be removed in the next release. (boolean value) | ||
2449 | # This option is deprecated for removal. | ||
2450 | # Its value may be silently ignored in the future. | ||
2451 | #storwize_svc_multihostmap_enabled = true | ||
2452 | |||
2453 | # Allow tenants to specify QOS on create (boolean value) | ||
2454 | #storwize_svc_allow_tenant_qos = false | ||
2455 | |||
2456 | # If operating in stretched cluster mode, specify the name of the pool in which | ||
2457 | # mirrored copies are stored.Example: "pool2" (string value) | ||
2458 | #storwize_svc_stretched_cluster_partner = <None> | ||
2459 | |||
2460 | # Specifies secondary management IP or hostname to be used if san_ip is invalid | ||
2461 | # or becomes inaccessible. (string value) | ||
2462 | #storwize_san_secondary_ip = <None> | ||
2463 | |||
2464 | # Specifies that the volume not be formatted during creation. (boolean value) | ||
2465 | #storwize_svc_vol_nofmtdisk = false | ||
2466 | |||
2467 | # Specifies the Storwize FlashCopy copy rate to be used when creating a full | ||
2468 | # volume copy. The default is rate is 50, and the valid rates are 1-100. | ||
2469 | # (integer value) | ||
2470 | # Minimum value: 1 | ||
2471 | # Maximum value: 100 | ||
2472 | #storwize_svc_flashcopy_rate = 50 | ||
2473 | |||
2474 | # Specifies the name of the pool in which mirrored copy is stored. Example: | ||
2475 | # "pool2" (string value) | ||
2476 | #storwize_svc_mirror_pool = <None> | ||
2477 | |||
2478 | # This defines an optional cycle period that applies to Global Mirror | ||
2479 | # relationships with a cycling mode of multi. A Global Mirror relationship | ||
2480 | # using the multi cycling_mode performs a complete cycle at most once each | ||
2481 | # period. The default is 300 seconds, and the valid seconds are 60-86400. | ||
2482 | # (integer value) | ||
2483 | # Minimum value: 60 | ||
2484 | # Maximum value: 86400 | ||
2485 | #cycle_period_seconds = 300 | ||
2486 | |||
2487 | # Connect with multipath (FC only; iSCSI multipath is controlled by Nova) | ||
2488 | # (boolean value) | ||
2489 | #storwize_svc_multipath_enabled = false | ||
2490 | |||
2491 | # Configure CHAP authentication for iSCSI connections (Default: Enabled) | ||
2492 | # (boolean value) | ||
2493 | #storwize_svc_iscsi_chap_enabled = true | ||
2494 | |||
2495 | # Name of the pool from which volumes are allocated (string value) | ||
2496 | #infinidat_pool_name = <None> | ||
2497 | |||
2498 | # Protocol for transferring data between host and storage back-end. (string | ||
2499 | # value) | ||
2500 | # Allowed values: iscsi, fc | ||
2501 | #infinidat_storage_protocol = fc | ||
2502 | |||
2503 | # List of names of network spaces to use for iSCSI connectivity (list value) | ||
2504 | #infinidat_iscsi_netspaces = | ||
2505 | |||
2506 | # Specifies whether to turn on compression for newly created volumes. (boolean | ||
2507 | # value) | ||
2508 | #infinidat_use_compression = false | ||
2509 | |||
2510 | # Infortrend raid pool name list. It is separated with comma. (string value) | ||
2511 | #infortrend_pools_name = | ||
2512 | |||
2513 | # The Infortrend CLI absolute path. By default, it is at | ||
2514 | # /opt/bin/Infortrend/raidcmd_ESDS10.jar (string value) | ||
2515 | #infortrend_cli_path = /opt/bin/Infortrend/raidcmd_ESDS10.jar | ||
2516 | |||
2517 | # Maximum retry time for cli. Default is 5. (integer value) | ||
2518 | #infortrend_cli_max_retries = 5 | ||
2519 | |||
2520 | # Default timeout for CLI copy operations in minutes. Support: migrate volume, | ||
2521 | # create cloned volume and create volume from snapshot. By Default, it is 30 | ||
2522 | # minutes. (integer value) | ||
2523 | #infortrend_cli_timeout = 30 | ||
2524 | |||
2525 | # Infortrend raid channel ID list on Slot A for OpenStack usage. It is | ||
2526 | # separated with comma. By default, it is the channel 0~7. (string value) | ||
2527 | #infortrend_slots_a_channels_id = 0,1,2,3,4,5,6,7 | ||
2528 | |||
2529 | # Infortrend raid channel ID list on Slot B for OpenStack usage. It is | ||
2530 | # separated with comma. By default, it is the channel 0~7. (string value) | ||
2531 | #infortrend_slots_b_channels_id = 0,1,2,3,4,5,6,7 | ||
2532 | |||
2533 | # Let the volume use specific provisioning. By default, it is the full | ||
2534 | # provisioning. The supported options are full or thin. (string value) | ||
2535 | #infortrend_provisioning = full | ||
2536 | |||
2537 | # Let the volume use specific tiering level. By default, it is the level 0. The | ||
2538 | # supported levels are 0,2,3,4. (string value) | ||
2539 | #infortrend_tiering = 0 | ||
2540 | |||
2541 | # K2 driver will calculate max_oversubscription_ratio on setting this option as | ||
2542 | # True. (boolean value) | ||
2543 | #auto_calc_max_oversubscription_ratio = false | ||
2544 | |||
2545 | # Disabling iSCSI discovery (sendtargets) for multipath connections on K2 | ||
2546 | # driver. (boolean value) | ||
2547 | #disable_discovery = false | ||
2548 | |||
2549 | # Whether or not our private network has unique FQDN on each initiator or not. | ||
2550 | # For example networks with QA systems usually have multiple servers/VMs with | ||
2551 | # the same FQDN. When true this will create host entries on K2 using the FQDN, | ||
2552 | # when false it will use the reversed IQN/WWNN. (boolean value) | ||
2553 | #unique_fqdn_network = true | ||
2554 | |||
2555 | # Pool or Vdisk name to use for volume creation. (string value) | ||
2556 | #lenovo_backend_name = A | ||
2557 | |||
2558 | # linear (for VDisk) or virtual (for Pool). (string value) | ||
2559 | # Allowed values: linear, virtual | ||
2560 | #lenovo_backend_type = virtual | ||
2561 | |||
2562 | # Lenovo api interface protocol. (string value) | ||
2563 | # Allowed values: http, https | ||
2564 | #lenovo_api_protocol = https | ||
2565 | |||
2566 | # Whether to verify Lenovo array SSL certificate. (boolean value) | ||
2567 | #lenovo_verify_certificate = false | ||
2568 | |||
2569 | # Lenovo array SSL certificate path. (string value) | ||
2570 | #lenovo_verify_certificate_path = <None> | ||
2571 | |||
2572 | # List of comma-separated target iSCSI IP addresses. (list value) | ||
2573 | #lenovo_iscsi_ips = | ||
2574 | |||
2575 | # Name for the VG that will contain exported volumes (string value) | ||
2576 | #volume_group = cinder-volumes | ||
2577 | |||
2578 | # If >0, create LVs with multiple mirrors. Note that this requires lvm_mirrors | ||
2579 | # + 2 PVs with available space (integer value) | ||
2580 | #lvm_mirrors = 0 | ||
2581 | |||
2582 | # Type of LVM volumes to deploy; (default, thin, or auto). Auto defaults to | ||
2583 | # thin if thin is supported. (string value) | ||
2584 | # Allowed values: default, thin, auto | ||
2585 | #lvm_type = auto | ||
2586 | |||
2587 | # LVM conf file to use for the LVM driver in Cinder; this setting is ignored if | ||
2588 | # the specified file does not exist (You can also specify 'None' to not use a | ||
2589 | # conf file even if one exists). (string value) | ||
2590 | #lvm_conf_file = /etc/cinder/lvm.conf | ||
2591 | |||
2592 | # max_over_subscription_ratio setting for the LVM driver. This takes precedence | ||
2593 | # over the general max_over_subscription_ratio by default. If set to None, the | ||
2594 | # general max_over_subscription_ratio is used. (floating point value) | ||
2595 | #lvm_max_over_subscription_ratio = 1.0 | ||
2596 | |||
2597 | # Suppress leaked file descriptor warnings in LVM commands. (boolean value) | ||
2598 | #lvm_suppress_fd_warnings = false | ||
2599 | |||
2600 | # The storage family type used on the storage system; valid values are | ||
2601 | # ontap_7mode for using Data ONTAP operating in 7-Mode, ontap_cluster for using | ||
2602 | # clustered Data ONTAP, or eseries for using E-Series. (string value) | ||
2603 | # Allowed values: ontap_7mode, ontap_cluster, eseries | ||
2604 | #netapp_storage_family = ontap_cluster | ||
2605 | |||
2606 | # The storage protocol to be used on the data path with the storage system. | ||
585 | # (string value) | 2607 | # (string value) |
586 | #qpid_sasl_mechanisms= | 2608 | # Allowed values: iscsi, fc, nfs |
2609 | #netapp_storage_protocol = <None> | ||
2610 | |||
2611 | # The hostname (or IP address) for the storage system or proxy server. (string | ||
2612 | # value) | ||
2613 | #netapp_server_hostname = <None> | ||
2614 | |||
2615 | # The TCP port to use for communication with the storage system or proxy | ||
2616 | # server. If not specified, Data ONTAP drivers will use 80 for HTTP and 443 for | ||
2617 | # HTTPS; E-Series will use 8080 for HTTP and 8443 for HTTPS. (integer value) | ||
2618 | #netapp_server_port = <None> | ||
587 | 2619 | ||
588 | # Automatically reconnect (boolean value) | 2620 | # The transport protocol used when communicating with the storage system or |
589 | #qpid_reconnect=true | 2621 | # proxy server. (string value) |
2622 | # Allowed values: http, https | ||
2623 | #netapp_transport_type = http | ||
590 | 2624 | ||
591 | # Reconnection timeout in seconds (integer value) | 2625 | # Administrative user account name used to access the storage system or proxy |
592 | #qpid_reconnect_timeout=0 | 2626 | # server. (string value) |
2627 | #netapp_login = <None> | ||
593 | 2628 | ||
594 | # Max reconnections before giving up (integer value) | 2629 | # Password for the administrative user account specified in the netapp_login |
595 | #qpid_reconnect_limit=0 | 2630 | # option. (string value) |
2631 | #netapp_password = <None> | ||
596 | 2632 | ||
597 | # Minimum seconds between reconnection attempts (integer | 2633 | # This option specifies the virtual storage server (Vserver) name on the |
2634 | # storage cluster on which provisioning of block storage volumes should occur. | ||
2635 | # (string value) | ||
2636 | #netapp_vserver = <None> | ||
2637 | |||
2638 | # The vFiler unit on which provisioning of block storage volumes will be done. | ||
2639 | # This option is only used by the driver when connecting to an instance with a | ||
2640 | # storage family of Data ONTAP operating in 7-Mode. Only use this option when | ||
2641 | # utilizing the MultiStore feature on the NetApp storage system. (string value) | ||
2642 | #netapp_vfiler = <None> | ||
2643 | |||
2644 | # The name of the config.conf stanza for a Data ONTAP (7-mode) HA partner. | ||
2645 | # This option is only used by the driver when connecting to an instance with a | ||
2646 | # storage family of Data ONTAP operating in 7-Mode, and it is required if the | ||
2647 | # storage protocol selected is FC. (string value) | ||
2648 | #netapp_partner_backend_name = <None> | ||
2649 | |||
2650 | # The quantity to be multiplied by the requested volume size to ensure enough | ||
2651 | # space is available on the virtual storage server (Vserver) to fulfill the | ||
2652 | # volume creation request. Note: this option is deprecated and will be removed | ||
2653 | # in favor of "reserved_percentage" in the Mitaka release. (floating point | ||
598 | # value) | 2654 | # value) |
599 | #qpid_reconnect_interval_min=0 | 2655 | #netapp_size_multiplier = 1.2 |
2656 | |||
2657 | # This option determines if storage space is reserved for LUN allocation. If | ||
2658 | # enabled, LUNs are thick provisioned. If space reservation is disabled, | ||
2659 | # storage space is allocated on demand. (string value) | ||
2660 | # Allowed values: enabled, disabled | ||
2661 | #netapp_lun_space_reservation = enabled | ||
600 | 2662 | ||
601 | # Maximum seconds between reconnection attempts (integer | 2663 | # If the percentage of available space for an NFS share has dropped below the |
2664 | # value specified by this option, the NFS image cache will be cleaned. (integer | ||
602 | # value) | 2665 | # value) |
603 | #qpid_reconnect_interval_max=0 | 2666 | #thres_avl_size_perc_start = 20 |
604 | 2667 | ||
605 | # Equivalent to setting max and min to the same value (integer | 2668 | # When the percentage of available space on an NFS share has reached the |
2669 | # percentage specified by this option, the driver will stop clearing files from | ||
2670 | # the NFS image cache that have not been accessed in the last M minutes, where | ||
2671 | # M is the value of the expiry_thres_minutes configuration option. (integer | ||
606 | # value) | 2672 | # value) |
607 | #qpid_reconnect_interval=0 | 2673 | #thres_avl_size_perc_stop = 60 |
2674 | |||
2675 | # This option specifies the threshold for last access time for images in the | ||
2676 | # NFS image cache. When a cache cleaning cycle begins, images in the cache that | ||
2677 | # have not been accessed in the last M minutes, where M is the value of this | ||
2678 | # parameter, will be deleted from the cache to create free space on the NFS | ||
2679 | # share. (integer value) | ||
2680 | #expiry_thres_minutes = 720 | ||
2681 | |||
2682 | # This option is used to specify the path to the E-Series proxy application on | ||
2683 | # a proxy server. The value is combined with the value of the | ||
2684 | # netapp_transport_type, netapp_server_hostname, and netapp_server_port options | ||
2685 | # to create the URL used by the driver to connect to the proxy application. | ||
2686 | # (string value) | ||
2687 | #netapp_webservice_path = /devmgr/v2 | ||
608 | 2688 | ||
609 | # Seconds between connection keepalive heartbeats (integer | 2689 | # This option is only utilized when the storage family is configured to |
2690 | # eseries. This option is used to restrict provisioning to the specified | ||
2691 | # controllers. Specify the value of this option to be a comma separated list of | ||
2692 | # controller hostnames or IP addresses to be used for provisioning. (string | ||
610 | # value) | 2693 | # value) |
611 | #qpid_heartbeat=60 | 2694 | #netapp_controller_ips = <None> |
2695 | |||
2696 | # Password for the NetApp E-Series storage array. (string value) | ||
2697 | #netapp_sa_password = <None> | ||
2698 | |||
2699 | # This option specifies whether the driver should allow operations that require | ||
2700 | # multiple attachments to a volume. An example would be live migration of | ||
2701 | # servers that have volumes attached. When enabled, this backend is limited to | ||
2702 | # 256 total volumes in order to guarantee volumes can be accessed by more than | ||
2703 | # one host. (boolean value) | ||
2704 | #netapp_enable_multiattach = false | ||
2705 | |||
2706 | # This option specifies the path of the NetApp copy offload tool binary. Ensure | ||
2707 | # that the binary has execute permissions set which allow the effective user of | ||
2708 | # the cinder-volume process to execute the file. (string value) | ||
2709 | #netapp_copyoffload_tool_path = <None> | ||
2710 | |||
2711 | # This option defines the type of operating system that will access a LUN | ||
2712 | # exported from Data ONTAP; it is assigned to the LUN at the time it is | ||
2713 | # created. (string value) | ||
2714 | #netapp_lun_ostype = <None> | ||
2715 | |||
2716 | # This option defines the type of operating system for all initiators that can | ||
2717 | # access a LUN. This information is used when mapping LUNs to individual hosts | ||
2718 | # or groups of hosts. (string value) | ||
2719 | # Deprecated group/name - [backend_defaults]/netapp_eseries_host_type | ||
2720 | #netapp_host_type = <None> | ||
2721 | |||
2722 | # This option is used to restrict provisioning to the specified pools. Specify | ||
2723 | # the value of this option to be a regular expression which will be applied to | ||
2724 | # the names of objects from the storage backend which represent pools in | ||
2725 | # Cinder. This option is only utilized when the storage protocol is configured | ||
2726 | # to use iSCSI or FC. (string value) | ||
2727 | # Deprecated group/name - [backend_defaults]/netapp_volume_list | ||
2728 | # Deprecated group/name - [backend_defaults]/netapp_storage_pools | ||
2729 | #netapp_pool_name_search_pattern = (.+) | ||
2730 | |||
2731 | # Multi opt of dictionaries to represent the aggregate mapping between source | ||
2732 | # and destination back ends when using whole back end replication. For every | ||
2733 | # source aggregate associated with a cinder pool (NetApp FlexVol), you would | ||
2734 | # need to specify the destination aggregate on the replication target device. A | ||
2735 | # replication target device is configured with the configuration option | ||
2736 | # replication_device. Specify this option as many times as you have replication | ||
2737 | # devices. Each entry takes the standard dict config form: | ||
2738 | # netapp_replication_aggregate_map = | ||
2739 | # backend_id:<name_of_replication_device_section>,src_aggr_name1:dest_aggr_name1,src_aggr_name2:dest_aggr_name2,... | ||
2740 | # (dict value) | ||
2741 | #netapp_replication_aggregate_map = <None> | ||
2742 | |||
2743 | # The maximum time in seconds to wait for existing SnapMirror transfers to | ||
2744 | # complete before aborting during a failover. (integer value) | ||
2745 | # Minimum value: 0 | ||
2746 | #netapp_snapmirror_quiesce_timeout = 3600 | ||
612 | 2747 | ||
613 | # Transport to use, either 'tcp' or 'ssl' (string value) | 2748 | # IP address of Nexenta SA (string value) |
614 | #qpid_protocol=tcp | 2749 | #nexenta_host = |
615 | 2750 | ||
616 | # Disable Nagle algorithm (boolean value) | 2751 | # HTTP(S) port to connect to Nexenta REST API server. If it is equal zero, 8443 |
617 | #qpid_tcp_nodelay=true | 2752 | # for HTTPS and 8080 for HTTP is used (integer value) |
2753 | #nexenta_rest_port = 0 | ||
618 | 2754 | ||
2755 | # Use http or https for REST connection (default auto) (string value) | ||
2756 | # Allowed values: http, https, auto | ||
2757 | #nexenta_rest_protocol = auto | ||
619 | 2758 | ||
620 | # | 2759 | # Use secure HTTP for REST connection (default True) (boolean value) |
621 | # Options defined in cinder.openstack.common.rpc.impl_zmq | 2760 | #nexenta_use_https = true |
622 | # | ||
623 | 2761 | ||
624 | # ZeroMQ bind address. Should be a wildcard (*), an ethernet | 2762 | # User name to connect to Nexenta SA (string value) |
625 | # interface, or IP. The "host" option should point or resolve | 2763 | #nexenta_user = admin |
626 | # to this address. (string value) | ||
627 | #rpc_zmq_bind_address=* | ||
628 | 2764 | ||
629 | # MatchMaker driver (string value) | 2765 | # Password to connect to Nexenta SA (string value) |
630 | #rpc_zmq_matchmaker=cinder.openstack.common.rpc.matchmaker.MatchMakerLocalhost | 2766 | #nexenta_password = nexenta |
631 | 2767 | ||
632 | # ZeroMQ receiver listening port (integer value) | 2768 | # Nexenta target portal port (integer value) |
633 | #rpc_zmq_port=9501 | 2769 | #nexenta_iscsi_target_portal_port = 3260 |
634 | 2770 | ||
635 | # Number of ZeroMQ contexts, defaults to 1 (integer value) | 2771 | # SA Pool that holds all volumes (string value) |
636 | #rpc_zmq_contexts=1 | 2772 | #nexenta_volume = cinder |
637 | 2773 | ||
638 | # Directory for holding IPC sockets (string value) | 2774 | # IQN prefix for iSCSI targets (string value) |
639 | #rpc_zmq_ipc_dir=/var/run/openstack | 2775 | #nexenta_target_prefix = iqn.1986-03.com.sun:02:cinder- |
640 | 2776 | ||
641 | # Name of this node. Must be a valid hostname, FQDN, or IP | 2777 | # Prefix for iSCSI target groups on SA (string value) |
642 | # address. Must match "host" option, if running Nova. (string | 2778 | #nexenta_target_group_prefix = cinder/ |
643 | # value) | ||
644 | #rpc_zmq_host=cinder | ||
645 | 2779 | ||
2780 | # Volume group for ns5 (string value) | ||
2781 | #nexenta_volume_group = iscsi | ||
646 | 2782 | ||
647 | # | 2783 | # Compression value for new ZFS folders. (string value) |
648 | # Options defined in cinder.openstack.common.rpc.matchmaker | 2784 | # Allowed values: on, off, gzip, gzip-1, gzip-2, gzip-3, gzip-4, gzip-5, gzip-6, gzip-7, gzip-8, gzip-9, lzjb, zle, lz4 |
649 | # | 2785 | #nexenta_dataset_compression = on |
650 | 2786 | ||
651 | # Matchmaker ring file (JSON) (string value) | 2787 | # Deduplication value for new ZFS folders. (string value) |
652 | #matchmaker_ringfile=/etc/nova/matchmaker_ring.json | 2788 | # Allowed values: on, off, sha256, verify, sha256, verify |
2789 | #nexenta_dataset_dedup = off | ||
653 | 2790 | ||
2791 | # Human-readable description for the folder. (string value) | ||
2792 | #nexenta_dataset_description = | ||
654 | 2793 | ||
655 | # | 2794 | # Block size for datasets (integer value) |
656 | # Options defined in cinder.scheduler.driver | 2795 | #nexenta_blocksize = 4096 |
657 | # | ||
658 | 2796 | ||
659 | # The scheduler host manager class to use (string value) | 2797 | # Block size for datasets (integer value) |
660 | #scheduler_host_manager=cinder.scheduler.host_manager.HostManager | 2798 | #nexenta_ns5_blocksize = 32 |
661 | 2799 | ||
2800 | # Enables or disables the creation of sparse datasets (boolean value) | ||
2801 | #nexenta_sparse = false | ||
662 | 2802 | ||
663 | # | 2803 | # File with the list of available nfs shares (string value) |
664 | # Options defined in cinder.scheduler.host_manager | 2804 | #nexenta_shares_config = /etc/cinder/nfs_shares |
665 | # | 2805 | |
2806 | # Base directory that contains NFS share mount points (string value) | ||
2807 | #nexenta_mount_point_base = $state_path/mnt | ||
2808 | |||
2809 | # Enables or disables the creation of volumes as sparsed files that take no | ||
2810 | # space. If disabled (False), volume is created as a regular file, which takes | ||
2811 | # a long time. (boolean value) | ||
2812 | #nexenta_sparsed_volumes = true | ||
2813 | |||
2814 | # If set True cache NexentaStor appliance volroot option value. (boolean value) | ||
2815 | #nexenta_nms_cache_volroot = true | ||
666 | 2816 | ||
667 | # Which filter class names to use for filtering hosts when not | 2817 | # Enable stream compression, level 1..9. 1 - gives best speed; 9 - gives best |
668 | # specified in the request. (list value) | 2818 | # compression. (integer value) |
669 | #scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter | 2819 | #nexenta_rrmgr_compression = 0 |
670 | 2820 | ||
671 | # Which weigher class names to use for weighing hosts. (list | 2821 | # TCP Buffer size in KiloBytes. (integer value) |
2822 | #nexenta_rrmgr_tcp_buf_size = 4096 | ||
2823 | |||
2824 | # Number of TCP connections. (integer value) | ||
2825 | #nexenta_rrmgr_connections = 2 | ||
2826 | |||
2827 | # NexentaEdge logical path of directory to store symbolic links to NBDs (string | ||
672 | # value) | 2828 | # value) |
673 | #scheduler_default_weighers=CapacityWeigher | 2829 | #nexenta_nbd_symlinks_dir = /dev/disk/by-path |
674 | 2830 | ||
2831 | # IP address of NexentaEdge management REST API endpoint (string value) | ||
2832 | #nexenta_rest_address = | ||
675 | 2833 | ||
676 | # | 2834 | # User name to connect to NexentaEdge (string value) |
677 | # Options defined in cinder.scheduler.manager | 2835 | #nexenta_rest_user = admin |
678 | # | ||
679 | 2836 | ||
680 | # Default scheduler driver to use (string value) | 2837 | # Password to connect to NexentaEdge (string value) |
681 | #scheduler_driver=cinder.scheduler.simple.SimpleScheduler | 2838 | #nexenta_rest_password = nexenta |
682 | 2839 | ||
2840 | # NexentaEdge logical path of bucket for LUNs (string value) | ||
2841 | #nexenta_lun_container = | ||
683 | 2842 | ||
684 | # | 2843 | # NexentaEdge iSCSI service name (string value) |
685 | # Options defined in cinder.scheduler.scheduler_options | 2844 | #nexenta_iscsi_service = |
686 | # | 2845 | |
2846 | # NexentaEdge iSCSI Gateway client address for non-VIP service (string value) | ||
2847 | #nexenta_client_address = | ||
2848 | |||
2849 | # NexentaEdge iSCSI LUN object chunk size (integer value) | ||
2850 | #nexenta_chunksize = 32768 | ||
2851 | |||
2852 | # File with the list of available NFS shares. (string value) | ||
2853 | #nfs_shares_config = /etc/cinder/nfs_shares | ||
2854 | |||
2855 | # Create volumes as sparsed files which take no space. If set to False volume | ||
2856 | # is created as regular file. In such case volume creation takes a lot of time. | ||
2857 | # (boolean value) | ||
2858 | #nfs_sparsed_volumes = true | ||
2859 | |||
2860 | # Create volumes as QCOW2 files rather than raw files. (boolean value) | ||
2861 | #nfs_qcow2_volumes = false | ||
2862 | |||
2863 | # Base dir containing mount points for NFS shares. (string value) | ||
2864 | #nfs_mount_point_base = $state_path/mnt | ||
2865 | |||
2866 | # Mount options passed to the NFS client. See section of the NFS man page for | ||
2867 | # details. (string value) | ||
2868 | #nfs_mount_options = <None> | ||
2869 | |||
2870 | # The number of attempts to mount NFS shares before raising an error. At least | ||
2871 | # one attempt will be made to mount an NFS share, regardless of the value | ||
2872 | # specified. (integer value) | ||
2873 | #nfs_mount_attempts = 3 | ||
2874 | |||
2875 | # Enable support for snapshots on the NFS driver. Platforms using libvirt | ||
2876 | # <1.2.7 will encounter issues with this feature. (boolean value) | ||
2877 | #nfs_snapshot_support = false | ||
2878 | |||
2879 | # Nimble Controller pool name (string value) | ||
2880 | #nimble_pool_name = default | ||
2881 | |||
2882 | # Nimble Subnet Label (string value) | ||
2883 | #nimble_subnet_label = * | ||
2884 | |||
2885 | # Whether to verify Nimble SSL Certificate (boolean value) | ||
2886 | #nimble_verify_certificate = false | ||
2887 | |||
2888 | # Path to Nimble Array SSL certificate (string value) | ||
2889 | #nimble_verify_cert_path = <None> | ||
2890 | |||
2891 | # DPL pool uuid in which DPL volumes are stored. (string value) | ||
2892 | #dpl_pool = | ||
2893 | |||
2894 | # DPL port number. (port value) | ||
2895 | # Minimum value: 0 | ||
2896 | # Maximum value: 65535 | ||
2897 | #dpl_port = 8357 | ||
2898 | |||
2899 | # REST API authorization token. (string value) | ||
2900 | #pure_api_token = <None> | ||
2901 | |||
2902 | # Automatically determine an oversubscription ratio based on the current total | ||
2903 | # data reduction values. If used this calculated value will override the | ||
2904 | # max_over_subscription_ratio config option. (boolean value) | ||
2905 | #pure_automatic_max_oversubscription_ratio = true | ||
2906 | |||
2907 | # Snapshot replication interval in seconds. (integer value) | ||
2908 | #pure_replica_interval_default = 3600 | ||
2909 | |||
2910 | # Retain all snapshots on target for this time (in seconds.) (integer value) | ||
2911 | #pure_replica_retention_short_term_default = 14400 | ||
2912 | |||
2913 | # Retain how many snapshots for each day. (integer value) | ||
2914 | #pure_replica_retention_long_term_per_day_default = 3 | ||
687 | 2915 | ||
688 | # Absolute path to scheduler configuration JSON file. (string | 2916 | # Retain snapshots per day on target for this time (in days.) (integer value) |
2917 | #pure_replica_retention_long_term_default = 7 | ||
2918 | |||
2919 | # When enabled, all Pure volumes, snapshots, and protection groups will be | ||
2920 | # eradicated at the time of deletion in Cinder. Data will NOT be recoverable | ||
2921 | # after a delete with this set to True! When disabled, volumes and snapshots | ||
2922 | # will go into pending eradication state and can be recovered. (boolean value) | ||
2923 | #pure_eradicate_on_delete = false | ||
2924 | |||
2925 | # The URL to management QNAP Storage (uri value) | ||
2926 | #qnap_management_url = <None> | ||
2927 | |||
2928 | # The pool name in the QNAP Storage (string value) | ||
2929 | #qnap_poolname = <None> | ||
2930 | |||
2931 | # Communication protocol to access QNAP storage (string value) | ||
2932 | #qnap_storage_protocol = iscsi | ||
2933 | |||
2934 | # Quobyte URL to the Quobyte volume e.g., quobyte://<DIR host1>, <DIR | ||
2935 | # host2>/<volume name> (string value) | ||
2936 | #quobyte_volume_url = <None> | ||
2937 | |||
2938 | # Path to a Quobyte Client configuration file. (string value) | ||
2939 | #quobyte_client_cfg = <None> | ||
2940 | |||
2941 | # Create volumes as sparse files which take no space. If set to False, volume | ||
2942 | # is created as regular file.In such case volume creation takes a lot of time. | ||
2943 | # (boolean value) | ||
2944 | #quobyte_sparsed_volumes = true | ||
2945 | |||
2946 | # Create volumes as QCOW2 files rather than raw files. (boolean value) | ||
2947 | #quobyte_qcow2_volumes = true | ||
2948 | |||
2949 | # Base dir containing the mount point for the Quobyte volume. (string value) | ||
2950 | #quobyte_mount_point_base = $state_path/mnt | ||
2951 | |||
2952 | # The name of ceph cluster (string value) | ||
2953 | #rbd_cluster_name = ceph | ||
2954 | |||
2955 | # The RADOS pool where rbd volumes are stored (string value) | ||
2956 | #rbd_pool = rbd | ||
2957 | |||
2958 | # The RADOS client name for accessing rbd volumes - only set when using cephx | ||
2959 | # authentication (string value) | ||
2960 | #rbd_user = <None> | ||
2961 | |||
2962 | # Path to the ceph configuration file (string value) | ||
2963 | #rbd_ceph_conf = | ||
2964 | |||
2965 | # Path to the ceph keyring file (string value) | ||
2966 | #rbd_keyring_conf = | ||
2967 | |||
2968 | # Flatten volumes created from snapshots to remove dependency from volume to | ||
2969 | # snapshot (boolean value) | ||
2970 | #rbd_flatten_volume_from_snapshot = false | ||
2971 | |||
2972 | # The libvirt uuid of the secret for the rbd_user volumes (string value) | ||
2973 | #rbd_secret_uuid = <None> | ||
2974 | |||
2975 | # Maximum number of nested volume clones that are taken before a flatten | ||
2976 | # occurs. Set to 0 to disable cloning. (integer value) | ||
2977 | #rbd_max_clone_depth = 5 | ||
2978 | |||
2979 | # Volumes will be chunked into objects of this size (in megabytes). (integer | ||
689 | # value) | 2980 | # value) |
690 | #scheduler_json_config_location= | 2981 | #rbd_store_chunk_size = 4 |
691 | 2982 | ||
2983 | # Timeout value (in seconds) used when connecting to ceph cluster. If value < | ||
2984 | # 0, no timeout is set and default librados value is used. (integer value) | ||
2985 | #rados_connect_timeout = -1 | ||
692 | 2986 | ||
693 | # | 2987 | # Number of retries if connection to ceph cluster failed. (integer value) |
694 | # Options defined in cinder.scheduler.simple | 2988 | #rados_connection_retries = 3 |
695 | # | ||
696 | 2989 | ||
697 | # maximum number of volume gigabytes to allow per host | 2990 | # Interval value (in seconds) between connection retries to ceph cluster. |
698 | # (integer value) | 2991 | # (integer value) |
699 | #max_gigabytes=10000 | 2992 | #rados_connection_interval = 5 |
2993 | |||
2994 | # Timeout value (in seconds) used when connecting to ceph cluster to do a | ||
2995 | # demotion/promotion of volumes. If value < 0, no timeout is set and default | ||
2996 | # librados value is used. (integer value) | ||
2997 | #replication_connect_timeout = 5 | ||
2998 | |||
2999 | # Set to True for driver to report total capacity as a dynamic value -used + | ||
3000 | # current free- and to False to report a static value -quota max bytes if | ||
3001 | # defined and global size of cluster if not-. (boolean value) | ||
3002 | #report_dynamic_total_capacity = true | ||
3003 | |||
3004 | # IP address or Hostname of NAS system. (string value) | ||
3005 | # Deprecated group/name - [backend_defaults]/nas_ip | ||
3006 | #nas_host = | ||
3007 | |||
3008 | # User name to connect to NAS system. (string value) | ||
3009 | #nas_login = admin | ||
3010 | |||
3011 | # Password to connect to NAS system. (string value) | ||
3012 | #nas_password = | ||
3013 | |||
3014 | # SSH port to use to connect to NAS system. (port value) | ||
3015 | # Minimum value: 0 | ||
3016 | # Maximum value: 65535 | ||
3017 | #nas_ssh_port = 22 | ||
3018 | |||
3019 | # Filename of private key to use for SSH authentication. (string value) | ||
3020 | #nas_private_key = | ||
3021 | |||
3022 | # Allow network-attached storage systems to operate in a secure environment | ||
3023 | # where root level access is not permitted. If set to False, access is as the | ||
3024 | # root user and insecure. If set to True, access is not as root. If set to | ||
3025 | # auto, a check is done to determine if this is a new installation: True is | ||
3026 | # used if so, otherwise False. Default is auto. (string value) | ||
3027 | #nas_secure_file_operations = auto | ||
3028 | |||
3029 | # Set more secure file permissions on network-attached storage volume files to | ||
3030 | # restrict broad other/world access. If set to False, volumes are created with | ||
3031 | # open permissions. If set to True, volumes are created with permissions for | ||
3032 | # the cinder user and group (660). If set to auto, a check is done to determine | ||
3033 | # if this is a new installation: True is used if so, otherwise False. Default | ||
3034 | # is auto. (string value) | ||
3035 | #nas_secure_file_permissions = auto | ||
3036 | |||
3037 | # Path to the share to use for storing Cinder volumes. For example: | ||
3038 | # "/srv/export1" for an NFS server export available at 10.0.5.10:/srv/export1 . | ||
3039 | # (string value) | ||
3040 | #nas_share_path = | ||
700 | 3041 | ||
3042 | # Options used to mount the storage backend file system where Cinder volumes | ||
3043 | # are stored. (string value) | ||
3044 | #nas_mount_options = <None> | ||
701 | 3045 | ||
702 | # | 3046 | # Provisioning type that will be used when creating volumes. (string value) |
703 | # Options defined in cinder.scheduler.weights.capacity | 3047 | # Allowed values: thin, thick |
704 | # | 3048 | #nas_volume_prov_type = thin |
705 | 3049 | ||
706 | # Multiplier used for weighing volume capacity. Negative | 3050 | # Pool or Vdisk name to use for volume creation. (string value) |
707 | # numbers mean to stack vs spread. (floating point value) | 3051 | #hpmsa_backend_name = A |
708 | #capacity_weight_multiplier=1.0 | ||
709 | 3052 | ||
3053 | # linear (for Vdisk) or virtual (for Pool). (string value) | ||
3054 | # Allowed values: linear, virtual | ||
3055 | #hpmsa_backend_type = virtual | ||
710 | 3056 | ||
711 | # | 3057 | # HPMSA API interface protocol. (string value) |
712 | # Options defined in cinder.volume.api | 3058 | # Allowed values: http, https |
713 | # | 3059 | #hpmsa_api_protocol = https |
714 | 3060 | ||
715 | # Create volume from snapshot at the host where snapshot | 3061 | # Whether to verify HPMSA array SSL certificate. (boolean value) |
716 | # resides (boolean value) | 3062 | #hpmsa_verify_certificate = false |
717 | #snapshot_same_host=true | ||
718 | 3063 | ||
3064 | # HPMSA array SSL certificate path. (string value) | ||
3065 | #hpmsa_verify_certificate_path = <None> | ||
719 | 3066 | ||
720 | # | 3067 | # List of comma-separated target iSCSI IP addresses. (list value) |
721 | # Options defined in cinder.volume.driver | 3068 | #hpmsa_iscsi_ips = |
722 | # | ||
723 | 3069 | ||
724 | # number of times to attempt to run flakey shell commands | 3070 | # Use thin provisioning for SAN volumes? (boolean value) |
725 | # (integer value) | 3071 | #san_thin_provision = true |
726 | #num_shell_tries=3 | ||
727 | 3072 | ||
728 | # The percentage of backend capacity is reserved (integer | 3073 | # IP address of SAN controller (string value) |
3074 | #san_ip = | ||
3075 | |||
3076 | # Username for SAN controller (string value) | ||
3077 | #san_login = admin | ||
3078 | |||
3079 | # Password for SAN controller (string value) | ||
3080 | #san_password = | ||
3081 | |||
3082 | # Filename of private key to use for SSH authentication (string value) | ||
3083 | #san_private_key = | ||
3084 | |||
3085 | # Cluster name to use for creating volumes (string value) | ||
3086 | #san_clustername = | ||
3087 | |||
3088 | # SSH port to use with SAN (port value) | ||
3089 | # Minimum value: 0 | ||
3090 | # Maximum value: 65535 | ||
3091 | #san_ssh_port = 22 | ||
3092 | |||
3093 | # Execute commands locally instead of over SSH; use if the volume service is | ||
3094 | # running on the SAN device (boolean value) | ||
3095 | #san_is_local = false | ||
3096 | |||
3097 | # SSH connection timeout in seconds (integer value) | ||
3098 | #ssh_conn_timeout = 30 | ||
3099 | |||
3100 | # Minimum ssh connections in the pool (integer value) | ||
3101 | #ssh_min_pool_conn = 1 | ||
3102 | |||
3103 | # Maximum ssh connections in the pool (integer value) | ||
3104 | #ssh_max_pool_conn = 5 | ||
3105 | |||
3106 | # IP address of sheep daemon. (string value) | ||
3107 | #sheepdog_store_address = 127.0.0.1 | ||
3108 | |||
3109 | # Port of sheep daemon. (port value) | ||
3110 | # Minimum value: 0 | ||
3111 | # Maximum value: 65535 | ||
3112 | #sheepdog_store_port = 7000 | ||
3113 | |||
3114 | # Set 512 byte emulation on volume creation; (boolean value) | ||
3115 | #sf_emulate_512 = true | ||
3116 | |||
3117 | # Allow tenants to specify QOS on create (boolean value) | ||
3118 | #sf_allow_tenant_qos = false | ||
3119 | |||
3120 | # Create SolidFire accounts with this prefix. Any string can be used here, but | ||
3121 | # the string "hostname" is special and will create a prefix using the cinder | ||
3122 | # node hostname (previous default behavior). The default is NO prefix. (string | ||
729 | # value) | 3123 | # value) |
730 | #reserved_percentage=0 | 3124 | #sf_account_prefix = <None> |
3125 | |||
3126 | # Create SolidFire volumes with this prefix. Volume names are of the form | ||
3127 | # <sf_volume_prefix><cinder-volume-id>. The default is to use a prefix of | ||
3128 | # 'UUID-'. (string value) | ||
3129 | #sf_volume_prefix = UUID- | ||
3130 | |||
3131 | # Account name on the SolidFire Cluster to use as owner of template/cache | ||
3132 | # volumes (created if does not exist). (string value) | ||
3133 | #sf_template_account_name = openstack-vtemplate | ||
3134 | |||
3135 | # Create an internal cache of copy of images when a bootable volume is created | ||
3136 | # to eliminate fetch from glance and qemu-conversion on subsequent calls. | ||
3137 | # (boolean value) | ||
3138 | #sf_allow_template_caching = true | ||
3139 | |||
3140 | # Overrides default cluster SVIP with the one specified. This is required or | ||
3141 | # deployments that have implemented the use of VLANs for iSCSI networks in | ||
3142 | # their cloud. (string value) | ||
3143 | #sf_svip = <None> | ||
3144 | |||
3145 | # Create an internal mapping of volume IDs and account. Optimizes lookups and | ||
3146 | # performance at the expense of memory, very large deployments may want to | ||
3147 | # consider setting to False. (boolean value) | ||
3148 | #sf_enable_volume_mapping = true | ||
3149 | |||
3150 | # SolidFire API port. Useful if the device api is behind a proxy on a different | ||
3151 | # port. (port value) | ||
3152 | # Minimum value: 0 | ||
3153 | # Maximum value: 65535 | ||
3154 | #sf_api_port = 443 | ||
3155 | |||
3156 | # Utilize volume access groups on a per-tenant basis. (boolean value) | ||
3157 | #sf_enable_vag = false | ||
3158 | |||
3159 | # Volume on Synology storage to be used for creating lun. (string value) | ||
3160 | #synology_pool_name = | ||
3161 | |||
3162 | # Management port for Synology storage. (port value) | ||
3163 | # Minimum value: 0 | ||
3164 | # Maximum value: 65535 | ||
3165 | #synology_admin_port = 5000 | ||
731 | 3166 | ||
732 | # number of times to rescan iSCSI target to find volume | 3167 | # Administrator of Synology storage. (string value) |
3168 | #synology_username = admin | ||
3169 | |||
3170 | # Password of administrator for logging in Synology storage. (string value) | ||
3171 | #synology_password = | ||
3172 | |||
3173 | # Do certificate validation or not if $driver_use_ssl is True (boolean value) | ||
3174 | #synology_ssl_verify = true | ||
3175 | |||
3176 | # One time password of administrator for logging in Synology storage if OTP is | ||
3177 | # enabled. (string value) | ||
3178 | #synology_one_time_pass = <None> | ||
3179 | |||
3180 | # Device id for skip one time password check for logging in Synology storage if | ||
3181 | # OTP is enabled. (string value) | ||
3182 | #synology_device_id = <None> | ||
3183 | |||
3184 | # Create volumes in this pool (string value) | ||
3185 | #tegile_default_pool = <None> | ||
3186 | |||
3187 | # Create volumes in this project (string value) | ||
3188 | #tegile_default_project = <None> | ||
3189 | |||
3190 | # The hostname (or IP address) for the storage system (string value) | ||
3191 | #tintri_server_hostname = <None> | ||
3192 | |||
3193 | # User name for the storage system (string value) | ||
3194 | #tintri_server_username = <None> | ||
3195 | |||
3196 | # Password for the storage system (string value) | ||
3197 | #tintri_server_password = <None> | ||
3198 | |||
3199 | # API version for the storage system (string value) | ||
3200 | #tintri_api_version = v310 | ||
3201 | |||
3202 | # Delete unused image snapshots older than mentioned days (integer value) | ||
3203 | #tintri_image_cache_expiry_days = 30 | ||
3204 | |||
3205 | # Path to image nfs shares file (string value) | ||
3206 | #tintri_image_shares_config = <None> | ||
3207 | |||
3208 | # Global backend request timeout, in seconds. (integer value) | ||
3209 | #violin_request_timeout = 300 | ||
3210 | |||
3211 | # Storage pools to be used to setup dedup luns only.(Comma separated list) | ||
3212 | # (list value) | ||
3213 | #violin_dedup_only_pools = | ||
3214 | |||
3215 | # Storage pools capable of dedup and other luns.(Comma separated list) (list | ||
3216 | # value) | ||
3217 | #violin_dedup_capable_pools = | ||
3218 | |||
3219 | # Method of choosing a storage pool for a lun. (string value) | ||
3220 | # Allowed values: random, largest, smallest | ||
3221 | #violin_pool_allocation_method = random | ||
3222 | |||
3223 | # Target iSCSI addresses to use.(Comma separated list) (list value) | ||
3224 | #violin_iscsi_target_ips = | ||
3225 | |||
3226 | # IP address for connecting to VMware vCenter server. (string value) | ||
3227 | #vmware_host_ip = <None> | ||
3228 | |||
3229 | # Port number for connecting to VMware vCenter server. (port value) | ||
3230 | # Minimum value: 0 | ||
3231 | # Maximum value: 65535 | ||
3232 | #vmware_host_port = 443 | ||
3233 | |||
3234 | # Username for authenticating with VMware vCenter server. (string value) | ||
3235 | #vmware_host_username = <None> | ||
3236 | |||
3237 | # Password for authenticating with VMware vCenter server. (string value) | ||
3238 | #vmware_host_password = <None> | ||
3239 | |||
3240 | # Optional VIM service WSDL Location e.g http://<server>/vimService.wsdl. | ||
3241 | # Optional over-ride to default location for bug work-arounds. (string value) | ||
3242 | #vmware_wsdl_location = <None> | ||
3243 | |||
3244 | # Number of times VMware vCenter server API must be retried upon connection | ||
3245 | # related issues. (integer value) | ||
3246 | #vmware_api_retry_count = 10 | ||
3247 | |||
3248 | # The interval (in seconds) for polling remote tasks invoked on VMware vCenter | ||
3249 | # server. (floating point value) | ||
3250 | #vmware_task_poll_interval = 2.0 | ||
3251 | |||
3252 | # Name of the vCenter inventory folder that will contain Cinder volumes. This | ||
3253 | # folder will be created under "OpenStack/<project_folder>", where | ||
3254 | # project_folder is of format "Project (<volume_project_id>)". (string value) | ||
3255 | #vmware_volume_folder = Volumes | ||
3256 | |||
3257 | # Timeout in seconds for VMDK volume transfer between Cinder and Glance. | ||
733 | # (integer value) | 3258 | # (integer value) |
734 | #num_iscsi_scan_tries=3 | 3259 | #vmware_image_transfer_timeout_secs = 7200 |
735 | 3260 | ||
736 | # Number of iscsi target ids per host (integer value) | 3261 | # Max number of objects to be retrieved per batch. Query results will be |
737 | #iscsi_num_targets=100 | 3262 | # obtained in batches from the server and not in one shot. Server may still |
3263 | # limit the count to something less than the configured value. (integer value) | ||
3264 | #vmware_max_objects_retrieval = 100 | ||
738 | 3265 | ||
739 | # prefix for iscsi volumes (string value) | 3266 | # Optional string specifying the VMware vCenter server version. The driver |
740 | #iscsi_target_prefix=iqn.2010-10.org.openstack: | 3267 | # attempts to retrieve the version from VMware vCenter server. Set this |
3268 | # configuration only if you want to override the vCenter server version. | ||
3269 | # (string value) | ||
3270 | #vmware_host_version = <None> | ||
741 | 3271 | ||
742 | # The port that the iSCSI daemon is listening on (string | 3272 | # Directory where virtual disks are stored during volume backup and restore. |
3273 | # (string value) | ||
3274 | #vmware_tmp_dir = /tmp | ||
3275 | |||
3276 | # CA bundle file to use in verifying the vCenter server certificate. (string | ||
743 | # value) | 3277 | # value) |
744 | #iscsi_ip_address=$my_ip | 3278 | #vmware_ca_file = <None> |
3279 | |||
3280 | # If true, the vCenter server certificate is not verified. If false, then the | ||
3281 | # default CA truststore is used for verification. This option is ignored if | ||
3282 | # "vmware_ca_file" is set. (boolean value) | ||
3283 | #vmware_insecure = false | ||
745 | 3284 | ||
746 | # The port that the iSCSI daemon is listening on (integer | 3285 | # Name of a vCenter compute cluster where volumes should be created. (multi |
3286 | # valued) | ||
3287 | #vmware_cluster_name = | ||
3288 | |||
3289 | # Maximum number of connections in http connection pool. (integer value) | ||
3290 | #vmware_connection_pool_size = 10 | ||
3291 | |||
3292 | # Default adapter type to be used for attaching volumes. (string value) | ||
3293 | # Allowed values: lsiLogic, busLogic, lsiLogicsas, paraVirtual, ide | ||
3294 | #vmware_adapter_type = lsiLogic | ||
3295 | |||
3296 | # File with the list of available vzstorage shares. (string value) | ||
3297 | #vzstorage_shares_config = /etc/cinder/vzstorage_shares | ||
3298 | |||
3299 | # Create volumes as sparsed files which take no space rather than regular files | ||
3300 | # when using raw format, in which case volume creation takes lot of time. | ||
3301 | # (boolean value) | ||
3302 | #vzstorage_sparsed_volumes = true | ||
3303 | |||
3304 | # Percent of ACTUAL usage of the underlying volume before no new volumes can be | ||
3305 | # allocated to the volume destination. (floating point value) | ||
3306 | #vzstorage_used_ratio = 0.95 | ||
3307 | |||
3308 | # Base dir containing mount points for vzstorage shares. (string value) | ||
3309 | #vzstorage_mount_point_base = $state_path/mnt | ||
3310 | |||
3311 | # Mount options passed to the vzstorage client. See section of the pstorage- | ||
3312 | # mount man page for details. (list value) | ||
3313 | #vzstorage_mount_options = <None> | ||
3314 | |||
3315 | # Default format that will be used when creating volumes if no volume format is | ||
3316 | # specified. (string value) | ||
3317 | #vzstorage_default_volume_format = raw | ||
3318 | |||
3319 | # File with the list of available smbfs shares. (string value) | ||
3320 | #smbfs_shares_config = C:\OpenStack\smbfs_shares.txt | ||
3321 | |||
3322 | # DEPRECATED: The path of the automatically generated file containing | ||
3323 | # information about volume disk space allocation. (string value) | ||
3324 | # This option is deprecated for removal since 11.0.0. | ||
3325 | # Its value may be silently ignored in the future. | ||
3326 | # Reason: This allocation file is no longer used. | ||
3327 | #smbfs_allocation_info_file_path = C:\OpenStack\allocation_data.txt | ||
3328 | |||
3329 | # Default format that will be used when creating volumes if no volume format is | ||
3330 | # specified. (string value) | ||
3331 | # Allowed values: vhd, vhdx | ||
3332 | #smbfs_default_volume_format = vhd | ||
3333 | |||
3334 | # Create volumes as sparsed files which take no space rather than regular files | ||
3335 | # when using raw format, in which case volume creation takes lot of time. | ||
3336 | # (boolean value) | ||
3337 | #smbfs_sparsed_volumes = true | ||
3338 | |||
3339 | # DEPRECATED: Percent of ACTUAL usage of the underlying volume before no new | ||
3340 | # volumes can be allocated to the volume destination. (floating point value) | ||
3341 | # This option is deprecated for removal. | ||
3342 | # Its value may be silently ignored in the future. | ||
3343 | #smbfs_used_ratio = <None> | ||
3344 | |||
3345 | # DEPRECATED: This will compare the allocated to available space on the volume | ||
3346 | # destination. If the ratio exceeds this number, the destination will no | ||
3347 | # longer be valid. (floating point value) | ||
3348 | # This option is deprecated for removal. | ||
3349 | # Its value may be silently ignored in the future. | ||
3350 | #smbfs_oversub_ratio = <None> | ||
3351 | |||
3352 | # Base dir containing mount points for smbfs shares. (string value) | ||
3353 | #smbfs_mount_point_base = C:\OpenStack\_mnt | ||
3354 | |||
3355 | # Mappings between share locations and pool names. If not specified, the share | ||
3356 | # names will be used as pool names. Example: | ||
3357 | # //addr/share:pool_name,//addr/share2:pool_name2 (dict value) | ||
3358 | #smbfs_pool_mappings = | ||
3359 | |||
3360 | # Path to store VHD backed volumes (string value) | ||
3361 | #windows_iscsi_lun_path = C:\iSCSIVirtualDisks | ||
3362 | |||
3363 | # Default storage pool for volumes. (integer value) | ||
3364 | #ise_storage_pool = 1 | ||
3365 | |||
3366 | # Raid level for ISE volumes. (integer value) | ||
3367 | #ise_raid = 1 | ||
3368 | |||
3369 | # Number of retries (per port) when establishing connection to ISE management | ||
3370 | # port. (integer value) | ||
3371 | #ise_connection_retries = 5 | ||
3372 | |||
3373 | # Interval (secs) between retries. (integer value) | ||
3374 | #ise_retry_interval = 1 | ||
3375 | |||
3376 | # Number on retries to get completion status after issuing a command to ISE. | ||
3377 | # (integer value) | ||
3378 | #ise_completion_retries = 30 | ||
3379 | |||
3380 | # VPSA - Use ISER instead of iSCSI (boolean value) | ||
3381 | #zadara_use_iser = true | ||
3382 | |||
3383 | # VPSA - Management Host name or IP address (string value) | ||
3384 | #zadara_vpsa_host = <None> | ||
3385 | |||
3386 | # VPSA - Port number (port value) | ||
3387 | # Minimum value: 0 | ||
3388 | # Maximum value: 65535 | ||
3389 | #zadara_vpsa_port = <None> | ||
3390 | |||
3391 | # VPSA - Use SSL connection (boolean value) | ||
3392 | #zadara_vpsa_use_ssl = false | ||
3393 | |||
3394 | # If set to True the http client will validate the SSL certificate of the VPSA | ||
3395 | # endpoint. (boolean value) | ||
3396 | #zadara_ssl_cert_verify = true | ||
3397 | |||
3398 | # VPSA - Username (string value) | ||
3399 | #zadara_user = <None> | ||
3400 | |||
3401 | # VPSA - Password (string value) | ||
3402 | #zadara_password = <None> | ||
3403 | |||
3404 | # VPSA - Storage Pool assigned for volumes (string value) | ||
3405 | #zadara_vpsa_poolname = <None> | ||
3406 | |||
3407 | # VPSA - Default encryption policy for volumes (boolean value) | ||
3408 | #zadara_vol_encrypt = false | ||
3409 | |||
3410 | # VPSA - Default template for VPSA volume names (string value) | ||
3411 | #zadara_vol_name_template = OS_%s | ||
3412 | |||
3413 | # VPSA - Attach snapshot policy for volumes (boolean value) | ||
3414 | #zadara_default_snap_policy = false | ||
3415 | |||
3416 | # Storage pool name. (string value) | ||
3417 | #zfssa_pool = <None> | ||
3418 | |||
3419 | # Project name. (string value) | ||
3420 | #zfssa_project = <None> | ||
3421 | |||
3422 | # Block size. (string value) | ||
3423 | # Allowed values: 512, 1k, 2k, 4k, 8k, 16k, 32k, 64k, 128k | ||
3424 | #zfssa_lun_volblocksize = 8k | ||
3425 | |||
3426 | # Flag to enable sparse (thin-provisioned): True, False. (boolean value) | ||
3427 | #zfssa_lun_sparse = false | ||
3428 | |||
3429 | # Data compression. (string value) | ||
3430 | # Allowed values: off, lzjb, gzip-2, gzip, gzip-9 | ||
3431 | #zfssa_lun_compression = off | ||
3432 | |||
3433 | # Synchronous write bias. (string value) | ||
3434 | # Allowed values: latency, throughput | ||
3435 | #zfssa_lun_logbias = latency | ||
3436 | |||
3437 | # iSCSI initiator group. (string value) | ||
3438 | #zfssa_initiator_group = | ||
3439 | |||
3440 | # iSCSI initiator IQNs. (comma separated) (string value) | ||
3441 | #zfssa_initiator = | ||
3442 | |||
3443 | # iSCSI initiator CHAP user (name). (string value) | ||
3444 | #zfssa_initiator_user = | ||
3445 | |||
3446 | # Secret of the iSCSI initiator CHAP user. (string value) | ||
3447 | #zfssa_initiator_password = | ||
3448 | |||
3449 | # iSCSI initiators configuration. (string value) | ||
3450 | #zfssa_initiator_config = | ||
3451 | |||
3452 | # iSCSI target group name. (string value) | ||
3453 | #zfssa_target_group = tgt-grp | ||
3454 | |||
3455 | # iSCSI target CHAP user (name). (string value) | ||
3456 | #zfssa_target_user = | ||
3457 | |||
3458 | # Secret of the iSCSI target CHAP user. (string value) | ||
3459 | #zfssa_target_password = | ||
3460 | |||
3461 | # iSCSI target portal (Data-IP:Port, w.x.y.z:3260). (string value) | ||
3462 | #zfssa_target_portal = <None> | ||
3463 | |||
3464 | # Network interfaces of iSCSI targets. (comma separated) (string value) | ||
3465 | #zfssa_target_interfaces = <None> | ||
3466 | |||
3467 | # REST connection timeout. (seconds) (integer value) | ||
3468 | #zfssa_rest_timeout = <None> | ||
3469 | |||
3470 | # IP address used for replication data. (maybe the same as data ip) (string | ||
747 | # value) | 3471 | # value) |
748 | #iscsi_port=3260 | 3472 | #zfssa_replication_ip = |
749 | 3473 | ||
750 | # Optional override to the capacity based volume backend name | 3474 | # Flag to enable local caching: True, False. (boolean value) |
751 | # | 3475 | #zfssa_enable_local_cache = true |
752 | #volume_backend_name=LVM_iSCSI_unique1 | 3476 | |
3477 | # Name of ZFSSA project where cache volumes are stored. (string value) | ||
3478 | #zfssa_cache_project = os-cinder-cache | ||
3479 | |||
3480 | # Driver policy for volume manage. (string value) | ||
3481 | # Allowed values: loose, strict | ||
3482 | #zfssa_manage_policy = loose | ||
3483 | |||
3484 | # Data path IP address (string value) | ||
3485 | #zfssa_data_ip = <None> | ||
3486 | |||
3487 | # HTTPS port number (string value) | ||
3488 | #zfssa_https_port = 443 | ||
3489 | |||
3490 | # Options to be passed while mounting share over nfs (string value) | ||
3491 | #zfssa_nfs_mount_options = | ||
3492 | |||
3493 | # Storage pool name. (string value) | ||
3494 | #zfssa_nfs_pool = | ||
3495 | |||
3496 | # Project name. (string value) | ||
3497 | #zfssa_nfs_project = NFSProject | ||
3498 | |||
3499 | # Share name. (string value) | ||
3500 | #zfssa_nfs_share = nfs_share | ||
3501 | |||
3502 | # Data compression. (string value) | ||
3503 | # Allowed values: off, lzjb, gzip-2, gzip, gzip-9 | ||
3504 | #zfssa_nfs_share_compression = off | ||
3505 | |||
3506 | # Synchronous write bias-latency, throughput. (string value) | ||
3507 | # Allowed values: latency, throughput | ||
3508 | #zfssa_nfs_share_logbias = latency | ||
3509 | |||
3510 | # Name of directory inside zfssa_nfs_share where cache volumes are stored. | ||
3511 | # (string value) | ||
3512 | #zfssa_cache_directory = os-cinder-cache | ||
3513 | |||
3514 | # Main controller IP. (IP address value) | ||
3515 | #zteControllerIP0 = <None> | ||
3516 | |||
3517 | # Slave controller IP. (IP address value) | ||
3518 | #zteControllerIP1 = <None> | ||
3519 | |||
3520 | # Local IP. (IP address value) | ||
3521 | #zteLocalIP = <None> | ||
3522 | |||
3523 | # User name. (string value) | ||
3524 | #zteUserName = <None> | ||
3525 | |||
3526 | # User password. (string value) | ||
3527 | #zteUserPassword = <None> | ||
3528 | |||
3529 | # Virtual block size of pool. Unit : KB. Valid value : 4, 8, 16, 32, 64, 128, | ||
3530 | # 256, 512. (integer value) | ||
3531 | #zteChunkSize = 4 | ||
3532 | |||
3533 | # Cache readahead size. (integer value) | ||
3534 | #zteAheadReadSize = 8 | ||
3535 | |||
3536 | # Cache policy. 0, Write Back; 1, Write Through. (integer value) | ||
3537 | #zteCachePolicy = 1 | ||
3538 | |||
3539 | # SSD cache switch. 0, OFF; 1, ON. (integer value) | ||
3540 | #zteSSDCacheSwitch = 1 | ||
3541 | |||
3542 | # Pool name list. (list value) | ||
3543 | #zteStoragePool = | ||
3544 | |||
3545 | # Pool volume allocated policy. 0, Auto; 1, High Performance Tier First; 2, | ||
3546 | # Performance Tier First; 3, Capacity Tier First. (integer value) | ||
3547 | #ztePoolVoAllocatedPolicy = 0 | ||
3548 | |||
3549 | # Pool volume move policy.0, Auto; 1, Highest Available; 2, Lowest Available; | ||
3550 | # 3, No Relocation. (integer value) | ||
3551 | #ztePoolVolMovePolicy = 0 | ||
3552 | |||
3553 | # Whether it is a thin volume. (boolean value) | ||
3554 | #ztePoolVolIsThin = false | ||
3555 | |||
3556 | # Pool volume init allocated Capacity.Unit : KB. (integer value) | ||
3557 | #ztePoolVolInitAllocatedCapacity = 0 | ||
3558 | |||
3559 | # Pool volume alarm threshold. [0, 100] (integer value) | ||
3560 | #ztePoolVolAlarmThreshold = 0 | ||
3561 | |||
3562 | # Pool volume alarm stop allocated flag. (integer value) | ||
3563 | #ztePoolVolAlarmStopAllocatedFlag = 0 | ||
3564 | |||
3565 | # Driver to use for volume creation (string value) | ||
3566 | #volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver | ||
3567 | |||
3568 | # User defined capabilities, a JSON formatted string specifying key/value | ||
3569 | # pairs. The key/value pairs can be used by the CapabilitiesFilter to select | ||
3570 | # between backends when requests specify volume types. For example, specifying | ||
3571 | # a service level or the geographical location of a backend, then creating a | ||
3572 | # volume type to allow the user to select by these different properties. | ||
3573 | # (string value) | ||
3574 | #extra_capabilities = {} | ||
3575 | |||
3576 | # Suppress requests library SSL certificate warnings. (boolean value) | ||
3577 | #suppress_requests_ssl_warnings = false | ||
3578 | |||
3579 | |||
3580 | [barbican] | ||
753 | 3581 | ||
754 | # | 3582 | # |
755 | # Options defined in cinder.volume.drivers.glusterfs | 3583 | # From castellan.config |
756 | # | 3584 | # |
757 | 3585 | ||
758 | # File with the list of available gluster shares (string | 3586 | # Use this endpoint to connect to Barbican, for example: |
759 | # value) | 3587 | # "http://localhost:9311/" (string value) |
760 | #glusterfs_shares_config=<None> | 3588 | #barbican_endpoint = <None> |
3589 | |||
3590 | # Version of the Barbican API, for example: "v1" (string value) | ||
3591 | #barbican_api_version = <None> | ||
3592 | |||
3593 | # Use this endpoint to connect to Keystone (string value) | ||
3594 | # Deprecated group/name - [key_manager]/auth_url | ||
3595 | #auth_endpoint = http://localhost/identity/v3 | ||
761 | 3596 | ||
762 | # Base dir where gluster expected to be mounted (string value) | 3597 | # Number of seconds to wait before retrying poll for key creation completion |
763 | #glusterfs_mount_point_base=$state_path/mnt | 3598 | # (integer value) |
3599 | #retry_delay = 1 | ||
3600 | |||
3601 | # Number of times to retry poll for key creation completion (integer value) | ||
3602 | #number_of_retries = 60 | ||
764 | 3603 | ||
765 | # Use du or df for free space calculation (string value) | 3604 | # Specifies if insecure TLS (https) requests. If False, the server's |
766 | #glusterfs_disk_util=df | 3605 | # certificate will not be validated (boolean value) |
3606 | #verify_ssl = true | ||
767 | 3607 | ||
768 | # Create volumes as sparsed files which take no space.If set | ||
769 | # to False volume is created as regular file.In such case | ||
770 | # volume creation takes a lot of time. (boolean value) | ||
771 | #glusterfs_sparsed_volumes=true | ||
772 | 3608 | ||
3609 | [brcd_fabric_example] | ||
773 | 3610 | ||
774 | # | 3611 | # |
775 | # Options defined in cinder.volume.drivers.lvm | 3612 | # From cinder |
776 | # | 3613 | # |
777 | 3614 | ||
778 | # Name for the VG that will contain exported volumes (string | 3615 | # South bound connector for the fabric. (string value) |
779 | # value) | 3616 | # Allowed values: SSH, HTTP, HTTPS |
780 | #volume_group=cinder-volumes | 3617 | #fc_southbound_protocol = HTTP |
781 | 3618 | ||
782 | # Method used to wipe old volumes (valid options are: none, | 3619 | # Management IP of fabric. (string value) |
783 | # zero, shred) (string value) | 3620 | #fc_fabric_address = |
784 | #volume_clear=zero | ||
785 | 3621 | ||
786 | # Size in MiB to wipe at start of old volumes. 0 => all | 3622 | # Fabric user ID. (string value) |
787 | # (integer value) | 3623 | #fc_fabric_user = |
788 | #volume_clear_size=0 | ||
789 | 3624 | ||
790 | # Size of thin provisioning pool (None uses entire cinder VG) | 3625 | # Password for user. (string value) |
791 | # (string value) | 3626 | #fc_fabric_password = |
792 | #pool_size=<None> | ||
793 | 3627 | ||
794 | # If set, create lvms with multiple mirrors. Note that this | 3628 | # Connecting port (port value) |
795 | # requires lvm_mirrors + 2 pvs with available space (integer | 3629 | # Minimum value: 0 |
796 | # value) | 3630 | # Maximum value: 65535 |
797 | #lvm_mirrors=0 | 3631 | #fc_fabric_port = 22 |
3632 | |||
3633 | # Local SSH certificate Path. (string value) | ||
3634 | #fc_fabric_ssh_cert_path = | ||
3635 | |||
3636 | # Overridden zoning policy. (string value) | ||
3637 | #zoning_policy = initiator-target | ||
798 | 3638 | ||
3639 | # Overridden zoning activation state. (boolean value) | ||
3640 | #zone_activate = true | ||
3641 | |||
3642 | # Overridden zone name prefix. (string value) | ||
3643 | #zone_name_prefix = openstack | ||
3644 | |||
3645 | # Virtual Fabric ID. (string value) | ||
3646 | #fc_virtual_fabric_id = <None> | ||
3647 | |||
3648 | |||
3649 | [cisco_fabric_example] | ||
799 | 3650 | ||
800 | # | 3651 | # |
801 | # Options defined in cinder.volume.drivers.netapp | 3652 | # From cinder |
802 | # | 3653 | # |
803 | 3654 | ||
804 | # URL of the WSDL file for the DFM server (string value) | 3655 | # Management IP of fabric (string value) |
805 | #netapp_wsdl_url=<None> | 3656 | #cisco_fc_fabric_address = |
806 | 3657 | ||
807 | # User name for the DFM server (string value) | 3658 | # Fabric user ID (string value) |
808 | #netapp_login=<None> | 3659 | #cisco_fc_fabric_user = |
809 | 3660 | ||
810 | # Password for the DFM server (string value) | 3661 | # Password for user (string value) |
811 | #netapp_password=<None> | 3662 | #cisco_fc_fabric_password = |
812 | 3663 | ||
813 | # Hostname for the DFM server (string value) | 3664 | # Connecting port (port value) |
814 | #netapp_server_hostname=<None> | 3665 | # Minimum value: 0 |
3666 | # Maximum value: 65535 | ||
3667 | #cisco_fc_fabric_port = 22 | ||
815 | 3668 | ||
816 | # Port number for the DFM server (integer value) | 3669 | # overridden zoning policy (string value) |
817 | #netapp_server_port=8088 | 3670 | #cisco_zoning_policy = initiator-target |
818 | 3671 | ||
819 | # Storage service to use for provisioning (when | 3672 | # overridden zoning activation state (boolean value) |
820 | # volume_type=None) (string value) | 3673 | #cisco_zone_activate = true |
821 | #netapp_storage_service=<None> | ||
822 | 3674 | ||
823 | # Prefix of storage service name to use for provisioning | 3675 | # overridden zone name prefix (string value) |
824 | # (volume_type name will be appended) (string value) | 3676 | #cisco_zone_name_prefix = <None> |
825 | #netapp_storage_service_prefix=<None> | ||
826 | 3677 | ||
827 | # Vfiler to use for provisioning (string value) | 3678 | # VSAN of the Fabric (string value) |
828 | #netapp_vfiler=<None> | 3679 | #cisco_zoning_vsan = <None> |
829 | 3680 | ||
830 | 3681 | ||
3682 | [coordination] | ||
3683 | |||
831 | # | 3684 | # |
832 | # Options defined in cinder.volume.drivers.netapp_nfs | 3685 | # From cinder |
833 | # | 3686 | # |
834 | 3687 | ||
835 | # Does snapshot creation call returns immediately (integer | 3688 | # The backend URL to use for distributed coordination. (string value) |
836 | # value) | 3689 | #backend_url = file://$state_path |
837 | #synchronous_snapshot_create=0 | 3690 | |
3691 | # DEPRECATED: Number of seconds between heartbeats for distributed | ||
3692 | # coordination. No longer used since distributed coordination manages its | ||
3693 | # heartbeat internally. (floating point value) | ||
3694 | # This option is deprecated for removal since 11.0.0. | ||
3695 | # Its value may be silently ignored in the future. | ||
3696 | # Reason: This option is no longer used. | ||
3697 | #heartbeat = 1.0 | ||
3698 | |||
3699 | # DEPRECATED: Initial number of seconds to wait after failed reconnection. No | ||
3700 | # longer used since distributed coordination manages its heartbeat internally. | ||
3701 | # (floating point value) | ||
3702 | # This option is deprecated for removal since 11.0.0. | ||
3703 | # Its value may be silently ignored in the future. | ||
3704 | # Reason: This option is no longer used. | ||
3705 | #initial_reconnect_backoff = 0.1 | ||
838 | 3706 | ||
839 | # URL of the WSDL file for the DFM server (string value) | 3707 | # DEPRECATED: Maximum number of seconds between sequential reconnection |
840 | #netapp_wsdl_url=<None> | 3708 | # retries. No longer used since distributed coordination manages its heartbeat |
3709 | # internally. (floating point value) | ||
3710 | # This option is deprecated for removal since 11.0.0. | ||
3711 | # Its value may be silently ignored in the future. | ||
3712 | # Reason: This option is no longer used. | ||
3713 | #max_reconnect_backoff = 60.0 | ||
841 | 3714 | ||
842 | # User name for the DFM server (string value) | ||
843 | #netapp_login=<None> | ||
844 | 3715 | ||
845 | # Password for the DFM server (string value) | 3716 | [cors] |
846 | #netapp_password=<None> | ||
847 | 3717 | ||
848 | # Hostname for the DFM server (string value) | 3718 | # |
849 | #netapp_server_hostname=<None> | 3719 | # From oslo.middleware |
3720 | # | ||
3721 | |||
3722 | # Indicate whether this resource may be shared with the domain received in the | ||
3723 | # requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing | ||
3724 | # slash. Example: https://horizon.example.com (list value) | ||
3725 | #allowed_origin = <None> | ||
3726 | |||
3727 | # Indicate that the actual request can include user credentials (boolean value) | ||
3728 | #allow_credentials = true | ||
850 | 3729 | ||
851 | # Port number for the DFM server (integer value) | 3730 | # Indicate which headers are safe to expose to the API. Defaults to HTTP Simple |
852 | #netapp_server_port=8088 | 3731 | # Headers. (list value) |
3732 | #expose_headers = X-Auth-Token,X-Subject-Token,X-Service-Token,X-OpenStack-Request-ID,OpenStack-API-Version | ||
853 | 3733 | ||
854 | # Storage service to use for provisioning (when | 3734 | # Maximum cache age of CORS preflight requests. (integer value) |
855 | # volume_type=None) (string value) | 3735 | #max_age = 3600 |
856 | #netapp_storage_service=<None> | ||
857 | 3736 | ||
858 | # Prefix of storage service name to use for provisioning | 3737 | # Indicate which methods can be used during the actual request. (list value) |
859 | # (volume_type name will be appended) (string value) | 3738 | #allow_methods = GET,PUT,POST,DELETE,PATCH,HEAD |
860 | #netapp_storage_service_prefix=<None> | ||
861 | 3739 | ||
862 | # Vfiler to use for provisioning (string value) | 3740 | # Indicate which header field names may be used during the actual request. |
863 | #netapp_vfiler=<None> | 3741 | # (list value) |
3742 | #allow_headers = X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-OpenStack-Request-ID,X-Trace-Info,X-Trace-HMAC,OpenStack-API-Version | ||
864 | 3743 | ||
865 | 3744 | ||
3745 | [database] | ||
3746 | |||
866 | # | 3747 | # |
867 | # Options defined in cinder.volume.drivers.nexenta.volume | 3748 | # From oslo.db |
868 | # | 3749 | # |
869 | 3750 | ||
870 | # IP address of Nexenta SA (string value) | 3751 | # If True, SQLite uses synchronous mode. (boolean value) |
871 | #nexenta_host= | 3752 | #sqlite_synchronous = true |
872 | 3753 | ||
873 | # HTTP port to connect to Nexenta REST API server (integer | 3754 | # The back end to use for the database. (string value) |
3755 | # Deprecated group/name - [DEFAULT]/db_backend | ||
3756 | #backend = sqlalchemy | ||
3757 | |||
3758 | # The SQLAlchemy connection string to use to connect to the database. (string | ||
874 | # value) | 3759 | # value) |
875 | #nexenta_rest_port=2000 | 3760 | # Deprecated group/name - [DEFAULT]/sql_connection |
3761 | # Deprecated group/name - [DATABASE]/sql_connection | ||
3762 | # Deprecated group/name - [sql]/connection | ||
3763 | #connection = <None> | ||
3764 | |||
3765 | # The SQLAlchemy connection string to use to connect to the slave database. | ||
3766 | # (string value) | ||
3767 | #slave_connection = <None> | ||
3768 | |||
3769 | # The SQL mode to be used for MySQL sessions. This option, including the | ||
3770 | # default, overrides any server-set SQL mode. To use whatever SQL mode is set | ||
3771 | # by the server configuration, set this to no value. Example: mysql_sql_mode= | ||
3772 | # (string value) | ||
3773 | #mysql_sql_mode = TRADITIONAL | ||
876 | 3774 | ||
877 | # Use http or https for REST connection (default auto) (string | 3775 | # If True, transparently enables support for handling MySQL Cluster (NDB). |
3776 | # (boolean value) | ||
3777 | #mysql_enable_ndb = false | ||
3778 | |||
3779 | # Timeout before idle SQL connections are reaped. (integer value) | ||
3780 | # Deprecated group/name - [DEFAULT]/sql_idle_timeout | ||
3781 | # Deprecated group/name - [DATABASE]/sql_idle_timeout | ||
3782 | # Deprecated group/name - [sql]/idle_timeout | ||
3783 | #idle_timeout = 3600 | ||
3784 | |||
3785 | # Minimum number of SQL connections to keep open in a pool. (integer value) | ||
3786 | # Deprecated group/name - [DEFAULT]/sql_min_pool_size | ||
3787 | # Deprecated group/name - [DATABASE]/sql_min_pool_size | ||
3788 | #min_pool_size = 1 | ||
3789 | |||
3790 | # Maximum number of SQL connections to keep open in a pool. Setting a value of | ||
3791 | # 0 indicates no limit. (integer value) | ||
3792 | # Deprecated group/name - [DEFAULT]/sql_max_pool_size | ||
3793 | # Deprecated group/name - [DATABASE]/sql_max_pool_size | ||
3794 | #max_pool_size = 5 | ||
3795 | |||
3796 | # Maximum number of database connection retries during startup. Set to -1 to | ||
3797 | # specify an infinite retry count. (integer value) | ||
3798 | # Deprecated group/name - [DEFAULT]/sql_max_retries | ||
3799 | # Deprecated group/name - [DATABASE]/sql_max_retries | ||
3800 | #max_retries = 10 | ||
3801 | |||
3802 | # Interval between retries of opening a SQL connection. (integer value) | ||
3803 | # Deprecated group/name - [DEFAULT]/sql_retry_interval | ||
3804 | # Deprecated group/name - [DATABASE]/reconnect_interval | ||
3805 | #retry_interval = 10 | ||
3806 | |||
3807 | # If set, use this value for max_overflow with SQLAlchemy. (integer value) | ||
3808 | # Deprecated group/name - [DEFAULT]/sql_max_overflow | ||
3809 | # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow | ||
3810 | #max_overflow = 50 | ||
3811 | |||
3812 | # Verbosity of SQL debugging information: 0=None, 100=Everything. (integer | ||
878 | # value) | 3813 | # value) |
879 | #nexenta_rest_protocol=auto | 3814 | # Minimum value: 0 |
3815 | # Maximum value: 100 | ||
3816 | # Deprecated group/name - [DEFAULT]/sql_connection_debug | ||
3817 | #connection_debug = 0 | ||
880 | 3818 | ||
881 | # User name to connect to Nexenta SA (string value) | 3819 | # Add Python stack traces to SQL as comment strings. (boolean value) |
882 | #nexenta_user=admin | 3820 | # Deprecated group/name - [DEFAULT]/sql_connection_trace |
3821 | #connection_trace = false | ||
883 | 3822 | ||
884 | # Password to connect to Nexenta SA (string value) | 3823 | # If set, use this value for pool_timeout with SQLAlchemy. (integer value) |
885 | #nexenta_password=nexenta | 3824 | # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout |
3825 | #pool_timeout = <None> | ||
886 | 3826 | ||
887 | # Nexenta target portal port (integer value) | 3827 | # Enable the experimental use of database reconnect on connection lost. |
888 | #nexenta_iscsi_target_portal_port=3260 | 3828 | # (boolean value) |
3829 | #use_db_reconnect = false | ||
889 | 3830 | ||
890 | # pool on SA that will hold all volumes (string value) | 3831 | # Seconds between retries of a database transaction. (integer value) |
891 | #nexenta_volume=cinder | 3832 | #db_retry_interval = 1 |
892 | 3833 | ||
893 | # IQN prefix for iSCSI targets (string value) | 3834 | # If True, increases the interval between retries of a database operation up to |
894 | #nexenta_target_prefix=iqn.1986-03.com.sun:02:cinder- | 3835 | # db_max_retry_interval. (boolean value) |
3836 | #db_inc_retry_interval = true | ||
895 | 3837 | ||
896 | # prefix for iSCSI target groups on SA (string value) | 3838 | # If db_inc_retry_interval is set, the maximum seconds between retries of a |
897 | #nexenta_target_group_prefix=cinder/ | 3839 | # database operation. (integer value) |
3840 | #db_max_retry_interval = 10 | ||
898 | 3841 | ||
899 | # block size for volumes (blank=default,8KB) (string value) | 3842 | # Maximum retries in case of connection error or deadlock error before error is |
900 | #nexenta_blocksize= | 3843 | # raised. Set to -1 to specify an infinite retry count. (integer value) |
3844 | #db_max_retries = 20 | ||
901 | 3845 | ||
902 | # flag to create sparse volumes (boolean value) | ||
903 | #nexenta_sparse=false | ||
904 | 3846 | ||
3847 | [fc-zone-manager] | ||
905 | 3848 | ||
906 | # | 3849 | # |
907 | # Options defined in cinder.volume.drivers.nfs | 3850 | # From cinder |
908 | # | 3851 | # |
909 | 3852 | ||
910 | # File with the list of available nfs shares (string value) | 3853 | # South bound connector for zoning operation (string value) |
911 | #nfs_shares_config=<None> | 3854 | #brcd_sb_connector = HTTP |
3855 | |||
3856 | # Southbound connector for zoning operation (string value) | ||
3857 | #cisco_sb_connector = cinder.zonemanager.drivers.cisco.cisco_fc_zone_client_cli.CiscoFCZoneClientCLI | ||
3858 | |||
3859 | # FC Zone Driver responsible for zone management (string value) | ||
3860 | #zone_driver = cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver.BrcdFCZoneDriver | ||
912 | 3861 | ||
913 | # Base dir where nfs expected to be mounted (string value) | 3862 | # Zoning policy configured by user; valid values include "initiator-target" or |
914 | #nfs_mount_point_base=$state_path/mnt | 3863 | # "initiator" (string value) |
3864 | #zoning_policy = initiator-target | ||
915 | 3865 | ||
916 | # Use du or df for free space calculation (string value) | 3866 | # Comma separated list of Fibre Channel fabric names. This list of names is |
917 | #nfs_disk_util=df | 3867 | # used to retrieve other SAN credentials for connecting to each SAN fabric |
3868 | # (string value) | ||
3869 | #fc_fabric_names = <None> | ||
3870 | |||
3871 | # FC SAN Lookup Service (string value) | ||
3872 | #fc_san_lookup_service = cinder.zonemanager.drivers.brocade.brcd_fc_san_lookup_service.BrcdFCSanLookupService | ||
918 | 3873 | ||
919 | # Create volumes as sparsed files which take no space.If set | 3874 | # Set this to True when you want to allow an unsupported zone manager driver to |
920 | # to False volume is created as regular file.In such case | 3875 | # start. Drivers that haven't maintained a working CI system and testing are |
921 | # volume creation takes a lot of time. (boolean value) | 3876 | # marked as unsupported until CI is working again. This also marks a driver as |
922 | #nfs_sparsed_volumes=true | 3877 | # deprecated and may be removed in the next release. (boolean value) |
3878 | #enable_unsupported_driver = false | ||
923 | 3879 | ||
924 | # Mount options passed to the nfs client (string value) | ||
925 | # The value set here is passed directly to the -o flag | ||
926 | # of the mount command. See the nfs man page for details. | ||
927 | #nfs_mount_options=None | ||
928 | 3880 | ||
3881 | [healthcheck] | ||
929 | 3882 | ||
930 | # | 3883 | # |
931 | # Options defined in cinder.volume.drivers.rbd | 3884 | # From oslo.middleware |
932 | # | 3885 | # |
933 | 3886 | ||
934 | # the RADOS pool in which rbd volumes are stored (string | 3887 | # DEPRECATED: The path to respond to healtcheck requests on. (string value) |
935 | # value) | 3888 | # This option is deprecated for removal. |
936 | #rbd_pool=rbd | 3889 | # Its value may be silently ignored in the future. |
3890 | #path = /healthcheck | ||
937 | 3891 | ||
938 | # the RADOS client name for accessing rbd volumes (string | 3892 | # Show more detailed information as part of the response (boolean value) |
939 | # value) | 3893 | #detailed = false |
940 | #rbd_user=<None> | ||
941 | 3894 | ||
942 | # the libvirt uuid of the secret for the rbd_uservolumes | 3895 | # Additional backends that can perform health checks and report that |
943 | # (string value) | 3896 | # information back as part of a request. (list value) |
944 | #rbd_secret_uuid=<None> | 3897 | #backends = |
3898 | |||
3899 | # Check the presence of a file to determine if an application is running on a | ||
3900 | # port. Used by DisableByFileHealthcheck plugin. (string value) | ||
3901 | #disable_by_file_path = <None> | ||
945 | 3902 | ||
946 | # where to store temporary image files if the volume driver | 3903 | # Check the presence of a file based on a port to determine if an application |
947 | # does not write them directly to the volume (string value) | 3904 | # is running on a port. Expects a "port:path" list of strings. Used by |
948 | #volume_tmp_dir=<None> | 3905 | # DisableByFilesPortsHealthcheck plugin. (list value) |
3906 | #disable_by_file_paths = | ||
949 | 3907 | ||
950 | 3908 | ||
3909 | [key_manager] | ||
3910 | |||
951 | # | 3911 | # |
952 | # Options defined in cinder.volume.drivers.san.san | 3912 | # From castellan.config |
953 | # | 3913 | # |
954 | 3914 | ||
955 | # Use thin provisioning for SAN volumes? (boolean value) | 3915 | # The full class name of the key manager API class (string value) |
956 | #san_thin_provision=true | 3916 | #api_class = castellan.key_manager.barbican_key_manager.BarbicanKeyManager |
957 | 3917 | ||
958 | # IP address of SAN controller (string value) | 3918 | # The type of authentication credential to create. Possible values are 'token', |
959 | #san_ip= | 3919 | # 'password', 'keystone_token', and 'keystone_password'. Required if no context |
3920 | # is passed to the credential factory. (string value) | ||
3921 | #auth_type = <None> | ||
960 | 3922 | ||
961 | # Username for SAN controller (string value) | 3923 | # Token for authentication. Required for 'token' and 'keystone_token' auth_type |
962 | #san_login=admin | 3924 | # if no context is passed to the credential factory. (string value) |
3925 | #token = <None> | ||
963 | 3926 | ||
964 | # Password for SAN controller (string value) | 3927 | # Username for authentication. Required for 'password' auth_type. Optional for |
965 | #san_password= | 3928 | # the 'keystone_password' auth_type. (string value) |
3929 | #username = <None> | ||
966 | 3930 | ||
967 | # Filename of private key to use for SSH authentication | 3931 | # Password for authentication. Required for 'password' and 'keystone_password' |
968 | # (string value) | 3932 | # auth_type. (string value) |
969 | #san_private_key= | 3933 | #password = <None> |
970 | 3934 | ||
971 | # Cluster name to use for creating volumes (string value) | 3935 | # Use this endpoint to connect to Keystone. (string value) |
972 | #san_clustername= | 3936 | #auth_url = <None> |
973 | 3937 | ||
974 | # SSH port to use with SAN (integer value) | 3938 | # User ID for authentication. Optional for 'keystone_token' and |
975 | #san_ssh_port=22 | 3939 | # 'keystone_password' auth_type. (string value) |
3940 | #user_id = <None> | ||
976 | 3941 | ||
977 | # Execute commands locally instead of over SSH; use if the | 3942 | # User's domain ID for authentication. Optional for 'keystone_token' and |
978 | # volume service is running on the SAN device (boolean value) | 3943 | # 'keystone_password' auth_type. (string value) |
979 | #san_is_local=false | 3944 | #user_domain_id = <None> |
980 | 3945 | ||
981 | # SSH connection timeout in seconds (integer value) | 3946 | # User's domain name for authentication. Optional for 'keystone_token' and |
982 | #ssh_conn_timeout=30 | 3947 | # 'keystone_password' auth_type. (string value) |
3948 | #user_domain_name = <None> | ||
983 | 3949 | ||
984 | # Minimum ssh connections in the pool (integer value) | 3950 | # Trust ID for trust scoping. Optional for 'keystone_token' and |
985 | #ssh_min_pool_conn=1 | 3951 | # 'keystone_password' auth_type. (string value) |
3952 | #trust_id = <None> | ||
986 | 3953 | ||
987 | # Maximum ssh connections in the pool (integer value) | 3954 | # Domain ID for domain scoping. Optional for 'keystone_token' and |
988 | #ssh_max_pool_conn=5 | 3955 | # 'keystone_password' auth_type. (string value) |
3956 | #domain_id = <None> | ||
3957 | |||
3958 | # Domain name for domain scoping. Optional for 'keystone_token' and | ||
3959 | # 'keystone_password' auth_type. (string value) | ||
3960 | #domain_name = <None> | ||
3961 | |||
3962 | # Project ID for project scoping. Optional for 'keystone_token' and | ||
3963 | # 'keystone_password' auth_type. (string value) | ||
3964 | #project_id = <None> | ||
3965 | |||
3966 | # Project name for project scoping. Optional for 'keystone_token' and | ||
3967 | # 'keystone_password' auth_type. (string value) | ||
3968 | #project_name = <None> | ||
3969 | |||
3970 | # Project's domain ID for project. Optional for 'keystone_token' and | ||
3971 | # 'keystone_password' auth_type. (string value) | ||
3972 | #project_domain_id = <None> | ||
989 | 3973 | ||
3974 | # Project's domain name for project. Optional for 'keystone_token' and | ||
3975 | # 'keystone_password' auth_type. (string value) | ||
3976 | #project_domain_name = <None> | ||
3977 | |||
3978 | # Allow fetching a new token if the current one is going to expire. Optional | ||
3979 | # for 'keystone_token' and 'keystone_password' auth_type. (boolean value) | ||
3980 | #reauthenticate = true | ||
990 | 3981 | ||
991 | # | 3982 | # |
992 | # Options defined in cinder.volume.drivers.san.solaris | 3983 | # From cinder |
993 | # | 3984 | # |
994 | 3985 | ||
995 | # The ZFS path under which to create zvols for volumes. | 3986 | # Fixed key returned by key manager, specified in hex (string value) |
996 | # (string value) | 3987 | #fixed_key = <None> |
997 | #san_zfs_volume_base=rpool/ | ||
998 | 3988 | ||
999 | 3989 | ||
3990 | [keystone_authtoken] | ||
3991 | |||
1000 | # | 3992 | # |
1001 | # Options defined in cinder.volume.drivers.scality | 3993 | # From keystonemiddleware.auth_token |
1002 | # | 3994 | # |
1003 | 3995 | ||
1004 | # Path or URL to Scality SOFS configuration file (string | 3996 | # Complete "public" Identity API endpoint. This endpoint should not be an |
3997 | # "admin" endpoint, as it should be accessible by all end users. | ||
3998 | # Unauthenticated clients are redirected to this endpoint to authenticate. | ||
3999 | # Although this endpoint should ideally be unversioned, client support in the | ||
4000 | # wild varies. If you're using a versioned v2 endpoint here, then this should | ||
4001 | # *not* be the same endpoint the service user utilizes for validating tokens, | ||
4002 | # because normal end users may not be able to reach that endpoint. (string | ||
1005 | # value) | 4003 | # value) |
1006 | #scality_sofs_config=<None> | 4004 | #auth_uri = <None> |
1007 | 4005 | ||
1008 | # Base dir where Scality SOFS shall be mounted (string value) | 4006 | # API version of the admin Identity API endpoint. (string value) |
1009 | #scality_sofs_mount_point=$state_path/scality | 4007 | #auth_version = <None> |
1010 | 4008 | ||
1011 | # Path from Scality SOFS root to volume dir (string value) | 4009 | # Do not handle authorization requests within the middleware, but delegate the |
1012 | #scality_sofs_volume_dir=cinder/volumes | 4010 | # authorization decision to downstream WSGI components. (boolean value) |
4011 | #delay_auth_decision = false | ||
1013 | 4012 | ||
4013 | # Request timeout value for communicating with Identity API server. (integer | ||
4014 | # value) | ||
4015 | #http_connect_timeout = <None> | ||
4016 | |||
4017 | # How many times are we trying to reconnect when communicating with Identity | ||
4018 | # API Server. (integer value) | ||
4019 | #http_request_max_retries = 3 | ||
4020 | |||
4021 | # Request environment key where the Swift cache object is stored. When | ||
4022 | # auth_token middleware is deployed with a Swift cache, use this option to have | ||
4023 | # the middleware share a caching backend with swift. Otherwise, use the | ||
4024 | # ``memcached_servers`` option instead. (string value) | ||
4025 | #cache = <None> | ||
4026 | |||
4027 | # Required if identity server requires client certificate (string value) | ||
4028 | #certfile = <None> | ||
4029 | |||
4030 | # Required if identity server requires client certificate (string value) | ||
4031 | #keyfile = <None> | ||
4032 | |||
4033 | # A PEM encoded Certificate Authority to use when verifying HTTPs connections. | ||
4034 | # Defaults to system CAs. (string value) | ||
4035 | #cafile = <None> | ||
4036 | |||
4037 | # Verify HTTPS connections. (boolean value) | ||
4038 | #insecure = false | ||
4039 | |||
4040 | # The region in which the identity server can be found. (string value) | ||
4041 | #region_name = <None> | ||
4042 | |||
4043 | # DEPRECATED: Directory used to cache files related to PKI tokens. This option | ||
4044 | # has been deprecated in the Ocata release and will be removed in the P | ||
4045 | # release. (string value) | ||
4046 | # This option is deprecated for removal since Ocata. | ||
4047 | # Its value may be silently ignored in the future. | ||
4048 | # Reason: PKI token format is no longer supported. | ||
4049 | #signing_dir = <None> | ||
4050 | |||
4051 | # Optionally specify a list of memcached server(s) to use for caching. If left | ||
4052 | # undefined, tokens will instead be cached in-process. (list value) | ||
4053 | # Deprecated group/name - [keystone_authtoken]/memcache_servers | ||
4054 | #memcached_servers = <None> | ||
4055 | |||
4056 | # In order to prevent excessive effort spent validating tokens, the middleware | ||
4057 | # caches previously-seen tokens for a configurable duration (in seconds). Set | ||
4058 | # to -1 to disable caching completely. (integer value) | ||
4059 | #token_cache_time = 300 | ||
4060 | |||
4061 | # DEPRECATED: Determines the frequency at which the list of revoked tokens is | ||
4062 | # retrieved from the Identity service (in seconds). A high number of revocation | ||
4063 | # events combined with a low cache duration may significantly reduce | ||
4064 | # performance. Only valid for PKI tokens. This option has been deprecated in | ||
4065 | # the Ocata release and will be removed in the P release. (integer value) | ||
4066 | # This option is deprecated for removal since Ocata. | ||
4067 | # Its value may be silently ignored in the future. | ||
4068 | # Reason: PKI token format is no longer supported. | ||
4069 | #revocation_cache_time = 10 | ||
4070 | |||
4071 | # (Optional) If defined, indicate whether token data should be authenticated or | ||
4072 | # authenticated and encrypted. If MAC, token data is authenticated (with HMAC) | ||
4073 | # in the cache. If ENCRYPT, token data is encrypted and authenticated in the | ||
4074 | # cache. If the value is not one of these options or empty, auth_token will | ||
4075 | # raise an exception on initialization. (string value) | ||
4076 | # Allowed values: None, MAC, ENCRYPT | ||
4077 | #memcache_security_strategy = None | ||
4078 | |||
4079 | # (Optional, mandatory if memcache_security_strategy is defined) This string is | ||
4080 | # used for key derivation. (string value) | ||
4081 | #memcache_secret_key = <None> | ||
4082 | |||
4083 | # (Optional) Number of seconds memcached server is considered dead before it is | ||
4084 | # tried again. (integer value) | ||
4085 | #memcache_pool_dead_retry = 300 | ||
4086 | |||
4087 | # (Optional) Maximum total number of open connections to every memcached | ||
4088 | # server. (integer value) | ||
4089 | #memcache_pool_maxsize = 10 | ||
4090 | |||
4091 | # (Optional) Socket timeout in seconds for communicating with a memcached | ||
4092 | # server. (integer value) | ||
4093 | #memcache_pool_socket_timeout = 3 | ||
4094 | |||
4095 | # (Optional) Number of seconds a connection to memcached is held unused in the | ||
4096 | # pool before it is closed. (integer value) | ||
4097 | #memcache_pool_unused_timeout = 60 | ||
4098 | |||
4099 | # (Optional) Number of seconds that an operation will wait to get a memcached | ||
4100 | # client connection from the pool. (integer value) | ||
4101 | #memcache_pool_conn_get_timeout = 10 | ||
4102 | |||
4103 | # (Optional) Use the advanced (eventlet safe) memcached client pool. The | ||
4104 | # advanced pool will only work under python 2.x. (boolean value) | ||
4105 | #memcache_use_advanced_pool = false | ||
4106 | |||
4107 | # (Optional) Indicate whether to set the X-Service-Catalog header. If False, | ||
4108 | # middleware will not ask for service catalog on token validation and will not | ||
4109 | # set the X-Service-Catalog header. (boolean value) | ||
4110 | #include_service_catalog = true | ||
4111 | |||
4112 | # Used to control the use and type of token binding. Can be set to: "disabled" | ||
4113 | # to not check token binding. "permissive" (default) to validate binding | ||
4114 | # information if the bind type is of a form known to the server and ignore it | ||
4115 | # if not. "strict" like "permissive" but if the bind type is unknown the token | ||
4116 | # will be rejected. "required" any form of token binding is needed to be | ||
4117 | # allowed. Finally the name of a binding method that must be present in tokens. | ||
4118 | # (string value) | ||
4119 | #enforce_token_bind = permissive | ||
4120 | |||
4121 | # DEPRECATED: If true, the revocation list will be checked for cached tokens. | ||
4122 | # This requires that PKI tokens are configured on the identity server. (boolean | ||
4123 | # value) | ||
4124 | # This option is deprecated for removal since Ocata. | ||
4125 | # Its value may be silently ignored in the future. | ||
4126 | # Reason: PKI token format is no longer supported. | ||
4127 | #check_revocations_for_cached = false | ||
4128 | |||
4129 | # DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a | ||
4130 | # single algorithm or multiple. The algorithms are those supported by Python | ||
4131 | # standard hashlib.new(). The hashes will be tried in the order given, so put | ||
4132 | # the preferred one first for performance. The result of the first hash will be | ||
4133 | # stored in the cache. This will typically be set to multiple values only while | ||
4134 | # migrating from a less secure algorithm to a more secure one. Once all the old | ||
4135 | # tokens are expired this option should be set to a single value for better | ||
4136 | # performance. (list value) | ||
4137 | # This option is deprecated for removal since Ocata. | ||
4138 | # Its value may be silently ignored in the future. | ||
4139 | # Reason: PKI token format is no longer supported. | ||
4140 | #hash_algorithms = md5 | ||
4141 | |||
4142 | # A choice of roles that must be present in a service token. Service tokens are | ||
4143 | # allowed to request that an expired token can be used and so this check should | ||
4144 | # tightly control that only actual services should be sending this token. Roles | ||
4145 | # here are applied as an ANY check so any role in this list must be present. | ||
4146 | # For backwards compatibility reasons this currently only affects the | ||
4147 | # allow_expired check. (list value) | ||
4148 | #service_token_roles = service | ||
4149 | |||
4150 | # For backwards compatibility reasons we must let valid service tokens pass | ||
4151 | # that don't pass the service_token_roles check as valid. Setting this true | ||
4152 | # will become the default in a future release and should be enabled if | ||
4153 | # possible. (boolean value) | ||
4154 | #service_token_roles_required = false | ||
4155 | |||
4156 | # Authentication type to load (string value) | ||
4157 | # Deprecated group/name - [keystone_authtoken]/auth_plugin | ||
4158 | #auth_type = <None> | ||
4159 | |||
4160 | # Config Section from which to load plugin specific options (string value) | ||
4161 | #auth_section = <None> | ||
4162 | |||
4163 | |||
4164 | [matchmaker_redis] | ||
1014 | 4165 | ||
1015 | # | 4166 | # |
1016 | # Options defined in cinder.volume.drivers.solidfire | 4167 | # From oslo.messaging |
1017 | # | 4168 | # |
1018 | 4169 | ||
1019 | # Set 512 byte emulation on volume creation; (boolean value) | 4170 | # DEPRECATED: Host to locate redis. (string value) |
1020 | #sf_emulate_512=true | 4171 | # This option is deprecated for removal. |
4172 | # Its value may be silently ignored in the future. | ||
4173 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4174 | #host = 127.0.0.1 | ||
1021 | 4175 | ||
1022 | # Allow tenants to specify QOS on create (boolean value) | 4176 | # DEPRECATED: Use this port to connect to redis host. (port value) |
1023 | #sf_allow_tenant_qos=false | 4177 | # Minimum value: 0 |
4178 | # Maximum value: 65535 | ||
4179 | # This option is deprecated for removal. | ||
4180 | # Its value may be silently ignored in the future. | ||
4181 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4182 | #port = 6379 | ||
4183 | |||
4184 | # DEPRECATED: Password for Redis server (optional). (string value) | ||
4185 | # This option is deprecated for removal. | ||
4186 | # Its value may be silently ignored in the future. | ||
4187 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4188 | #password = | ||
4189 | |||
4190 | # DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g., | ||
4191 | # [host:port, host1:port ... ] (list value) | ||
4192 | # This option is deprecated for removal. | ||
4193 | # Its value may be silently ignored in the future. | ||
4194 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4195 | #sentinel_hosts = | ||
4196 | |||
4197 | # Redis replica set name. (string value) | ||
4198 | #sentinel_group_name = oslo-messaging-zeromq | ||
4199 | |||
4200 | # Time in ms to wait between connection attempts. (integer value) | ||
4201 | #wait_timeout = 2000 | ||
4202 | |||
4203 | # Time in ms to wait before the transaction is killed. (integer value) | ||
4204 | #check_timeout = 20000 | ||
4205 | |||
4206 | # Timeout in ms on blocking socket operations. (integer value) | ||
4207 | #socket_timeout = 10000 | ||
1024 | 4208 | ||
1025 | 4209 | ||
4210 | [nova] | ||
4211 | |||
1026 | # | 4212 | # |
1027 | # Options defined in cinder.volume.drivers.storwize_svc | 4213 | # From cinder |
1028 | # | 4214 | # |
1029 | 4215 | ||
1030 | # Storage system storage pool for volumes (string value) | 4216 | # Name of nova region to use. Useful if keystone manages more than one region. |
1031 | #storwize_svc_volpool_name=volpool | ||
1032 | |||
1033 | # Storage system space-efficiency parameter for volumes | ||
1034 | # (string value) | 4217 | # (string value) |
1035 | #storwize_svc_vol_rsize=2% | 4218 | # Deprecated group/name - [DEFAULT]/os_region_name |
4219 | #region_name = <None> | ||
4220 | |||
4221 | # Type of the nova endpoint to use. This endpoint will be looked up in the | ||
4222 | # keystone catalog and should be one of public, internal or admin. (string | ||
4223 | # value) | ||
4224 | # Allowed values: public, admin, internal | ||
4225 | #interface = public | ||
1036 | 4226 | ||
1037 | # Storage system threshold for volume capacity warnings | 4227 | # The authentication URL for the nova connection when using the current users |
4228 | # token (string value) | ||
4229 | #token_auth_url = <None> | ||
4230 | |||
4231 | # PEM encoded Certificate Authority to use when verifying HTTPs connections. | ||
1038 | # (string value) | 4232 | # (string value) |
1039 | #storwize_svc_vol_warning=0 | 4233 | # Deprecated group/name - [nova]/nova_ca_certificates_file |
4234 | #cafile = <None> | ||
1040 | 4235 | ||
1041 | # Storage system autoexpand parameter for volumes (True/False) | 4236 | # PEM encoded client certificate cert file (string value) |
1042 | # (boolean value) | 4237 | #certfile = <None> |
1043 | #storwize_svc_vol_autoexpand=true | 4238 | |
4239 | # PEM encoded client certificate key file (string value) | ||
4240 | #keyfile = <None> | ||
4241 | |||
4242 | # Verify HTTPS connections. (boolean value) | ||
4243 | # Deprecated group/name - [nova]/nova_api_insecure | ||
4244 | #insecure = false | ||
4245 | |||
4246 | # Timeout value for http requests (integer value) | ||
4247 | #timeout = <None> | ||
4248 | |||
4249 | # Authentication type to load (string value) | ||
4250 | # Deprecated group/name - [nova]/auth_plugin | ||
4251 | #auth_type = <None> | ||
4252 | |||
4253 | # Config Section from which to load plugin specific options (string value) | ||
4254 | #auth_section = <None> | ||
4255 | |||
4256 | |||
4257 | [oslo_concurrency] | ||
4258 | |||
4259 | # | ||
4260 | # From oslo.concurrency | ||
4261 | # | ||
4262 | |||
4263 | # Enables or disables inter-process locks. (boolean value) | ||
4264 | #disable_process_locking = false | ||
4265 | |||
4266 | # Directory to use for lock files. For security, the specified directory | ||
4267 | # should only be writable by the user running the processes that need locking. | ||
4268 | # Defaults to environment variable OSLO_LOCK_PATH. If external locks are used, | ||
4269 | # a lock path must be set. (string value) | ||
4270 | #lock_path = <None> | ||
4271 | |||
4272 | |||
4273 | [oslo_messaging_amqp] | ||
4274 | |||
4275 | # | ||
4276 | # From oslo.messaging | ||
4277 | # | ||
1044 | 4278 | ||
1045 | # Storage system grain size parameter for volumes | 4279 | # Name for the AMQP container. must be globally unique. Defaults to a generated |
1046 | # (32/64/128/256) (string value) | 4280 | # UUID (string value) |
1047 | #storwize_svc_vol_grainsize=256 | 4281 | #container_name = <None> |
1048 | 4282 | ||
1049 | # Storage system compression option for volumes (boolean | 4283 | # Timeout for inactive connections (in seconds) (integer value) |
4284 | #idle_timeout = 0 | ||
4285 | |||
4286 | # Debug: dump AMQP frames to stdout (boolean value) | ||
4287 | #trace = false | ||
4288 | |||
4289 | # Attempt to connect via SSL. If no other ssl-related parameters are given, it | ||
4290 | # will use the system's CA-bundle to verify the server's certificate. (boolean | ||
1050 | # value) | 4291 | # value) |
1051 | #storwize_svc_vol_compression=false | 4292 | #ssl = false |
1052 | 4293 | ||
1053 | # Enable Easy Tier for volumes (boolean value) | 4294 | # CA certificate PEM file used to verify the server's certificate (string |
1054 | #storwize_svc_vol_easytier=true | 4295 | # value) |
4296 | #ssl_ca_file = | ||
1055 | 4297 | ||
1056 | # Maximum number of seconds to wait for FlashCopy to be | 4298 | # Self-identifying certificate PEM file for client authentication (string |
1057 | # prepared. Maximum value is 600 seconds (10 minutes). (string | ||
1058 | # value) | 4299 | # value) |
1059 | #storwize_svc_flashcopy_timeout=120 | 4300 | #ssl_cert_file = |
1060 | 4301 | ||
4302 | # Private key PEM file used to sign ssl_cert_file certificate (optional) | ||
4303 | # (string value) | ||
4304 | #ssl_key_file = | ||
4305 | |||
4306 | # Password for decrypting ssl_key_file (if encrypted) (string value) | ||
4307 | #ssl_key_password = <None> | ||
4308 | |||
4309 | # By default SSL checks that the name in the server's certificate matches the | ||
4310 | # hostname in the transport_url. In some configurations it may be preferable to | ||
4311 | # use the virtual hostname instead, for example if the server uses the Server | ||
4312 | # Name Indication TLS extension (rfc6066) to provide a certificate per virtual | ||
4313 | # host. Set ssl_verify_vhost to True if the server's SSL certificate uses the | ||
4314 | # virtual host name instead of the DNS name. (boolean value) | ||
4315 | #ssl_verify_vhost = false | ||
4316 | |||
4317 | # DEPRECATED: Accept clients using either SSL or plain TCP (boolean value) | ||
4318 | # This option is deprecated for removal. | ||
4319 | # Its value may be silently ignored in the future. | ||
4320 | # Reason: Not applicable - not a SSL server | ||
4321 | #allow_insecure_clients = false | ||
4322 | |||
4323 | # Space separated list of acceptable SASL mechanisms (string value) | ||
4324 | #sasl_mechanisms = | ||
4325 | |||
4326 | # Path to directory that contains the SASL configuration (string value) | ||
4327 | #sasl_config_dir = | ||
4328 | |||
4329 | # Name of configuration file (without .conf suffix) (string value) | ||
4330 | #sasl_config_name = | ||
4331 | |||
4332 | # SASL realm to use if no realm present in username (string value) | ||
4333 | #sasl_default_realm = | ||
4334 | |||
4335 | # DEPRECATED: User name for message broker authentication (string value) | ||
4336 | # This option is deprecated for removal. | ||
4337 | # Its value may be silently ignored in the future. | ||
4338 | # Reason: Should use configuration option transport_url to provide the | ||
4339 | # username. | ||
4340 | #username = | ||
4341 | |||
4342 | # DEPRECATED: Password for message broker authentication (string value) | ||
4343 | # This option is deprecated for removal. | ||
4344 | # Its value may be silently ignored in the future. | ||
4345 | # Reason: Should use configuration option transport_url to provide the | ||
4346 | # password. | ||
4347 | #password = | ||
4348 | |||
4349 | # Seconds to pause before attempting to re-connect. (integer value) | ||
4350 | # Minimum value: 1 | ||
4351 | #connection_retry_interval = 1 | ||
4352 | |||
4353 | # Increase the connection_retry_interval by this many seconds after each | ||
4354 | # unsuccessful failover attempt. (integer value) | ||
4355 | # Minimum value: 0 | ||
4356 | #connection_retry_backoff = 2 | ||
4357 | |||
4358 | # Maximum limit for connection_retry_interval + connection_retry_backoff | ||
4359 | # (integer value) | ||
4360 | # Minimum value: 1 | ||
4361 | #connection_retry_interval_max = 30 | ||
4362 | |||
4363 | # Time to pause between re-connecting an AMQP 1.0 link that failed due to a | ||
4364 | # recoverable error. (integer value) | ||
4365 | # Minimum value: 1 | ||
4366 | #link_retry_delay = 10 | ||
4367 | |||
4368 | # The maximum number of attempts to re-send a reply message which failed due to | ||
4369 | # a recoverable error. (integer value) | ||
4370 | # Minimum value: -1 | ||
4371 | #default_reply_retry = 0 | ||
4372 | |||
4373 | # The deadline for an rpc reply message delivery. (integer value) | ||
4374 | # Minimum value: 5 | ||
4375 | #default_reply_timeout = 30 | ||
4376 | |||
4377 | # The deadline for an rpc cast or call message delivery. Only used when caller | ||
4378 | # does not provide a timeout expiry. (integer value) | ||
4379 | # Minimum value: 5 | ||
4380 | #default_send_timeout = 30 | ||
4381 | |||
4382 | # The deadline for a sent notification message delivery. Only used when caller | ||
4383 | # does not provide a timeout expiry. (integer value) | ||
4384 | # Minimum value: 5 | ||
4385 | #default_notify_timeout = 30 | ||
4386 | |||
4387 | # The duration to schedule a purge of idle sender links. Detach link after | ||
4388 | # expiry. (integer value) | ||
4389 | # Minimum value: 1 | ||
4390 | #default_sender_link_timeout = 600 | ||
4391 | |||
4392 | # Indicates the addressing mode used by the driver. | ||
4393 | # Permitted values: | ||
4394 | # 'legacy' - use legacy non-routable addressing | ||
4395 | # 'routable' - use routable addresses | ||
4396 | # 'dynamic' - use legacy addresses if the message bus does not support routing | ||
4397 | # otherwise use routable addressing (string value) | ||
4398 | #addressing_mode = dynamic | ||
4399 | |||
4400 | # Enable virtual host support for those message buses that do not natively | ||
4401 | # support virtual hosting (such as qpidd). When set to true the virtual host | ||
4402 | # name will be added to all message bus addresses, effectively creating a | ||
4403 | # private 'subnet' per virtual host. Set to False if the message bus supports | ||
4404 | # virtual hosting using the 'hostname' field in the AMQP 1.0 Open performative | ||
4405 | # as the name of the virtual host. (boolean value) | ||
4406 | #pseudo_vhost = true | ||
4407 | |||
4408 | # address prefix used when sending to a specific server (string value) | ||
4409 | #server_request_prefix = exclusive | ||
4410 | |||
4411 | # address prefix used when broadcasting to all servers (string value) | ||
4412 | #broadcast_prefix = broadcast | ||
4413 | |||
4414 | # address prefix when sending to any server in group (string value) | ||
4415 | #group_request_prefix = unicast | ||
4416 | |||
4417 | # Address prefix for all generated RPC addresses (string value) | ||
4418 | #rpc_address_prefix = openstack.org/om/rpc | ||
4419 | |||
4420 | # Address prefix for all generated Notification addresses (string value) | ||
4421 | #notify_address_prefix = openstack.org/om/notify | ||
4422 | |||
4423 | # Appended to the address prefix when sending a fanout message. Used by the | ||
4424 | # message bus to identify fanout messages. (string value) | ||
4425 | #multicast_address = multicast | ||
4426 | |||
4427 | # Appended to the address prefix when sending to a particular RPC/Notification | ||
4428 | # server. Used by the message bus to identify messages sent to a single | ||
4429 | # destination. (string value) | ||
4430 | #unicast_address = unicast | ||
4431 | |||
4432 | # Appended to the address prefix when sending to a group of consumers. Used by | ||
4433 | # the message bus to identify messages that should be delivered in a round- | ||
4434 | # robin fashion across consumers. (string value) | ||
4435 | #anycast_address = anycast | ||
4436 | |||
4437 | # Exchange name used in notification addresses. | ||
4438 | # Exchange name resolution precedence: | ||
4439 | # Target.exchange if set | ||
4440 | # else default_notification_exchange if set | ||
4441 | # else control_exchange if set | ||
4442 | # else 'notify' (string value) | ||
4443 | #default_notification_exchange = <None> | ||
4444 | |||
4445 | # Exchange name used in RPC addresses. | ||
4446 | # Exchange name resolution precedence: | ||
4447 | # Target.exchange if set | ||
4448 | # else default_rpc_exchange if set | ||
4449 | # else control_exchange if set | ||
4450 | # else 'rpc' (string value) | ||
4451 | #default_rpc_exchange = <None> | ||
4452 | |||
4453 | # Window size for incoming RPC Reply messages. (integer value) | ||
4454 | # Minimum value: 1 | ||
4455 | #reply_link_credit = 200 | ||
4456 | |||
4457 | # Window size for incoming RPC Request messages (integer value) | ||
4458 | # Minimum value: 1 | ||
4459 | #rpc_server_credit = 100 | ||
4460 | |||
4461 | # Window size for incoming Notification messages (integer value) | ||
4462 | # Minimum value: 1 | ||
4463 | #notify_server_credit = 100 | ||
4464 | |||
4465 | # Send messages of this type pre-settled. | ||
4466 | # Pre-settled messages will not receive acknowledgement | ||
4467 | # from the peer. Note well: pre-settled messages may be | ||
4468 | # silently discarded if the delivery fails. | ||
4469 | # Permitted values: | ||
4470 | # 'rpc-call' - send RPC Calls pre-settled | ||
4471 | # 'rpc-reply'- send RPC Replies pre-settled | ||
4472 | # 'rpc-cast' - Send RPC Casts pre-settled | ||
4473 | # 'notify' - Send Notifications pre-settled | ||
4474 | # (multi valued) | ||
4475 | #pre_settled = rpc-cast | ||
4476 | #pre_settled = rpc-reply | ||
4477 | |||
4478 | |||
4479 | [oslo_messaging_kafka] | ||
1061 | 4480 | ||
1062 | # | 4481 | # |
1063 | # Options defined in cinder.volume.drivers.windows | 4482 | # From oslo.messaging |
1064 | # | 4483 | # |
1065 | 4484 | ||
1066 | # Path to store VHD backed volumes (string value) | 4485 | # DEPRECATED: Default Kafka broker Host (string value) |
1067 | #windows_iscsi_lun_path=C:\iSCSIVirtualDisks | 4486 | # This option is deprecated for removal. |
4487 | # Its value may be silently ignored in the future. | ||
4488 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4489 | #kafka_default_host = localhost | ||
4490 | |||
4491 | # DEPRECATED: Default Kafka broker Port (port value) | ||
4492 | # Minimum value: 0 | ||
4493 | # Maximum value: 65535 | ||
4494 | # This option is deprecated for removal. | ||
4495 | # Its value may be silently ignored in the future. | ||
4496 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4497 | #kafka_default_port = 9092 | ||
4498 | |||
4499 | # Max fetch bytes of Kafka consumer (integer value) | ||
4500 | #kafka_max_fetch_bytes = 1048576 | ||
4501 | |||
4502 | # Default timeout(s) for Kafka consumers (floating point value) | ||
4503 | #kafka_consumer_timeout = 1.0 | ||
4504 | |||
4505 | # Pool Size for Kafka Consumers (integer value) | ||
4506 | #pool_size = 10 | ||
4507 | |||
4508 | # The pool size limit for connections expiration policy (integer value) | ||
4509 | #conn_pool_min_size = 2 | ||
4510 | |||
4511 | # The time-to-live in sec of idle connections in the pool (integer value) | ||
4512 | #conn_pool_ttl = 1200 | ||
4513 | |||
4514 | # Group id for Kafka consumer. Consumers in one group will coordinate message | ||
4515 | # consumption (string value) | ||
4516 | #consumer_group = oslo_messaging_consumer | ||
4517 | |||
4518 | # Upper bound on the delay for KafkaProducer batching in seconds (floating | ||
4519 | # point value) | ||
4520 | #producer_batch_timeout = 0.0 | ||
4521 | |||
4522 | # Size of batch for the producer async send (integer value) | ||
4523 | #producer_batch_size = 16384 | ||
1068 | 4524 | ||
1069 | 4525 | ||
4526 | [oslo_messaging_notifications] | ||
4527 | |||
1070 | # | 4528 | # |
1071 | # Options defined in cinder.volume.drivers.xenapi.sm | 4529 | # From oslo.messaging |
1072 | # | 4530 | # |
1073 | 4531 | ||
1074 | # NFS server to be used by XenAPINFSDriver (string value) | 4532 | # The Drivers(s) to handle sending notifications. Possible values are |
1075 | #xenapi_nfs_server=<None> | 4533 | # messaging, messagingv2, routing, log, test, noop (multi valued) |
4534 | # Deprecated group/name - [DEFAULT]/notification_driver | ||
4535 | #driver = | ||
1076 | 4536 | ||
1077 | # Path of exported NFS, used by XenAPINFSDriver (string value) | 4537 | # A URL representing the messaging driver to use for notifications. If not set, |
1078 | #xenapi_nfs_serverpath=<None> | 4538 | # we fall back to the same configuration used for RPC. (string value) |
4539 | # Deprecated group/name - [DEFAULT]/notification_transport_url | ||
4540 | #transport_url = <None> | ||
1079 | 4541 | ||
1080 | # URL for XenAPI connection (string value) | 4542 | # AMQP topic used for OpenStack notifications. (list value) |
1081 | #xenapi_connection_url=<None> | 4543 | # Deprecated group/name - [rpc_notifier2]/topics |
4544 | # Deprecated group/name - [DEFAULT]/notification_topics | ||
4545 | #topics = notifications | ||
1082 | 4546 | ||
1083 | # Username for XenAPI connection (string value) | 4547 | # The maximum number of attempts to re-send a notification message which failed |
1084 | #xenapi_connection_username=root | 4548 | # to be delivered due to a recoverable error. 0 - No retry, -1 - indefinite |
4549 | # (integer value) | ||
4550 | #retry = -1 | ||
1085 | 4551 | ||
1086 | # Password for XenAPI connection (string value) | ||
1087 | #xenapi_connection_password=<None> | ||
1088 | 4552 | ||
4553 | [oslo_messaging_rabbit] | ||
1089 | 4554 | ||
1090 | # | 4555 | # |
1091 | # Options defined in cinder.volume.drivers.xiv | 4556 | # From oslo.messaging |
1092 | # | 4557 | # |
1093 | 4558 | ||
1094 | # Proxy driver (string value) | 4559 | # Use durable queues in AMQP. (boolean value) |
1095 | #xiv_proxy=xiv_openstack.nova_proxy.XIVNovaProxy | 4560 | # Deprecated group/name - [DEFAULT]/amqp_durable_queues |
4561 | # Deprecated group/name - [DEFAULT]/rabbit_durable_queues | ||
4562 | #amqp_durable_queues = false | ||
4563 | |||
4564 | # Auto-delete queues in AMQP. (boolean value) | ||
4565 | #amqp_auto_delete = false | ||
4566 | |||
4567 | # Enable SSL (boolean value) | ||
4568 | #ssl = <None> | ||
4569 | |||
4570 | # SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and | ||
4571 | # SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some | ||
4572 | # distributions. (string value) | ||
4573 | # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_version | ||
4574 | #ssl_version = | ||
4575 | |||
4576 | # SSL key file (valid only if SSL enabled). (string value) | ||
4577 | # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_keyfile | ||
4578 | #ssl_key_file = | ||
4579 | |||
4580 | # SSL cert file (valid only if SSL enabled). (string value) | ||
4581 | # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_certfile | ||
4582 | #ssl_cert_file = | ||
4583 | |||
4584 | # SSL certification authority file (valid only if SSL enabled). (string value) | ||
4585 | # Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_ca_certs | ||
4586 | #ssl_ca_file = | ||
4587 | |||
4588 | # How long to wait before reconnecting in response to an AMQP consumer cancel | ||
4589 | # notification. (floating point value) | ||
4590 | #kombu_reconnect_delay = 1.0 | ||
4591 | |||
4592 | # EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not | ||
4593 | # be used. This option may not be available in future versions. (string value) | ||
4594 | #kombu_compression = <None> | ||
4595 | |||
4596 | # How long to wait a missing client before abandoning to send it its replies. | ||
4597 | # This value should not be longer than rpc_response_timeout. (integer value) | ||
4598 | # Deprecated group/name - [oslo_messaging_rabbit]/kombu_reconnect_timeout | ||
4599 | #kombu_missing_consumer_retry_timeout = 60 | ||
4600 | |||
4601 | # Determines how the next RabbitMQ node is chosen in case the one we are | ||
4602 | # currently connected to becomes unavailable. Takes effect only if more than | ||
4603 | # one RabbitMQ node is provided in config. (string value) | ||
4604 | # Allowed values: round-robin, shuffle | ||
4605 | #kombu_failover_strategy = round-robin | ||
4606 | |||
4607 | # DEPRECATED: The RabbitMQ broker address where a single node is used. (string | ||
4608 | # value) | ||
4609 | # This option is deprecated for removal. | ||
4610 | # Its value may be silently ignored in the future. | ||
4611 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4612 | #rabbit_host = localhost | ||
4613 | |||
4614 | # DEPRECATED: The RabbitMQ broker port where a single node is used. (port | ||
4615 | # value) | ||
4616 | # Minimum value: 0 | ||
4617 | # Maximum value: 65535 | ||
4618 | # This option is deprecated for removal. | ||
4619 | # Its value may be silently ignored in the future. | ||
4620 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4621 | #rabbit_port = 5672 | ||
4622 | |||
4623 | # DEPRECATED: RabbitMQ HA cluster host:port pairs. (list value) | ||
4624 | # This option is deprecated for removal. | ||
4625 | # Its value may be silently ignored in the future. | ||
4626 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4627 | #rabbit_hosts = $rabbit_host:$rabbit_port | ||
4628 | |||
4629 | # DEPRECATED: The RabbitMQ userid. (string value) | ||
4630 | # This option is deprecated for removal. | ||
4631 | # Its value may be silently ignored in the future. | ||
4632 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4633 | #rabbit_userid = guest | ||
4634 | |||
4635 | # DEPRECATED: The RabbitMQ password. (string value) | ||
4636 | # This option is deprecated for removal. | ||
4637 | # Its value may be silently ignored in the future. | ||
4638 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4639 | #rabbit_password = guest | ||
4640 | |||
4641 | # The RabbitMQ login method. (string value) | ||
4642 | # Allowed values: PLAIN, AMQPLAIN, RABBIT-CR-DEMO | ||
4643 | #rabbit_login_method = AMQPLAIN | ||
4644 | |||
4645 | # DEPRECATED: The RabbitMQ virtual host. (string value) | ||
4646 | # This option is deprecated for removal. | ||
4647 | # Its value may be silently ignored in the future. | ||
4648 | # Reason: Replaced by [DEFAULT]/transport_url | ||
4649 | #rabbit_virtual_host = / | ||
4650 | |||
4651 | # How frequently to retry connecting with RabbitMQ. (integer value) | ||
4652 | #rabbit_retry_interval = 1 | ||
4653 | |||
4654 | # How long to backoff for between retries when connecting to RabbitMQ. (integer | ||
4655 | # value) | ||
4656 | #rabbit_retry_backoff = 2 | ||
4657 | |||
4658 | # Maximum interval of RabbitMQ connection retries. Default is 30 seconds. | ||
4659 | # (integer value) | ||
4660 | #rabbit_interval_max = 30 | ||
4661 | |||
4662 | # DEPRECATED: Maximum number of RabbitMQ connection retries. Default is 0 | ||
4663 | # (infinite retry count). (integer value) | ||
4664 | # This option is deprecated for removal. | ||
4665 | # Its value may be silently ignored in the future. | ||
4666 | #rabbit_max_retries = 0 | ||
4667 | |||
4668 | # Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this | ||
4669 | # option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring | ||
4670 | # is no longer controlled by the x-ha-policy argument when declaring a queue. | ||
4671 | # If you just want to make sure that all queues (except those with auto- | ||
4672 | # generated names) are mirrored across all nodes, run: "rabbitmqctl set_policy | ||
4673 | # HA '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value) | ||
4674 | #rabbit_ha_queues = false | ||
4675 | |||
4676 | # Positive integer representing duration in seconds for queue TTL (x-expires). | ||
4677 | # Queues which are unused for the duration of the TTL are automatically | ||
4678 | # deleted. The parameter affects only reply and fanout queues. (integer value) | ||
4679 | # Minimum value: 1 | ||
4680 | #rabbit_transient_queues_ttl = 1800 | ||
4681 | |||
4682 | # Specifies the number of messages to prefetch. Setting to zero allows | ||
4683 | # unlimited messages. (integer value) | ||
4684 | #rabbit_qos_prefetch_count = 0 | ||
4685 | |||
4686 | # Number of seconds after which the Rabbit broker is considered down if | ||
4687 | # heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer | ||
4688 | # value) | ||
4689 | #heartbeat_timeout_threshold = 60 | ||
4690 | |||
4691 | # How often times during the heartbeat_timeout_threshold we check the | ||
4692 | # heartbeat. (integer value) | ||
4693 | #heartbeat_rate = 2 | ||
4694 | |||
4695 | # Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value) | ||
4696 | #fake_rabbit = false | ||
4697 | |||
4698 | # Maximum number of channels to allow (integer value) | ||
4699 | #channel_max = <None> | ||
4700 | |||
4701 | # The maximum byte size for an AMQP frame (integer value) | ||
4702 | #frame_max = <None> | ||
4703 | |||
4704 | # How often to send heartbeats for consumer's connections (integer value) | ||
4705 | #heartbeat_interval = 3 | ||
4706 | |||
4707 | # Arguments passed to ssl.wrap_socket (dict value) | ||
4708 | #ssl_options = <None> | ||
4709 | |||
4710 | # Set socket timeout in seconds for connection's socket (floating point value) | ||
4711 | #socket_timeout = 0.25 | ||
4712 | |||
4713 | # Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point | ||
4714 | # value) | ||
4715 | #tcp_user_timeout = 0.25 | ||
4716 | |||
4717 | # Set delay for reconnection to some host which has connection error (floating | ||
4718 | # point value) | ||
4719 | #host_connection_reconnect_delay = 0.25 | ||
4720 | |||
4721 | # Connection factory implementation (string value) | ||
4722 | # Allowed values: new, single, read_write | ||
4723 | #connection_factory = single | ||
4724 | |||
4725 | # Maximum number of connections to keep queued. (integer value) | ||
4726 | #pool_max_size = 30 | ||
4727 | |||
4728 | # Maximum number of connections to create above `pool_max_size`. (integer | ||
4729 | # value) | ||
4730 | #pool_max_overflow = 0 | ||
4731 | |||
4732 | # Default number of seconds to wait for a connections to available (integer | ||
4733 | # value) | ||
4734 | #pool_timeout = 30 | ||
4735 | |||
4736 | # Lifetime of a connection (since creation) in seconds or None for no | ||
4737 | # recycling. Expired connections are closed on acquire. (integer value) | ||
4738 | #pool_recycle = 600 | ||
4739 | |||
4740 | # Threshold at which inactive (since release) connections are considered stale | ||
4741 | # in seconds or None for no staleness. Stale connections are closed on acquire. | ||
4742 | # (integer value) | ||
4743 | #pool_stale = 60 | ||
4744 | |||
4745 | # Default serialization mechanism for serializing/deserializing | ||
4746 | # outgoing/incoming messages (string value) | ||
4747 | # Allowed values: json, msgpack | ||
4748 | #default_serializer_type = json | ||
4749 | |||
4750 | # Persist notification messages. (boolean value) | ||
4751 | #notification_persistence = false | ||
4752 | |||
4753 | # Exchange name for sending notifications (string value) | ||
4754 | #default_notification_exchange = ${control_exchange}_notification | ||
4755 | |||
4756 | # Max number of not acknowledged message which RabbitMQ can send to | ||
4757 | # notification listener. (integer value) | ||
4758 | #notification_listener_prefetch_count = 100 | ||
4759 | |||
4760 | # Reconnecting retry count in case of connectivity problem during sending | ||
4761 | # notification, -1 means infinite retry. (integer value) | ||
4762 | #default_notification_retry_attempts = -1 | ||
4763 | |||
4764 | # Reconnecting retry delay in case of connectivity problem during sending | ||
4765 | # notification message (floating point value) | ||
4766 | #notification_retry_delay = 0.25 | ||
4767 | |||
4768 | # Time to live for rpc queues without consumers in seconds. (integer value) | ||
4769 | #rpc_queue_expiration = 60 | ||
4770 | |||
4771 | # Exchange name for sending RPC messages (string value) | ||
4772 | #default_rpc_exchange = ${control_exchange}_rpc | ||
1096 | 4773 | ||
4774 | # Exchange name for receiving RPC replies (string value) | ||
4775 | #rpc_reply_exchange = ${control_exchange}_rpc_reply | ||
4776 | |||
4777 | # Max number of not acknowledged message which RabbitMQ can send to rpc | ||
4778 | # listener. (integer value) | ||
4779 | #rpc_listener_prefetch_count = 100 | ||
4780 | |||
4781 | # Max number of not acknowledged message which RabbitMQ can send to rpc reply | ||
4782 | # listener. (integer value) | ||
4783 | #rpc_reply_listener_prefetch_count = 100 | ||
4784 | |||
4785 | # Reconnecting retry count in case of connectivity problem during sending | ||
4786 | # reply. -1 means infinite retry during rpc_timeout (integer value) | ||
4787 | #rpc_reply_retry_attempts = -1 | ||
4788 | |||
4789 | # Reconnecting retry delay in case of connectivity problem during sending | ||
4790 | # reply. (floating point value) | ||
4791 | #rpc_reply_retry_delay = 0.25 | ||
4792 | |||
4793 | # Reconnecting retry count in case of connectivity problem during sending RPC | ||
4794 | # message, -1 means infinite retry. If actual retry attempts in not 0 the rpc | ||
4795 | # request could be processed more than one time (integer value) | ||
4796 | #default_rpc_retry_attempts = -1 | ||
4797 | |||
4798 | # Reconnecting retry delay in case of connectivity problem during sending RPC | ||
4799 | # message (floating point value) | ||
4800 | #rpc_retry_delay = 0.25 | ||
4801 | |||
4802 | |||
4803 | [oslo_messaging_zmq] | ||
1097 | 4804 | ||
1098 | # | 4805 | # |
1099 | # Options defined in cinder.volume.drivers.zadara | 4806 | # From oslo.messaging |
1100 | # | 4807 | # |
1101 | 4808 | ||
1102 | # Management IP of Zadara VPSA (string value) | 4809 | # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP. |
1103 | #zadara_vpsa_ip=<None> | 4810 | # The "host" option should point or resolve to this address. (string value) |
4811 | #rpc_zmq_bind_address = * | ||
4812 | |||
4813 | # MatchMaker driver. (string value) | ||
4814 | # Allowed values: redis, sentinel, dummy | ||
4815 | #rpc_zmq_matchmaker = redis | ||
4816 | |||
4817 | # Number of ZeroMQ contexts, defaults to 1. (integer value) | ||
4818 | #rpc_zmq_contexts = 1 | ||
4819 | |||
4820 | # Maximum number of ingress messages to locally buffer per topic. Default is | ||
4821 | # unlimited. (integer value) | ||
4822 | #rpc_zmq_topic_backlog = <None> | ||
4823 | |||
4824 | # Directory for holding IPC sockets. (string value) | ||
4825 | #rpc_zmq_ipc_dir = /var/run/openstack | ||
4826 | |||
4827 | # Name of this node. Must be a valid hostname, FQDN, or IP address. Must match | ||
4828 | # "host" option, if running Nova. (string value) | ||
4829 | #rpc_zmq_host = localhost | ||
4830 | |||
4831 | # Number of seconds to wait before all pending messages will be sent after | ||
4832 | # closing a socket. The default value of -1 specifies an infinite linger | ||
4833 | # period. The value of 0 specifies no linger period. Pending messages shall be | ||
4834 | # discarded immediately when the socket is closed. Positive values specify an | ||
4835 | # upper bound for the linger period. (integer value) | ||
4836 | # Deprecated group/name - [DEFAULT]/rpc_cast_timeout | ||
4837 | #zmq_linger = -1 | ||
4838 | |||
4839 | # The default number of seconds that poll should wait. Poll raises timeout | ||
4840 | # exception when timeout expired. (integer value) | ||
4841 | #rpc_poll_timeout = 1 | ||
4842 | |||
4843 | # Expiration timeout in seconds of a name service record about existing target | ||
4844 | # ( < 0 means no timeout). (integer value) | ||
4845 | #zmq_target_expire = 300 | ||
1104 | 4846 | ||
1105 | # Zadara VPSA port number (string value) | 4847 | # Update period in seconds of a name service record about existing target. |
1106 | #zadara_vpsa_port=<None> | 4848 | # (integer value) |
4849 | #zmq_target_update = 180 | ||
4850 | |||
4851 | # Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean | ||
4852 | # value) | ||
4853 | #use_pub_sub = false | ||
4854 | |||
4855 | # Use ROUTER remote proxy. (boolean value) | ||
4856 | #use_router_proxy = false | ||
1107 | 4857 | ||
1108 | # Use SSL connection (boolean value) | 4858 | # This option makes direct connections dynamic or static. It makes sense only |
1109 | #zadara_vpsa_use_ssl=false | 4859 | # with use_router_proxy=False which means to use direct connections for direct |
4860 | # message types (ignored otherwise). (boolean value) | ||
4861 | #use_dynamic_connections = false | ||
1110 | 4862 | ||
1111 | # User name for the VPSA (string value) | 4863 | # How many additional connections to a host will be made for failover reasons. |
1112 | #zadara_user=<None> | 4864 | # This option is actual only in dynamic connections mode. (integer value) |
4865 | #zmq_failover_connections = 2 | ||
1113 | 4866 | ||
1114 | # Password for the VPSA (string value) | 4867 | # Minimal port number for random ports range. (port value) |
1115 | #zadara_password=<None> | 4868 | # Minimum value: 0 |
4869 | # Maximum value: 65535 | ||
4870 | #rpc_zmq_min_port = 49153 | ||
1116 | 4871 | ||
1117 | # Name of VPSA storage pool for volumes (string value) | 4872 | # Maximal port number for random ports range. (integer value) |
1118 | #zadara_vpsa_poolname=<None> | 4873 | # Minimum value: 1 |
4874 | # Maximum value: 65536 | ||
4875 | #rpc_zmq_max_port = 65536 | ||
1119 | 4876 | ||
1120 | # Default cache policy for volumes (string value) | 4877 | # Number of retries to find free port number before fail with ZMQBindError. |
1121 | #zadara_default_cache_policy=write-through | 4878 | # (integer value) |
4879 | #rpc_zmq_bind_port_retries = 100 | ||
4880 | |||
4881 | # Default serialization mechanism for serializing/deserializing | ||
4882 | # outgoing/incoming messages (string value) | ||
4883 | # Allowed values: json, msgpack | ||
4884 | #rpc_zmq_serialization = json | ||
4885 | |||
4886 | # This option configures round-robin mode in zmq socket. True means not keeping | ||
4887 | # a queue when server side disconnects. False means to keep queue and messages | ||
4888 | # even if server is disconnected, when the server appears we send all | ||
4889 | # accumulated messages to it. (boolean value) | ||
4890 | #zmq_immediate = true | ||
4891 | |||
4892 | # Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any | ||
4893 | # other negative value) means to skip any overrides and leave it to OS default; | ||
4894 | # 0 and 1 (or any other positive value) mean to disable and enable the option | ||
4895 | # respectively. (integer value) | ||
4896 | #zmq_tcp_keepalive = -1 | ||
4897 | |||
4898 | # The duration between two keepalive transmissions in idle condition. The unit | ||
4899 | # is platform dependent, for example, seconds in Linux, milliseconds in Windows | ||
4900 | # etc. The default value of -1 (or any other negative value and 0) means to | ||
4901 | # skip any overrides and leave it to OS default. (integer value) | ||
4902 | #zmq_tcp_keepalive_idle = -1 | ||
4903 | |||
4904 | # The number of retransmissions to be carried out before declaring that remote | ||
4905 | # end is not available. The default value of -1 (or any other negative value | ||
4906 | # and 0) means to skip any overrides and leave it to OS default. (integer | ||
4907 | # value) | ||
4908 | #zmq_tcp_keepalive_cnt = -1 | ||
1122 | 4909 | ||
1123 | # Default encryption policy for volumes (string value) | 4910 | # The duration between two successive keepalive retransmissions, if |
1124 | #zadara_default_encryption=NO | 4911 | # acknowledgement to the previous keepalive transmission is not received. The |
4912 | # unit is platform dependent, for example, seconds in Linux, milliseconds in | ||
4913 | # Windows etc. The default value of -1 (or any other negative value and 0) | ||
4914 | # means to skip any overrides and leave it to OS default. (integer value) | ||
4915 | #zmq_tcp_keepalive_intvl = -1 | ||
1125 | 4916 | ||
1126 | # Default striping mode for volumes (string value) | 4917 | # Maximum number of (green) threads to work concurrently. (integer value) |
1127 | #zadara_default_striping_mode=simple | 4918 | #rpc_thread_pool_size = 100 |
1128 | 4919 | ||
1129 | # Default stripe size for volumes (string value) | 4920 | # Expiration timeout in seconds of a sent/received message after which it is |
1130 | #zadara_default_stripesize=64 | 4921 | # not tracked anymore by a client/server. (integer value) |
4922 | #rpc_message_ttl = 300 | ||
1131 | 4923 | ||
1132 | # Default template for VPSA volume names (string value) | 4924 | # Wait for message acknowledgements from receivers. This mechanism works only |
1133 | #zadara_vol_name_template=OS_%s | 4925 | # via proxy without PUB/SUB. (boolean value) |
4926 | #rpc_use_acks = false | ||
4927 | |||
4928 | # Number of seconds to wait for an ack from a cast/call. After each retry | ||
4929 | # attempt this timeout is multiplied by some specified multiplier. (integer | ||
4930 | # value) | ||
4931 | #rpc_ack_timeout_base = 15 | ||
1134 | 4932 | ||
1135 | # Automatically detach from servers on volume delete (boolean | 4933 | # Number to multiply base ack timeout by after each retry attempt. (integer |
1136 | # value) | 4934 | # value) |
1137 | #zadara_vpsa_auto_detach_on_delete=true | 4935 | #rpc_ack_timeout_multiplier = 2 |
1138 | 4936 | ||
1139 | # Don't halt on deletion of non-existing volumes (boolean | 4937 | # Default number of message sending attempts in case of any problems occurred: |
4938 | # positive value N means at most N retries, 0 means no retries, None or -1 (or | ||
4939 | # any other negative values) mean to retry forever. This option is used only if | ||
4940 | # acknowledgments are enabled. (integer value) | ||
4941 | #rpc_retry_attempts = 3 | ||
4942 | |||
4943 | # List of publisher hosts SubConsumer can subscribe on. This option has higher | ||
4944 | # priority then the default publishers list taken from the matchmaker. (list | ||
1140 | # value) | 4945 | # value) |
1141 | #zadara_vpsa_allow_nonexistent_delete=true | 4946 | #subscribe_on = |
4947 | |||
1142 | 4948 | ||
4949 | [oslo_middleware] | ||
1143 | 4950 | ||
1144 | # | 4951 | # |
1145 | # Options defined in cinder.volume.iscsi | 4952 | # From oslo.middleware |
1146 | # | 4953 | # |
1147 | 4954 | ||
1148 | # iscsi target user-land tool to use (string value) | 4955 | # The maximum body size for each request, in bytes. (integer value) |
1149 | #iscsi_helper=tgtadm | 4956 | # Deprecated group/name - [DEFAULT]/osapi_max_request_body_size |
4957 | # Deprecated group/name - [DEFAULT]/max_request_body_size | ||
4958 | #max_request_body_size = 114688 | ||
1150 | 4959 | ||
1151 | # Volume configuration file storage directory (string value) | 4960 | # DEPRECATED: The HTTP Header that will be used to determine what the original |
1152 | #volumes_dir=$state_path/volumes | 4961 | # request protocol scheme was, even if it was hidden by a SSL termination |
4962 | # proxy. (string value) | ||
4963 | # This option is deprecated for removal. | ||
4964 | # Its value may be silently ignored in the future. | ||
4965 | #secure_proxy_ssl_header = X-Forwarded-Proto | ||
1153 | 4966 | ||
1154 | # IET configuration file (string value) | 4967 | # Whether the application is behind a proxy or not. This determines if the |
1155 | #iet_conf=/etc/iet/ietd.conf | 4968 | # middleware should parse the headers or not. (boolean value) |
4969 | #enable_proxy_headers_parsing = false | ||
1156 | 4970 | ||
1157 | # Comma-separatd list of initiator IQNs allowed to connect to | ||
1158 | # the iSCSI target. (From Nova compute nodes.) (string value) | ||
1159 | #lio_initiator_iqns= | ||
1160 | 4971 | ||
4972 | [oslo_policy] | ||
1161 | 4973 | ||
1162 | # | 4974 | # |
1163 | # Options defined in cinder.volume.manager | 4975 | # From oslo.policy |
1164 | # | 4976 | # |
1165 | 4977 | ||
1166 | # Driver to use for volume creation (string value) | 4978 | # The file that defines policies. (string value) |
1167 | #volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver | 4979 | #policy_file = policy.json |
4980 | |||
4981 | # Default rule. Enforced when a requested rule is not found. (string value) | ||
4982 | #policy_default_rule = default | ||
4983 | |||
4984 | # Directories where policy configuration files are stored. They can be relative | ||
4985 | # to any directory in the search path defined by the config_dir option, or | ||
4986 | # absolute paths. The file defined by policy_file must exist for these | ||
4987 | # directories to be searched. Missing or empty directories are ignored. (multi | ||
4988 | # valued) | ||
4989 | #policy_dirs = policy.d | ||
1168 | 4990 | ||
1169 | 4991 | ||
4992 | [oslo_reports] | ||
4993 | |||
1170 | # | 4994 | # |
1171 | # Backup backend options | 4995 | # From oslo.reports |
1172 | # | 4996 | # |
1173 | 4997 | ||
1174 | backup_driver=%CINDER_BACKUP_BACKEND_DRIVER% | 4998 | # Path to a log directory where to create a file (string value) |
4999 | #log_dir = <None> | ||
5000 | |||
5001 | # The path to a file to watch for changes to trigger the reports, instead of | ||
5002 | # signals. Setting this option disables the signal trigger for the reports. If | ||
5003 | # application is running as a WSGI application it is recommended to use this | ||
5004 | # instead of signals. (string value) | ||
5005 | #file_event_handler = <None> | ||
5006 | |||
5007 | # How many seconds to wait between polls when file_event_handler is set | ||
5008 | # (integer value) | ||
5009 | #file_event_handler_interval = 1 | ||
5010 | |||
5011 | |||
5012 | [oslo_versionedobjects] | ||
1175 | 5013 | ||
1176 | # | 5014 | # |
1177 | # Ceph backup backend options | 5015 | # From oslo.versionedobjects |
1178 | # | 5016 | # |
1179 | 5017 | ||
1180 | backup_ceph_conf=/etc/ceph/ceph.conf | 5018 | # Make exception message format errors fatal (boolean value) |
1181 | backup_ceph_user=cinder-backup | 5019 | #fatal_exception_format_errors = false |
1182 | backup_ceph_chunk_size=134217728 | 5020 | |
1183 | backup_ceph_pool=cinder-backups | 5021 | |
1184 | backup_ceph_stripe_unit=0 | 5022 | [profiler] |
1185 | backup_ceph_stripe_count=0 | ||
1186 | restore_discard_excess_bytes=true | ||
1187 | 5023 | ||
1188 | # | 5024 | # |
1189 | # Swift backup backend options | 5025 | # From osprofiler |
1190 | # | 5026 | # |
1191 | 5027 | ||
1192 | backup_swift_url=http://controller:8888/v1/AUTH_ | 5028 | # |
1193 | backup_swift_auth=per_user | 5029 | # Enables the profiling for all services on this node. Default value is False |
1194 | #backup_swift_user=<None> | 5030 | # (fully disable the profiling feature). |
1195 | #backup_swift_key=<None> | 5031 | # |
1196 | backup_swift_container=cinder-backups | 5032 | # Possible values: |
1197 | backup_swift_object_size=52428800 | 5033 | # |
1198 | backup_swift_retry_attempts=3 | 5034 | # * True: Enables the feature |
1199 | backup_swift_retry_backoff=2 | 5035 | # * False: Disables the feature. The profiling cannot be started via this |
1200 | backup_compression_algorithm=zlib | 5036 | # project |
5037 | # operations. If the profiling is triggered by another project, this project | ||
5038 | # part | ||
5039 | # will be empty. | ||
5040 | # (boolean value) | ||
5041 | # Deprecated group/name - [profiler]/profiler_enabled | ||
5042 | #enabled = false | ||
1201 | 5043 | ||
1202 | # | 5044 | # |
1203 | # Multi backend options | 5045 | # Enables SQL requests profiling in services. Default value is False (SQL |
5046 | # requests won't be traced). | ||
5047 | # | ||
5048 | # Possible values: | ||
1204 | # | 5049 | # |
5050 | # * True: Enables SQL requests profiling. Each SQL query will be part of the | ||
5051 | # trace and can the be analyzed by how much time was spent for that. | ||
5052 | # * False: Disables SQL requests profiling. The spent time is only shown on a | ||
5053 | # higher level of operations. Single SQL queries cannot be analyzed this | ||
5054 | # way. | ||
5055 | # (boolean value) | ||
5056 | #trace_sqlalchemy = false | ||
1205 | 5057 | ||
1206 | # Define the names of the groups for multiple volume backends | 5058 | # |
1207 | #enabled_backends=fakedriver,lvmdriver | 5059 | # Secret key(s) to use for encrypting context data for performance profiling. |
1208 | enabled_backends=lvmdriver,nfsdriver,glusterfsdriver,rbdcephdriver | 5060 | # This string value should have the following format: |
5061 | # <key1>[,<key2>,...<keyn>], | ||
5062 | # where each key is some random string. A user who triggers the profiling via | ||
5063 | # the REST API has to set one of these keys in the headers of the REST API call | ||
5064 | # to include profiling results of this node for this particular project. | ||
5065 | # | ||
5066 | # Both "enabled" flag and "hmac_keys" config options should be set to enable | ||
5067 | # profiling. Also, to generate correct profiling information across all | ||
5068 | # services | ||
5069 | # at least one key needs to be consistent between OpenStack projects. This | ||
5070 | # ensures it can be used from client side to generate the trace, containing | ||
5071 | # information from all possible resources. (string value) | ||
5072 | #hmac_keys = SECRET_KEY | ||
1209 | 5073 | ||
1210 | # Define the groups as above | 5074 | # |
1211 | #[fakedriver] | 5075 | # Connection string for a notifier backend. Default value is messaging:// which |
1212 | #volume_driver=cinder.volume.driver.FakeISCSIDriver | 5076 | # sets the notifier to oslo_messaging. |
5077 | # | ||
5078 | # Examples of possible values: | ||
5079 | # | ||
5080 | # * messaging://: use oslo_messaging driver for sending notifications. | ||
5081 | # * mongodb://127.0.0.1:27017 : use mongodb driver for sending notifications. | ||
5082 | # * elasticsearch://127.0.0.1:9200 : use elasticsearch driver for sending | ||
5083 | # notifications. | ||
5084 | # (string value) | ||
5085 | #connection_string = messaging:// | ||
5086 | |||
5087 | # | ||
5088 | # Document type for notification indexing in elasticsearch. | ||
5089 | # (string value) | ||
5090 | #es_doc_type = notification | ||
1213 | 5091 | ||
1214 | [lvmdriver] | 5092 | # |
1215 | volume_group=cinder-volumes | 5093 | # This parameter is a time value parameter (for example: es_scroll_time=2m), |
1216 | volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver | 5094 | # indicating for how long the nodes that participate in the search will |
1217 | volume_backend_name=LVM_iSCSI | 5095 | # maintain |
5096 | # relevant resources in order to continue and support it. | ||
5097 | # (string value) | ||
5098 | #es_scroll_time = 2m | ||
1218 | 5099 | ||
1219 | [nfsdriver] | 5100 | # |
1220 | volume_group=nfs-group-1 | 5101 | # Elasticsearch splits large requests in batches. This parameter defines |
1221 | volume_driver=cinder.volume.drivers.nfs.NfsDriver | 5102 | # maximum size of each batch (for example: es_scroll_size=10000). |
1222 | volume_backend_name=Generic_NFS | 5103 | # (integer value) |
5104 | #es_scroll_size = 10000 | ||
1223 | 5105 | ||
1224 | [glusterfsdriver] | 5106 | # |
1225 | volume_group=glusterfs-group-1 | 5107 | # Redissentinel provides a timeout option on the connections. |
1226 | volume_driver=cinder.volume.drivers.glusterfs.GlusterfsDriver | 5108 | # This parameter defines that timeout (for example: socket_timeout=0.1). |
1227 | volume_backend_name=GlusterFS | 5109 | # (floating point value) |
5110 | #socket_timeout = 0.1 | ||
1228 | 5111 | ||
1229 | [rbdcephdriver] | 5112 | # |
1230 | volume_driver=cinder.volume.drivers.rbd.RBDDriver | 5113 | # Redissentinel uses a service name to identify a master redis service. |
1231 | rbd_pool=cinder-volumes | 5114 | # This parameter defines the name (for example: |
1232 | rbd_ceph_conf=/etc/ceph/ceph.conf | 5115 | # sentinal_service_name=mymaster). |
1233 | rbd_flatten_volume_from_snapshot=false | 5116 | # (string value) |
1234 | rbd_max_clone_depth=5 | 5117 | #sentinel_service_name = mymaster |
1235 | rbd_user=cinder-volume | ||
1236 | #rbd_secret_uuid= | ||
1237 | volume_backend_name=RBD_CEPH | ||
1238 | 5118 | ||
1239 | # Total option count: 255 | ||
1240 | 5119 | ||
1241 | # [nova_client] | 5120 | [ssl] |
1242 | # max_timing_buffer=100 | ||
1243 | 5121 | ||
1244 | [keystone_authtoken] | 5122 | # |
1245 | identity_uri=http://127.0.0.1:8081/keystone/admin | 5123 | # From oslo.service.sslutils |
1246 | admin_tenant_name = %SERVICE_TENANT_NAME% | 5124 | # |
1247 | admin_user = %SERVICE_USER% | 5125 | |
1248 | admin_password = %SERVICE_PASSWORD% | 5126 | # CA certificate file to use to verify connecting clients. (string value) |
5127 | # Deprecated group/name - [DEFAULT]/ssl_ca_file | ||
5128 | #ca_file = <None> | ||
5129 | |||
5130 | # Certificate file to use when starting the server securely. (string value) | ||
5131 | # Deprecated group/name - [DEFAULT]/ssl_cert_file | ||
5132 | #cert_file = <None> | ||
5133 | |||
5134 | # Private key file to use when starting the server securely. (string value) | ||
5135 | # Deprecated group/name - [DEFAULT]/ssl_key_file | ||
5136 | #key_file = <None> | ||
5137 | |||
5138 | # SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and | ||
5139 | # SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some | ||
5140 | # distributions. (string value) | ||
5141 | #version = <None> | ||
5142 | |||
5143 | # Sets the list of available ciphers. value should be a string in the OpenSSL | ||
5144 | # cipher list format. (string value) | ||
5145 | #ciphers = <None> | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init deleted file mode 100644 index 4c97962..0000000 --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init +++ /dev/null | |||
@@ -1,130 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ### BEGIN INIT INFO | ||
4 | # Provides: cinder-api | ||
5 | # Required-Start: $remote_fs $syslog | ||
6 | # Required-Stop: $remote_fs $syslog | ||
7 | # Should-Start: postgresql rabbitmq-server | ||
8 | # Should-Stop: postgresql rabbitmq-server | ||
9 | # Default-Start: 3 5 | ||
10 | # Default-Stop: 0 1 2 6 | ||
11 | # Short-Description: OpenStack Block Storage (Cinder) - API | ||
12 | # Description: OpenStack Block Storage (Cinder) - API | ||
13 | ### END INIT INFO | ||
14 | |||
15 | SUFFIX=@suffix@ | ||
16 | DESC="cinder-$SUFFIX" | ||
17 | DAEMON="/usr/bin/cinder-$SUFFIX" | ||
18 | PIDFILE="/var/run/cinder-$SUFFIX.pid" | ||
19 | |||
20 | start() | ||
21 | { | ||
22 | if [ -e $PIDFILE ]; then | ||
23 | PIDDIR=/proc/$(cat $PIDFILE) | ||
24 | if [ -d ${PIDDIR} ]; then | ||
25 | echo "$DESC already running." | ||
26 | exit 1 | ||
27 | else | ||
28 | echo "Removing stale PID file $PIDFILE" | ||
29 | rm -f $PIDFILE | ||
30 | fi | ||
31 | fi | ||
32 | |||
33 | if [ ! -d /var/log/cinder ]; then | ||
34 | mkdir /var/log/cinder | ||
35 | fi | ||
36 | |||
37 | echo -n "Starting $DESC..." | ||
38 | |||
39 | start-stop-daemon --start --quiet --background \ | ||
40 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ | ||
41 | -- --log-dir=/var/log/cinder | ||
42 | |||
43 | if [ $? -eq 0 ]; then | ||
44 | echo "done." | ||
45 | else | ||
46 | echo "failed." | ||
47 | fi | ||
48 | } | ||
49 | |||
50 | stop() | ||
51 | { | ||
52 | echo -n "Stopping $DESC..." | ||
53 | start-stop-daemon --stop --quiet --pidfile $PIDFILE | ||
54 | if [ $? -eq 0 ]; then | ||
55 | echo "done." | ||
56 | else | ||
57 | echo "failed." | ||
58 | fi | ||
59 | rm -f $PIDFILE | ||
60 | } | ||
61 | |||
62 | status() | ||
63 | { | ||
64 | pid=`cat $PIDFILE 2>/dev/null` | ||
65 | if [ -n "$pid" ]; then | ||
66 | if ps -p $pid > /dev/null 2>&1 ; then | ||
67 | echo "$DESC is running" | ||
68 | return | ||
69 | fi | ||
70 | fi | ||
71 | echo "$DESC is not running" | ||
72 | } | ||
73 | |||
74 | reset() | ||
75 | { | ||
76 | . /etc/nova/openrc | ||
77 | |||
78 | # Cleanup cinder volume | ||
79 | simple_delete "cinder list --all-tenant" "cinder delete" 1 "cinder volume" | ||
80 | |||
81 | # Cleanup cinder backup | ||
82 | simple_delete "cinder backup-list" "cinder backup-delete" 1 "cinder backup" | ||
83 | |||
84 | stop | ||
85 | |||
86 | if ! pidof postmaster > /dev/null; then | ||
87 | /etc/init.d/postgresql-init | ||
88 | /etc/init.d/postgresql start | ||
89 | fi | ||
90 | [ ! -d /var/log/cinder ] && mkdir /var/log/cinder | ||
91 | sudo -u postgres dropdb cinder | ||
92 | sudo -u postgres createdb cinder | ||
93 | cinder-manage db sync | ||
94 | |||
95 | if [ ! -f /etc/cinder/nfs_shares ]; then | ||
96 | /bin/bash /etc/cinder/drivers/nfs_setup.sh | ||
97 | fi | ||
98 | |||
99 | # Create Cinder glusterfs_share config file with default glusterfs server | ||
100 | if [ ! -f /etc/cinder/glusterfs_shares ] && [ -f /usr/sbin/glusterfsd ]; then | ||
101 | /bin/bash /etc/cinder/drivers/glusterfs_setup.sh | ||
102 | fi | ||
103 | |||
104 | start | ||
105 | } | ||
106 | |||
107 | case "$1" in | ||
108 | start) | ||
109 | start | ||
110 | ;; | ||
111 | stop) | ||
112 | stop | ||
113 | ;; | ||
114 | restart|force-reload|reload) | ||
115 | stop | ||
116 | start | ||
117 | ;; | ||
118 | status) | ||
119 | status | ||
120 | ;; | ||
121 | reset) | ||
122 | reset | ||
123 | ;; | ||
124 | *) | ||
125 | echo "Usage: $0 {start|stop|force-reload|restart|reload|status|reset}" | ||
126 | exit 1 | ||
127 | ;; | ||
128 | esac | ||
129 | |||
130 | exit 0 | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index 3523038..5274698 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb | |||
@@ -6,9 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | |||
6 | 6 | ||
7 | SRCNAME = "cinder" | 7 | SRCNAME = "cinder" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \ | 9 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike \ |
10 | file://cinder-init \ | ||
11 | file://cinder-init.service \ | ||
12 | file://cinder-api.service \ | ||
13 | file://cinder-backup.service \ | ||
14 | file://cinder-scheduler.service \ | ||
15 | file://cinder-volume.service \ | ||
10 | file://cinder.conf \ | 16 | file://cinder.conf \ |
11 | file://cinder.init \ | ||
12 | file://cinder-volume \ | 17 | file://cinder-volume \ |
13 | file://nfs_setup.sh \ | 18 | file://nfs_setup.sh \ |
14 | file://glusterfs_setup.sh \ | 19 | file://glusterfs_setup.sh \ |
@@ -16,41 +21,22 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \ | |||
16 | file://add-cinder-volume-types.sh \ | 21 | file://add-cinder-volume-types.sh \ |
17 | " | 22 | " |
18 | 23 | ||
19 | # file://0001-run_tests-respect-tools-dir.patch | 24 | SRCREV = "4fb3a702ba8c3de24c41a6f706597bfa81e60435" |
20 | # file://fix_cinder_memory_leak.patch | 25 | PV = "11.1.0+git${SRCPV}" |
21 | # file://cinder-builtin-tests-config-location.patch | ||
22 | |||
23 | SRCREV = "61026d4e4f2a58dd84ffb2e4e40ab99860b9316a" | ||
24 | PV = "7.0.0+git${SRCPV}" | ||
25 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
26 | 27 | ||
27 | inherit setuptools update-rc.d identity default_configs hosts monitor | 28 | inherit setuptools systemd useradd identity default_configs hosts monitor |
28 | |||
29 | CINDER_BACKUP_BACKEND_DRIVER ?= "cinder.backup.drivers.swift" | ||
30 | |||
31 | SERVICECREATE_PACKAGES = "${SRCNAME}-setup" | ||
32 | KEYSTONE_HOST="${CONTROLLER_IP}" | ||
33 | 29 | ||
34 | # USERCREATE_PARAM and SERVICECREATE_PARAM contain the list of parameters to be set. | 30 | USER = "cinder" |
35 | # If the flag for a parameter in the list is not set here, the default value will be given to that parameter. | 31 | GROUP = "cinder" |
36 | # Parameters not in the list will be set to empty. | ||
37 | 32 | ||
38 | USERCREATE_PARAM_${SRCNAME}-setup = "name pass tenant role email" | 33 | USERADD_PACKAGES = "${PN}" |
39 | SERVICECREATE_PARAM_${SRCNAME}-setup = "name type description region publicurl adminurl internalurl" | 34 | GROUPADD_PARAM_${PN} = "--system ${GROUP}" |
40 | python () { | 35 | USERADD_PARAM_${PN} = "--system -m -d ${localstatedir}/lib/cinder -s /bin/false -g ${GROUP} ${USER}" |
41 | flags = {'type':'volume',\ | ||
42 | 'description':'OpenStack Volume Service',\ | ||
43 | 'publicurl':"'http://${KEYSTONE_HOST}:8776/v1/\$(tenant_id)s'",\ | ||
44 | 'adminurl':"'http://${KEYSTONE_HOST}:8776/v1/\$(tenant_id)s'",\ | ||
45 | 'internalurl':"'http://${KEYSTONE_HOST}:8776/v1/\$(tenant_id)s'"} | ||
46 | 36 | ||
47 | d.setVarFlags("SERVICECREATE_PARAM_%s-setup" % d.getVar('SRCNAME',True), flags) | 37 | CINDER_BACKUP_BACKEND_DRIVER ?= "cinder.backup.drivers.swift" |
48 | } | ||
49 | SERVICECREATE_PACKAGES[vardeps] += "KEYSTONE_HOST" | ||
50 | 38 | ||
51 | #do_install_prepend() { | 39 | KEYSTONE_HOST="${CONTROLLER_IP}" |
52 | # sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${S}/${SRCNAME}/tests/conf_fixture.py | ||
53 | #} | ||
54 | 40 | ||
55 | CINDER_LVM_VOLUME_BACKING_FILE_SIZE ?= "2G" | 41 | CINDER_LVM_VOLUME_BACKING_FILE_SIZE ?= "2G" |
56 | CINDER_NFS_VOLUME_SERVERS_DEFAULT = "controller:/etc/cinder/nfs_volumes" | 42 | CINDER_NFS_VOLUME_SERVERS_DEFAULT = "controller:/etc/cinder/nfs_volumes" |
@@ -65,9 +51,9 @@ do_install_append() { | |||
65 | #Instead of substituting api-paste.ini from the WORKDIR, | 51 | #Instead of substituting api-paste.ini from the WORKDIR, |
66 | #move it over to the image's directory and do the substitution there | 52 | #move it over to the image's directory and do the substitution there |
67 | install -d ${CINDER_CONF_DIR} | 53 | install -d ${CINDER_CONF_DIR} |
68 | install -m 600 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/ | 54 | install -o ${USER} -m 664 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/ |
69 | install -m 600 ${TEMPLATE_CONF_DIR}/api-paste.ini ${CINDER_CONF_DIR}/ | 55 | install -o ${USER} -m 664 ${TEMPLATE_CONF_DIR}/api-paste.ini ${CINDER_CONF_DIR}/ |
70 | install -m 600 ${S}/etc/cinder/policy.json ${CINDER_CONF_DIR}/ | 56 | install -o ${USER} -m 664 ${S}/etc/cinder/policy.json ${CINDER_CONF_DIR}/ |
71 | 57 | ||
72 | install -d ${CINDER_CONF_DIR}/drivers | 58 | install -d ${CINDER_CONF_DIR}/drivers |
73 | install -m 600 ${WORKDIR}/nfs_setup.sh ${CINDER_CONF_DIR}/drivers/ | 59 | install -m 600 ${WORKDIR}/nfs_setup.sh ${CINDER_CONF_DIR}/drivers/ |
@@ -76,33 +62,62 @@ do_install_append() { | |||
76 | install -m 700 ${WORKDIR}/add-cinder-volume-types.sh ${CINDER_CONF_DIR}/ | 62 | install -m 700 ${WORKDIR}/add-cinder-volume-types.sh ${CINDER_CONF_DIR}/ |
77 | 63 | ||
78 | install -d ${D}${localstatedir}/log/${SRCNAME} | 64 | install -d ${D}${localstatedir}/log/${SRCNAME} |
79 | 65 | ||
80 | for file in api-paste.ini cinder.conf; do | 66 | # Setup the neutron initialization script |
81 | sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" \ | 67 | INIT_FILE=${CINDER_CONF_DIR}/cinder-init |
82 | -i ${CINDER_CONF_DIR}/$file | 68 | install -g ${USER} -m 750 ${WORKDIR}/cinder-init ${INIT_FILE} |
83 | sed -e "s:%SERVICE_USER%:${SRCNAME}:g" -i ${CINDER_CONF_DIR}/$file | 69 | sed -e "s:%DB_USER%:${DB_USER}:g" -i ${INIT_FILE} |
84 | sed -e "s:%SERVICE_PASSWORD%:${SERVICE_PASSWORD}:g" \ | 70 | sed -e "s:%CINDER_USER%:${USER}:g" -i ${INIT_FILE} |
85 | -i ${CINDER_CONF_DIR}/$file | 71 | sed -e "s:%CINDER_GROUP%:${GROUP}:g" -i ${INIT_FILE} |
86 | 72 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${INIT_FILE} | |
87 | sed -e "s:%DB_USER%:${DB_USER}:g" -i ${CINDER_CONF_DIR}/$file | 73 | sed -e "s:%ADMIN_USER%:${ADMIN_USER}:g" -i ${INIT_FILE} |
88 | sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${CINDER_CONF_DIR}/$file | 74 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${INIT_FILE} |
89 | sed -e "s:%CINDER_BACKUP_BACKEND_DRIVER%:${CINDER_BACKUP_BACKEND_DRIVER}:g" \ | 75 | sed -e "s:%ADMIN_ROLE%:${ADMIN_ROLE}:g" -i ${INIT_FILE} |
90 | -i ${CINDER_CONF_DIR}/$file | 76 | sed -e "s:%SYSCONFDIR%:${sysconfdir}:g" -i ${INIT_FILE} |
77 | sed -e "s:%ROOT_HOME%:${ROOT_HOME}:g" -i ${INIT_FILE} | ||
78 | |||
79 | # install systemd service files | ||
80 | install -d ${D}${systemd_system_unitdir}/ | ||
81 | for j in cinder-init cinder-api cinder-backup cinder-volume cinder-scheduler; do | ||
82 | SERVICE_FILE=${D}${systemd_system_unitdir}/$j.service | ||
83 | install -m 644 ${WORKDIR}/$j.service ${SERVICE_FILE} | ||
84 | sed -e "s:%USER%:${USER}:g" -i ${SERVICE_FILE} | ||
85 | sed -e "s:%GROUP%:${GROUP}:g" -i ${SERVICE_FILE} | ||
86 | sed -e "s:%LOCALSTATEDIR%:${localstatedir}:g" -i ${SERVICE_FILE} | ||
87 | sed -e "s:%SYSCONFDIR%:${sysconfdir}:g" -i ${SERVICE_FILE} | ||
91 | done | 88 | done |
92 | 89 | ||
93 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 90 | # |
94 | install -d ${D}${sysconfdir}/init.d | 91 | # Per https://docs.openstack.org/cinder/pike/install/cinder-controller-install-ubuntu.html |
95 | sed 's:@suffix@:api:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-api.init.sh | 92 | # |
96 | install -m 0755 ${WORKDIR}/cinder-api.init.sh ${D}${sysconfdir}/init.d/cinder-api | 93 | CONF_FILE="${CINDER_CONF_DIR}/cinder.conf" |
97 | sed 's:@suffix@:scheduler:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-scheduler.init.sh | 94 | sed -e "/^\[database\]/aconnection = postgresql+psycopg2://${DB_USER}:${DB_PASSWORD}@${CONTROLLER_IP}/cinder" \ |
98 | install -m 0755 ${WORKDIR}/cinder-scheduler.init.sh ${D}${sysconfdir}/init.d/cinder-scheduler | 95 | -i ${CONF_FILE} |
99 | sed 's:@suffix@:backup:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-backup.init.sh | 96 | sed -e "/#transport_url =/atransport_url = rabbit://openstack:${ADMIN_PASSWORD}@${CONTROLLER_IP}" -i ${CONF_FILE} |
100 | install -m 0755 ${WORKDIR}/cinder-backup.init.sh ${D}${sysconfdir}/init.d/cinder-backup | 97 | sed -e "/#auth_strategy =/aauth_strategy = keystone" -i ${CONF_FILE} |
101 | install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume | 98 | |
102 | fi | 99 | str="auth_uri = http://${CONTROLLER_IP}:5000" |
100 | str="$str\nauth_url = http://${CONTROLLER_IP}:35357" | ||
101 | str="$str\nmemcached_servers = ${CONTROLLER_IP}:11211" | ||
102 | str="$str\nauth_type = password" | ||
103 | str="$str\nproject_domain_name = Default" | ||
104 | str="$str\nuser_domain_name = Default" | ||
105 | str="$str\nproject_name = service" | ||
106 | str="$str\nusername = ${USER}" | ||
107 | str="$str\npassword = ${ADMIN_PASSWORD}" | ||
108 | sed -e "/^\[keystone_authtoken\].*/a$str" -i ${CONF_FILE} | ||
109 | |||
110 | sed -e "/#my_ip =/amy_ip = ${MY_IP}" -i ${CONF_FILE} | ||
111 | sed -e "/#lock_path =/alock_path = ${localstatedir}/lib/cinder/tmp" -i ${CONF_FILE} | ||
112 | |||
113 | sed -e "/#enabled_backends =/aenabled_backends = nfsdriver" -i ${CONF_FILE} | ||
114 | str="[nfsdriver]" | ||
115 | str="$str\nvolume_group=nfs-group-1" | ||
116 | str="$str\nvolume_driver=cinder.volume.drivers.nfs.NfsDriver" | ||
117 | str="$str\nvolume_backend_name=Generic_NFS" | ||
118 | sed -e "s/\(^\[backend\].*\)/$str\n\1/" -i ${CONF_FILE} | ||
103 | 119 | ||
104 | # test setup | 120 | # test setup |
105 | cp run_tests.sh ${CINDER_CONF_DIR} | ||
106 | cp -r tools ${CINDER_CONF_DIR} | 121 | cp -r tools ${CINDER_CONF_DIR} |
107 | 122 | ||
108 | #Create cinder volume group backing file | 123 | #Create cinder volume group backing file |
@@ -123,32 +138,26 @@ do_install_append() { | |||
123 | sed -e "s:%IS_DEFAULT%:${is_default}:g" -i ${D}/etc/cinder/drivers/glusterfs_setup.sh | 138 | sed -e "s:%IS_DEFAULT%:${is_default}:g" -i ${D}/etc/cinder/drivers/glusterfs_setup.sh |
124 | } | 139 | } |
125 | 140 | ||
126 | pkg_postinst_${SRCNAME}-setup () { | 141 | #pkg_postinst_${SRCNAME}-setup () { |
127 | if [ -z "$D" ]; then | 142 | # if [ -z "$D" ]; then |
128 | # This is to make sure postgres is configured and running | 143 | # if [ ! -d /var/log/cinder ]; then |
129 | if ! pidof postmaster > /dev/null; then | 144 | # mkdir /var/log/cinder |
130 | /etc/init.d/postgresql-init | 145 | # fi |
131 | /etc/init.d/postgresql start | 146 | # |
132 | fi | 147 | # sudo -u postgres createdb cinder |
133 | 148 | # cinder-manage db sync | |
134 | if [ ! -d /var/log/cinder ]; then | 149 | # |
135 | mkdir /var/log/cinder | 150 | # # Create Cinder nfs_share config file with default nfs server |
136 | fi | 151 | # if [ ! -f /etc/cinder/nfs_shares ]; then |
137 | 152 | # /bin/bash /etc/cinder/drivers/nfs_setup.sh | |
138 | sudo -u postgres createdb cinder | 153 | # fi |
139 | cinder-manage db sync | 154 | # |
140 | 155 | # # Create Cinder glusterfs_share config file with default glusterfs server | |
141 | # Create Cinder nfs_share config file with default nfs server | 156 | # if [ ! -f /etc/cinder/glusterfs_shares ] && [ -f /usr/sbin/glusterfsd ]; then |
142 | if [ ! -f /etc/cinder/nfs_shares ]; then | 157 | # /bin/bash /etc/cinder/drivers/glusterfs_setup.sh |
143 | /bin/bash /etc/cinder/drivers/nfs_setup.sh | 158 | # fi |
144 | fi | 159 | # fi |
145 | 160 | #} | |
146 | # Create Cinder glusterfs_share config file with default glusterfs server | ||
147 | if [ ! -f /etc/cinder/glusterfs_shares ] && [ -f /usr/sbin/glusterfsd ]; then | ||
148 | /bin/bash /etc/cinder/drivers/glusterfs_setup.sh | ||
149 | fi | ||
150 | fi | ||
151 | } | ||
152 | 161 | ||
153 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" | 162 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" |
154 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 163 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
@@ -161,20 +170,23 @@ RDEPENDS_${SRCNAME}-tests += " bash python" | |||
161 | 170 | ||
162 | FILES_${PN} = "${libdir}/* /etc/tgt" | 171 | FILES_${PN} = "${libdir}/* /etc/tgt" |
163 | 172 | ||
164 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ | 173 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/tools" |
165 | ${sysconfdir}/${SRCNAME}/tools" | ||
166 | 174 | ||
167 | FILES_${SRCNAME}-api = "${bindir}/cinder-api \ | 175 | FILES_${SRCNAME}-api = " \ |
168 | ${sysconfdir}/init.d/cinder-api" | 176 | ${bindir}/cinder-api \ |
177 | " | ||
169 | 178 | ||
170 | FILES_${SRCNAME}-volume = "${bindir}/cinder-volume \ | 179 | FILES_${SRCNAME}-volume = " \ |
171 | ${sysconfdir}/init.d/cinder-volume" | 180 | ${bindir}/cinder-volume \ |
181 | " | ||
172 | 182 | ||
173 | FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \ | 183 | FILES_${SRCNAME}-scheduler = " \ |
174 | ${sysconfdir}/init.d/cinder-scheduler" | 184 | ${bindir}/cinder-scheduler \ |
185 | " | ||
175 | 186 | ||
176 | FILES_${SRCNAME}-backup = "${bindir}/cinder-backup \ | 187 | FILES_${SRCNAME}-backup = " \ |
177 | ${sysconfdir}/init.d/cinder-backup" | 188 | ${bindir}/cinder-backup \ |
189 | " | ||
178 | 190 | ||
179 | FILES_${SRCNAME} = "${bindir}/* \ | 191 | FILES_${SRCNAME} = "${bindir}/* \ |
180 | ${sysconfdir}/${SRCNAME}/* \ | 192 | ${sysconfdir}/${SRCNAME}/* \ |
@@ -187,32 +199,21 @@ DEPENDS += " \ | |||
187 | python-pbr \ | 199 | python-pbr \ |
188 | " | 200 | " |
189 | 201 | ||
190 | RDEPENDS_${PN} += "lvm2 \ | 202 | RDEPENDS_${PN} += " \ |
191 | python-sqlalchemy \ | 203 | lvm2 \ |
192 | python-amqplib \ | 204 | python-pbr \ |
193 | python-anyjson \ | 205 | python-babel \ |
194 | python-eventlet \ | 206 | python-decorator \ |
195 | python-kombu \ | 207 | python-eventlet \ |
196 | python-lxml \ | 208 | python-greenlet \ |
197 | python-routes \ | 209 | python-httplib2 \ |
198 | python-webob \ | 210 | python-iso8601 \ |
199 | python-greenlet \ | 211 | python-ipaddress \ |
200 | python-lockfile \ | 212 | python-keystoneauth1 \ |
201 | python-pastedeploy \ | 213 | python-keystonemiddleware \ |
202 | python-paste \ | 214 | python-lxml \ |
203 | python-sqlalchemy-migrate \ | 215 | python-oauth2client \ |
204 | python-stevedore \ | 216 | python-oslo.config \ |
205 | python-suds-jurko \ | ||
206 | python-paramiko \ | ||
207 | python-babel \ | ||
208 | python-iso8601 \ | ||
209 | python-setuptools-git \ | ||
210 | python-glanceclient \ | ||
211 | python-keystoneclient \ | ||
212 | python-swiftclient \ | ||
213 | python-cinderclient \ | ||
214 | python-oslo.config \ | ||
215 | python-oslo.rootwrap \ | ||
216 | python-oslo.concurrency \ | 217 | python-oslo.concurrency \ |
217 | python-oslo.context \ | 218 | python-oslo.context \ |
218 | python-oslo.db \ | 219 | python-oslo.db \ |
@@ -220,52 +221,78 @@ RDEPENDS_${PN} += "lvm2 \ | |||
220 | python-oslo.messaging \ | 221 | python-oslo.messaging \ |
221 | python-oslo.middleware \ | 222 | python-oslo.middleware \ |
222 | python-oslo.policy \ | 223 | python-oslo.policy \ |
224 | python-oslo.privsep \ | ||
223 | python-oslo.reports \ | 225 | python-oslo.reports \ |
226 | python-oslo.rootwrap \ | ||
224 | python-oslo.serialization \ | 227 | python-oslo.serialization \ |
225 | python-oslo.service \ | 228 | python-oslo.service \ |
226 | python-oslo.utils \ | 229 | python-oslo.utils \ |
227 | python-oslo.versionedobjects \ | 230 | python-oslo.versionedobjects \ |
228 | python-pbr \ | ||
229 | python-taskflow \ | ||
230 | python-rtslib-fb \ | ||
231 | python-keystonemiddleware \ | ||
232 | python-netaddr \ | ||
233 | python-osprofiler \ | 231 | python-osprofiler \ |
234 | python-pycrypto \ | 232 | python-paramiko \ |
233 | python-paste \ | ||
234 | python-pastedeploy \ | ||
235 | python-psutil \ | ||
235 | python-pyparsing \ | 236 | python-pyparsing \ |
236 | python-barbicanclient \ | 237 | python-barbicanclient \ |
237 | python-glanceclient \ | 238 | python-glanceclient \ |
239 | python-keystoneclient \ | ||
238 | python-novaclient \ | 240 | python-novaclient \ |
239 | python-swiftclient \ | 241 | python-swiftclient \ |
242 | python-pytz \ | ||
240 | python-requests \ | 243 | python-requests \ |
241 | python-retrying \ | 244 | python-retrying \ |
245 | python-routes \ | ||
242 | python-taskflow \ | 246 | python-taskflow \ |
243 | python-rtslib-fb \ | 247 | python-rtslib-fb \ |
248 | python-simplejson \ | ||
244 | python-six \ | 249 | python-six \ |
250 | python-sqlalchemy \ | ||
251 | python-sqlalchemy-migrate \ | ||
252 | python-stevedore \ | ||
253 | python-suds-jurko \ | ||
254 | python-webob \ | ||
245 | python-oslo.i18n \ | 255 | python-oslo.i18n \ |
246 | python-oslo.vmware \ | 256 | python-oslo.vmware \ |
247 | python-os-brick \ | 257 | python-os-brick \ |
248 | python-enum34 \ | 258 | python-os-win \ |
249 | python-routes \ | 259 | python-tooz \ |
250 | " | 260 | python-google-api-python-client \ |
261 | python-castellan \ | ||
262 | python-cryptography \ | ||
263 | " | ||
251 | 264 | ||
252 | RDEPENDS_${SRCNAME} = "${PN} \ | 265 | RDEPENDS_${SRCNAME} = " \ |
253 | postgresql postgresql-client python-psycopg2 tgt" | 266 | ${PN} \ |
267 | postgresql \ | ||
268 | postgresql-client \ | ||
269 | python-psycopg2 \ | ||
270 | tgt" | ||
254 | 271 | ||
255 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" | 272 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" |
256 | RDEPENDS_${SRCNAME}-volume = "${SRCNAME}" | 273 | RDEPENDS_${SRCNAME}-volume = "${SRCNAME}" |
257 | RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}" | 274 | RDEPENDS_${SRCNAME}-scheduler = "${SRCNAME}" |
258 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" | 275 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME} bash" |
259 | 276 | ||
260 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" | 277 | SYSTEMD_PACKAGES = " \ |
261 | INITSCRIPT_NAME_${SRCNAME}-api = "cinder-api" | 278 | ${SRCNAME}-setup \ |
262 | INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 279 | ${SRCNAME}-api \ |
263 | INITSCRIPT_NAME_${SRCNAME}-volume = "cinder-volume" | 280 | ${SRCNAME}-volume \ |
264 | INITSCRIPT_PARAMS_${SRCNAME}-volume = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 281 | ${SRCNAME}-scheduler \ |
265 | INITSCRIPT_NAME_${SRCNAME}-scheduler = "cinder-scheduler" | 282 | ${SRCNAME}-backup \ |
266 | INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 283 | " |
267 | INITSCRIPT_NAME_${SRCNAME}-backup = "cinder-backup" | 284 | |
268 | INITSCRIPT_PARAMS_${SRCNAME}-backup = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | 285 | SYSTEMD_SERVICE_${SRCNAME}-setup = "cinder-init.service" |
286 | SYSTEMD_SERVICE_${SRCNAME}-api = "cinder-api.service" | ||
287 | SYSTEMD_SERVICE_${SRCNAME}-volume = "cinder-volume.service" | ||
288 | SYSTEMD_SERVICE_${SRCNAME}-scheduler = "cinder-scheduler.service" | ||
289 | SYSTEMD_SERVICE_${SRCNAME}-backup = "cinder-backup.service" | ||
290 | |||
291 | # Disable until they are configured (via -setup) | ||
292 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-api = "disable" | ||
293 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-volume = "disable" | ||
294 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-scheduler = "disable" | ||
295 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-backup = "disable" | ||
269 | 296 | ||
270 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" | 297 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" |
271 | MONITOR_SERVICE_${SRCNAME} = "cinder" | 298 | MONITOR_SERVICE_${SRCNAME} = "cinder" |
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 741fc0a..3e646df 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
@@ -188,6 +188,9 @@ do_install_append() { | |||
188 | sed -e "/#api_servers =/aapi_servers = ${CONTROLLER_IP}:9292" -i ${CONF_FILE} | 188 | sed -e "/#api_servers =/aapi_servers = ${CONTROLLER_IP}:9292" -i ${CONF_FILE} |
189 | sed -e "/#lock_path =/alock_path = /var/lib/nova/tmp" -i ${CONF_FILE} | 189 | sed -e "/#lock_path =/alock_path = /var/lib/nova/tmp" -i ${CONF_FILE} |
190 | 190 | ||
191 | # Configure cinder | ||
192 | sed -e "/^\[cinder\].*/aos_region_name = RegionOne" -i ${CONF_FILE} | ||
193 | |||
191 | str="os_region_name = RegionOne" | 194 | str="os_region_name = RegionOne" |
192 | str="$str\nproject_domain_name = Default" | 195 | str="$str\nproject_domain_name = Default" |
193 | str="$str\nproject_name = service" | 196 | str="$str\nproject_name = service" |