blob: a54683b0a6a1e56043b46d0ea7bffa9e9ed97349 [file] [log] [blame]
Filip Pytlounda2a0792015-10-06 16:28:31 +02001==============================
2Openstack Cinder Block Storage
3==============================
4
Jakub Pavlikb513f132016-05-20 11:11:19 +02005Cinder provides an infrastructure for managing volumes in OpenStack. It was
6originally a Nova component called nova-volume, but has become an independent
7project since the Folsom release.
Filip Pytlounda2a0792015-10-06 16:28:31 +02008
9Sample pillars
10==============
11
Jakub Pavlikb513f132016-05-20 11:11:19 +020012New structure divides cinder-api,cinder-scheduler to role controller and
13cinder-volume to role volume.
Filip Pytlounda2a0792015-10-06 16:28:31 +020014
15.. code-block:: yaml
16
17 cinder:
18 controller:
19 enabled: true
20 version: juno
Dmitry Stremkovskiy9f4ac8b2017-07-11 09:48:46 +030021 cinder_uid: 304
22 cinder_gid: 304
Dmitry Stremkovskiyef4c7d02017-07-30 16:51:52 +030023 nas_secure_file_permissions: false
24 nas_secure_file_operations: false
Dmitry Stremkovskiya5dd7992017-07-30 19:54:23 +030025 cinder_internal_tenant_user_id: f46924c112a14c80ab0a24a613d95eef
26 cinder_internal_tenant_project_id: b7455b8974bb4064ad247c8f375eae6c
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010027 default_volume_type: 7k2SaS
stelucz1f3a82f2017-09-19 18:38:13 +020028 enable_force_upload: true
Damian Szeluga0918f5a2017-04-19 12:26:56 +020029 availability_zone_fallback: True
Filip Pytlounda2a0792015-10-06 16:28:31 +020030 database:
31 engine: mysql
32 host: 127.0.0.1
33 port: 3306
34 name: cinder
35 user: cinder
36 password: pwd
37 identity:
38 engine: keystone
39 host: 127.0.0.1
40 port: 35357
41 tenant: service
42 user: cinder
43 password: pwd
44 message_queue:
45 engine: rabbitmq
46 host: 127.0.0.1
47 port: 5672
48 user: openstack
49 password: pwd
50 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010051 backend:
52 7k2_SAS:
53 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +010054 type_name: slow-disks
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010055 host: 192.168.0.1
56 port: 22
57 user: username
58 password: pass
59 connection: FC/iSCSI
60 multihost: true
61 multipath: true
62 pool: SAS7K2
Kirill Bespalov01614c02017-07-31 17:06:09 +030063 audit:
Petr Michaleca1c7ff12016-11-29 16:32:50 +010064 enabled: false
Simon Pasquier9089de42017-02-03 16:13:22 +010065 osapi_max_limit: 500
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +030066 barbican:
67 enabled: true
Filip Pytlounda2a0792015-10-06 16:28:31 +020068
69 cinder:
70 volume:
71 enabled: true
72 version: juno
Dmitry Stremkovskiy9f4ac8b2017-07-11 09:48:46 +030073 cinder_uid: 304
74 cinder_gid: 304
Dmitry Stremkovskiyef4c7d02017-07-30 16:51:52 +030075 nas_secure_file_permissions: false
76 nas_secure_file_operations: false
Dmitry Stremkovskiya5dd7992017-07-30 19:54:23 +030077 cinder_internal_tenant_user_id: f46924c112a14c80ab0a24a613d95eef
78 cinder_internal_tenant_project_id: b7455b8974bb4064ad247c8f375eae6c
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010079 default_volume_type: 7k2SaS
stelucz1f3a82f2017-09-19 18:38:13 +020080 nable_force_upload: true
Filip Pytlounda2a0792015-10-06 16:28:31 +020081 database:
82 engine: mysql
83 host: 127.0.0.1
84 port: 3306
85 name: cinder
86 user: cinder
87 password: pwd
88 identity:
89 engine: keystone
90 host: 127.0.0.1
91 port: 35357
92 tenant: service
93 user: cinder
94 password: pwd
95 message_queue:
96 engine: rabbitmq
97 host: 127.0.0.1
98 port: 5672
99 user: openstack
100 password: pwd
101 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100102 backend:
103 7k2_SAS:
104 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100105 type_name: 7k2 SAS disk
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100106 host: 192.168.0.1
107 port: 22
108 user: username
109 password: pass
110 connection: FC/iSCSI
111 multihost: true
112 multipath: true
113 pool: SAS7K2
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100114 audit:
115 enabled: false
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +0300116 barbican:
117 enabled: true
Ondrej Smola74af21b2017-04-28 12:30:24 +0200118
119
120Enable CORS parameters
121
122.. code-block:: yaml
123
124 cinder:
125 controller:
126 cors:
127 allowed_origin: https:localhost.local,http:localhost.local
128 expose_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
129 allow_methods: GET,PUT,POST,DELETE,PATCH
130 allow_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
131 allow_credentials: True
132 max_age: 86400
Jiri Konecny2dce35f2016-04-19 16:29:52 +0200133
134Client-side RabbitMQ HA setup for controller
135
136.. code-block:: yaml
137
138 cinder:
139 controller:
140 ....
141 message_queue:
142 engine: rabbitmq
143 members:
144 - host: 10.0.16.1
145 - host: 10.0.16.2
146 - host: 10.0.16.3
147 user: openstack
148 password: pwd
149 virtual_host: '/openstack'
150 ....
151
152Client-side RabbitMQ HA setup for volume component
153
154.. code-block:: yaml
155
156 cinder:
157 volume:
158 ....
159 message_queue:
160 engine: rabbitmq
161 members:
162 - host: 10.0.16.1
163 - host: 10.0.16.2
164 - host: 10.0.16.3
165 user: openstack
166 password: pwd
167 virtual_host: '/openstack'
168 ....
Filip Pytlounda2a0792015-10-06 16:28:31 +0200169
Kirill Bespalov01614c02017-07-31 17:06:09 +0300170
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300171Configuring TLS communications
172------------------------------
Kirill Bespalov01614c02017-07-31 17:06:09 +0300173
Kirill Bespalov01614c02017-07-31 17:06:09 +0300174
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300175**Note:** by default system wide installed CA certs are used, so ``cacert_file`` param is optional, as well as ``cacert``.
176
177
178- **RabbitMQ TLS**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300179
180.. code-block:: yaml
181
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300182 cinder:
183 controller, volume:
Kirill Bespalov01614c02017-07-31 17:06:09 +0300184 message_queue:
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300185 port: 5671
Kirill Bespalov01614c02017-07-31 17:06:09 +0300186 ssl:
187 enabled: True
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300188 (optional) cacert: cert body if the cacert_file does not exists
189 (optional) cacert_file: /etc/openstack/rabbitmq-ca.pem
190 (optional) version: TLSv1_2
Kirill Bespalov01614c02017-07-31 17:06:09 +0300191
192
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300193- **MySQL TLS**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300194
195.. code-block:: yaml
196
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300197 cinder:
198 controller:
199 database:
Kirill Bespalov01614c02017-07-31 17:06:09 +0300200 ssl:
201 enabled: True
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300202 (optional) cacert: cert body if the cacert_file does not exists
203 (optional) cacert_file: /etc/openstack/mysql-ca.pem
Kirill Bespalov01614c02017-07-31 17:06:09 +0300204
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300205- **Openstack HTTPS API**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300206
207.. code-block:: yaml
208
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300209 cinder:
210 controller, volume:
211 identity:
212 protocol: https
213 (optional) cacert_file: /etc/openstack/proxy.pem
214 glance:
215 protocol: https
216 (optional) cacert_file: /etc/openstack/proxy.pem
Kirill Bespalov01614c02017-07-31 17:06:09 +0300217
218
219
Filip Pytlounda2a0792015-10-06 16:28:31 +0200220Cinder setup with zeroing deleted volumes
221
Alexander Noskov62496fb2017-02-27 16:42:54 +0100222.. code-block:: yaml
223
Filip Pytlounda2a0792015-10-06 16:28:31 +0200224 cinder:
225 controller:
226 enabled: true
227 wipe_method: zero
228 ...
229
230Cinder setup with shreding deleted volumes
231
232.. code-block:: yaml
233
234 cinder:
235 controller:
236 enabled: true
237 wipe_method: shred
238 ...
239
Dmitry Ukov56c29072017-05-04 16:48:29 +0400240Configuration of policy.json file
241
242.. code-block:: yaml
243
244 cinder:
245 controller:
246 ....
247 policy:
248 'volume:delete': 'rule:admin_or_owner'
249 # Add key without value to remove line from policy.json
250 'volume:extend':
251
Filip Pytlounda2a0792015-10-06 16:28:31 +0200252
253Default Cinder setup with iSCSI target
254
255.. code-block:: yaml
256
257 cinder:
258 controller:
259 enabled: true
Jakub Pavlik3d437df2016-04-11 22:07:50 +0200260 version: mitaka
261 default_volume_type: lvmdriver-1
Filip Pytlounda2a0792015-10-06 16:28:31 +0200262 database:
263 engine: mysql
264 host: 127.0.0.1
265 port: 3306
266 name: cinder
267 user: cinder
268 password: pwd
269 identity:
270 engine: keystone
271 host: 127.0.0.1
272 port: 35357
273 tenant: service
274 user: cinder
275 password: pwd
276 message_queue:
277 engine: rabbitmq
278 host: 127.0.0.1
279 port: 5672
280 user: openstack
281 password: pwd
282 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100283 backend:
Jakub Pavlik3d437df2016-04-11 22:07:50 +0200284 lvmdriver-1:
285 engine: lvm
286 type_name: lvmdriver-1
287 volume_group: cinder-volume
Filip Pytlounda2a0792015-10-06 16:28:31 +0200288
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100289Cinder setup for IBM Storwize
Filip Pytlounda2a0792015-10-06 16:28:31 +0200290
291.. code-block:: yaml
292
293 cinder:
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100294 volume:
Filip Pytlounda2a0792015-10-06 16:28:31 +0200295 enabled: true
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100296 backend:
297 7k2_SAS:
298 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100299 type_name: 7k2 SAS disk
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100300 host: 192.168.0.1
301 port: 22
302 user: username
303 password: pass
304 connection: FC/iSCSI
305 multihost: true
306 multipath: true
307 pool: SAS7K2
308 10k_SAS:
309 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100310 type_name: 10k SAS disk
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100311 host: 192.168.0.1
312 port: 22
313 user: username
314 password: pass
315 connection: FC/iSCSI
316 multihost: true
317 multipath: true
318 pool: SAS10K
319 15k_SAS:
320 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100321 type_name: 15k SAS
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100322 host: 192.168.0.1
323 port: 22
324 user: username
325 password: pass
326 connection: FC/iSCSI
327 multihost: true
328 multipath: true
329 pool: SAS15K
Filip Pytlounda2a0792015-10-06 16:28:31 +0200330
Jiri Broulik88548db2017-03-31 12:21:37 +0200331
332Cinder setup with NFS
333
334.. code-block:: yaml
335
336 cinder:
337 controller:
338 enabled: true
339 default_volume_type: nfs-driver
340 backend:
341 nfs-driver:
342 engine: nfs
343 type_name: nfs-driver
344 volume_group: cinder-volume
345 path: /var/lib/cinder/nfs
346 devices:
347 - 172.16.10.110:/var/nfs/cinder
348 options: rw,sync
349
350
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400351Cinder setup with NetApp
352
353.. code-block:: yaml
354
355 cinder:
356 controller:
357 backend:
358 netapp:
359 engine: netapp
360 type_name: netapp
361 user: openstack
362 vserver: vm1
363 server_hostname: 172.18.2.3
364 password: password
365 storage_protocol: nfs
366 transport_type: https
367 lun_space_reservation: enabled
368 use_multipath_for_image_xfer: True
Dmitry Stremkouskiffa53c02017-09-15 19:47:21 +0300369 nas_secure_file_operations: false
370 nas_secure_file_permissions: false
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400371 devices:
372 - 172.18.1.2:/vol_1
373 - 172.18.1.2:/vol_2
374 - 172.18.1.2:/vol_3
375 - 172.18.1.2:/vol_4
Jakub Pavlik94dc0c92017-06-14 14:53:23 +0200376 linux:
377 system:
378 package:
379 nfs-common:
380 version: latest
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400381
382
Filip Pytlounda2a0792015-10-06 16:28:31 +0200383Cinder setup with Hitachi VPS
384
385.. code-block:: yaml
386
387 cinder:
388 controller:
389 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100390 backend:
391 hus100_backend:
marcodaa52fa2016-01-25 23:49:50 +0100392 type_name: HUS100
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100393 backend: hus100_backend
394 engine: hitachi_vsp
395 connection: FC
Filip Pytlounda2a0792015-10-06 16:28:31 +0200396
Ondrej Smola16d66bd2017-01-15 13:56:03 +0100397Cinder setup with Hitachi VPS with defined ldev range
398
399.. code-block:: yaml
400
401 cinder:
402 controller:
403 enabled: true
404 backend:
405 hus100_backend:
406 type_name: HUS100
407 backend: hus100_backend
408 engine: hitachi_vsp
409 connection: FC
410 ldev_range: 0-1000
411
Filip Pytlounda2a0792015-10-06 16:28:31 +0200412Cinder setup with CEPH
413
414.. code-block:: yaml
415
416 cinder:
417 controller:
418 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100419 backend:
420 ceph_backend:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100421 type_name: standard-iops
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100422 backend: ceph_backend
423 pool: volumes
424 engine: ceph
425 user: cinder
426 secret_uuid: da74ccb7-aa59-1721-a172-0006b1aa4e3e
427 client_cinder_key: AQDOavlU6BsSJhAAnpFR906mvdgdfRqLHwu0Uw==
Michel Nederlofb43a4872017-06-20 09:36:47 +0200428 report_discard_supported: True
Filip Pytlounda2a0792015-10-06 16:28:31 +0200429
430http://ceph.com/docs/master/rbd/rbd-openstack/
431
432
433Cinder setup with HP3par
434
435.. code-block:: yaml
436
437 cinder:
438 controller:
439 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100440 backend:
441 hp3par_backend:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100442 type_name: hp3par
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100443 backend: hp3par_backend
444 user: hp3paruser
445 password: something
446 url: http://10.10.10.10/api/v1
447 cpg: OpenStackCPG
448 host: 10.10.10.10
449 login: hp3paradmin
450 sanpassword: something
451 debug: True
452 snapcpg: OpenStackSNAPCPG
Filip Pytlounda2a0792015-10-06 16:28:31 +0200453
454Cinder setup with Fujitsu Eternus
455
456.. code-block:: yaml
457
458 cinder:
459 volume:
460 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100461 backend:
462 10kThinPro:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100463 type_name: 10kThinPro
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100464 engine: fujitsu
465 pool: 10kThinPro
466 host: 192.168.0.1
467 port: 5988
468 user: username
469 password: pass
470 connection: FC/iSCSI
marcodaa52fa2016-01-25 23:49:50 +0100471 name: 10kThinPro
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100472 10k_SAS:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100473 type_name: 10k_SAS
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100474 pool: SAS10K
475 engine: fujitsu
476 host: 192.168.0.1
477 port: 5988
478 user: username
479 password: pass
480 connection: FC/iSCSI
marcodaa52fa2016-01-25 23:49:50 +0100481 name: 10k_SAS
Filip Pytlounda2a0792015-10-06 16:28:31 +0200482
Jakub Pavlik9703c602015-10-15 18:52:47 +0200483Cinder setup with IBM GPFS filesystem
484
485.. code-block:: yaml
486
487 cinder:
488 volume:
489 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100490 backend:
491 GPFS-GOLD:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100492 type_name: GPFS-GOLD
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100493 engine: gpfs
494 mount_point: '/mnt/gpfs-openstack/cinder/gold'
marcodaa52fa2016-01-25 23:49:50 +0100495 GPFS-SILVER:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100496 type_name: GPFS-SILVER
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100497 engine: gpfs
498 mount_point: '/mnt/gpfs-openstack/cinder/silver'
Kirill Bespalov01614c02017-07-31 17:06:09 +0300499
Jakub Pavlik9f5988a2016-01-11 13:44:57 +0100500Cinder setup with HP LeftHand
501
502.. code-block:: yaml
503
504 cinder:
505 volume:
506 enabled: true
507 backend:
508 HP-LeftHand:
509 type_name: normal-storage
510 engine: hp_lefthand
511 api_url: 'https://10.10.10.10:8081/lhos'
512 username: user
513 password: password
514 clustername: cluster1
515 iscsi_chap_enabled: false
516
Jakub Pavlika63764f2016-01-11 14:41:06 +0100517Extra parameters for HP LeftHand
Jakub Pavlika63764f2016-01-11 14:41:06 +0100518
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100519.. code-block:: yaml
520
Kirill Bespalov01614c02017-07-31 17:06:09 +0300521 cinder type-key normal-storage set hplh:data_pl=r-10-2 hplh:provisioning=full
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100522
marcodaa52fa2016-01-25 23:49:50 +0100523Cinder setup with Solidfire
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100524
525.. code-block:: yaml
526
527 cinder:
528 volume:
529 enabled: true
530 backend:
531 solidfire:
532 type_name: normal-storage
533 engine: solidfire
534 san_ip: 10.10.10.10
535 san_login: user
536 san_password: password
537 clustername: cluster1
538 sf_emulate_512: false
sergio9e6387e2018-02-19 21:13:14 +0200539 sf_api_port: 14443
540 host: ctl01
Filip Pytlounda2a0792015-10-06 16:28:31 +0200541
Alexander Noskov023a0032017-06-16 09:31:59 +0200542Cinder setup with Block Device driver
543
544.. code-block:: yaml
545
546 cinder:
547 volume:
548 enabled: true
549 backend:
550 bdd:
551 engine: bdd
552 enabled: true
553 type_name: bdd
554 devices:
555 - sdb
556 - sdc
557 - sdd
558
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200559Enable cinder-backup service for ceph
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100560
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200561.. code-block:: yaml
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100562
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200563 cinder:
564 controller:
565 enabled: true
566 version: mitaka
567 backup:
568 engine: ceph
569 ceph_conf: "/etc/ceph/ceph.conf"
570 ceph_pool: backup
571 ceph_stripe_count: 0
572 ceph_stripe_unit: 0
573 ceph_user: cinder
574 ceph_chunk_size: 134217728
575 restore_discard_excess_bytes: false
576 volume:
577 enabled: true
578 version: mitaka
579 backup:
580 engine: ceph
581 ceph_conf: "/etc/ceph/ceph.conf"
582 ceph_pool: backup
583 ceph_stripe_count: 0
584 ceph_stripe_unit: 0
585 ceph_user: cinder
586 ceph_chunk_size: 134217728
587 restore_discard_excess_bytes: false
Kirill Bespalov01614c02017-07-31 17:06:09 +0300588
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100589Enable auditing filter, ie: CADF
590
591.. code-block:: yaml
592
593 cinder:
594 controller:
595 audit:
596 enabled: true
597 ....
598 filter_factory: 'keystonemiddleware.audit:filter_factory'
599 map_file: '/etc/pycadf/cinder_api_audit_map.conf'
600 ....
601 volume:
602 audit:
603 enabled: true
604 ....
605 filter_factory: 'keystonemiddleware.audit:filter_factory'
606 map_file: '/etc/pycadf/cinder_api_audit_map.conf'
607
Michel Nederlofb8603eb2017-02-09 10:04:38 +0100608
609Cinder setup with custom availability zones:
610
611.. code-block:: yaml
612
613 cinder:
614 controller:
615 default_availability_zone: my-default-zone
616 storage_availability_zone: my-custom-zone-name
617 cinder:
618 volume:
619 default_availability_zone: my-default-zone
620 storage_availability_zone: my-custom-zone-name
621
Andrii Ostapenkob7aa34d2017-04-20 14:22:44 +0300622
623Cinder setup with custom non-admin volume query filters:
624
625.. code-block:: yaml
626
627 cinder:
628 controller:
629 query_volume_filters:
630 - name
631 - status
632 - metadata
633 - availability_zone
634 - bootable
635
636
Alexander Noskov62496fb2017-02-27 16:42:54 +0100637public_endpoint and osapi_volume_base_url parameters:
638"public_endpoint" is used for configuring versions endpoint,
639"osapi_volume_base_URL" is used to present Cinder URL to users.
640They are useful when running Cinder under load balancer in SSL.
641
642.. code-block:: yaml
643
644 cinder:
645 controller:
646 public_endpoint_address: https://${_param:cluster_domain}:8776
647
Michel Nederlofb8603eb2017-02-09 10:04:38 +0100648The default availability zone is used when a volume has been created, without specifying a zone in the create request. (this zone must exist in your configuration obviously)
649The storage availability zone is the actual zone where the node belongs to. Make sure to specify this per node.
650Check the documentation of OpenStack for more information
651
Jiri Broulik47aa6b32017-07-10 18:39:15 +0200652
653Client role
654
655.. code-block:: yaml
656
657 cinder:
658 client:
659 enabled: true
660 identity:
661 host: 127.0.0.1
662 port: 35357
663 project: service
664 user: cinder
665 password: pwd
666 protocol: http
667 endpoint_type: internalURL
668 region_name: RegionOne
669 backend:
670 ceph:
671 type_name: standard-iops
672 engine: ceph
673 key:
674 conn_speed: fibre-10G
675
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +0300676Enable Barbican integration
677
678.. code-block:: yaml
679
680 cinder:
681 controller:
682 barbican:
683 enabled: true
Jiri Broulik47aa6b32017-07-10 18:39:15 +0200684
Dmitry Kalashnik3291f542017-12-05 18:43:47 +0400685Enhanced logging with logging.conf
686----------------------------------
687
688By default logging.conf is disabled.
689
690That is possible to enable per-binary logging.conf with new variables:
691 * openstack_log_appender - set it to true to enable log_config_append for all OpenStack services;
692 * openstack_fluentd_handler_enabled - set to true to enable FluentHandler for all Openstack services.
Oleksii Chupryn688ae092018-02-07 09:49:21 +0200693 * openstack_ossyslog_handler_enabled - set to true to enable OSSysLogHandler for all Openstack services.
Dmitry Kalashnik3291f542017-12-05 18:43:47 +0400694
Oleksii Chupryn688ae092018-02-07 09:49:21 +0200695Only WatchedFileHandler, OSSysLogHandler and FluentHandler are available.
Dmitry Kalashnik3291f542017-12-05 18:43:47 +0400696
697Also it is possible to configure this with pillar:
698
699.. code-block:: yaml
700
701 cinder:
702 controller:
703 logging:
704 log_appender: true
705 log_handlers:
706 watchedfile:
707 enabled: true
708 fluentd:
709 enabled: true
Oleksii Chupryn688ae092018-02-07 09:49:21 +0200710 ossyslog:
711 enabled: true
Dmitry Kalashnik3291f542017-12-05 18:43:47 +0400712
713 volume:
714 logging:
715 log_appender: true
716 log_handlers:
717 watchedfile:
718 enabled: true
719 fluentd:
720 enabled: true
Oleksii Chupryn688ae092018-02-07 09:49:21 +0200721 ossyslog:
722 enabled: true
Dmitry Kalashnik3291f542017-12-05 18:43:47 +0400723
Jakub Pavlikb513f132016-05-20 11:11:19 +0200724Documentation and Bugs
725============================
726
727To learn how to deploy OpenStack Salt, consult the documentation available
728online at:
729
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100730https://wiki.openstack.org/wiki/OpenStackSalt
Jakub Pavlikb513f132016-05-20 11:11:19 +0200731
732In the unfortunate event that bugs are discovered, they should be reported to
733the appropriate bug tracker. If you obtained the software from a 3rd party
734operating system vendor, it is often wise to use their own bug tracker for
735reporting problems. In all other cases use the master OpenStack bug tracker,
736available at:
737
738 http://bugs.launchpad.net/openstack-salt
739
740Developers wishing to work on the OpenStack Salt project should always base
741their work on the latest formulas code, available from the master GIT
742repository at:
743
744 https://git.openstack.org/cgit/openstack/salt-formula-cinder
745
746Developers should also join the discussion on the IRC list, at:
747
748 https://wiki.openstack.org/wiki/Meetings/openstack-salt
Filip Pytlounb0f5c1f2017-02-02 13:02:03 +0100749
750Documentation and Bugs
751======================
752
753To learn how to install and update salt-formulas, consult the documentation
754available online at:
755
756 http://salt-formulas.readthedocs.io/
757
758In the unfortunate event that bugs are discovered, they should be reported to
759the appropriate issue tracker. Use Github issue tracker for specific salt
760formula:
761
762 https://github.com/salt-formulas/salt-formula-cinder/issues
763
764For feature requests, bug reports or blueprints affecting entire ecosystem,
765use Launchpad salt-formulas project:
766
767 https://launchpad.net/salt-formulas
768
769You can also join salt-formulas-users team and subscribe to mailing list:
770
771 https://launchpad.net/~salt-formulas-users
772
773Developers wishing to work on the salt-formulas projects should always base
774their work on master branch and submit pull request against specific formula.
775
776 https://github.com/salt-formulas/salt-formula-cinder
777
778Any questions or feedback is always welcome so feel free to join our IRC
779channel:
780
781 #salt-formulas @ irc.freenode.net