blob: 9ef35aa362e55ef8d727b3ae7476cb1acb4826fc [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
Damian Szeluga0918f5a2017-04-19 12:26:56 +020028 availability_zone_fallback: True
Filip Pytlounda2a0792015-10-06 16:28:31 +020029 database:
30 engine: mysql
31 host: 127.0.0.1
32 port: 3306
33 name: cinder
34 user: cinder
35 password: pwd
36 identity:
37 engine: keystone
38 host: 127.0.0.1
39 port: 35357
40 tenant: service
41 user: cinder
42 password: pwd
43 message_queue:
44 engine: rabbitmq
45 host: 127.0.0.1
46 port: 5672
47 user: openstack
48 password: pwd
49 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010050 backend:
51 7k2_SAS:
52 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +010053 type_name: slow-disks
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010054 host: 192.168.0.1
55 port: 22
56 user: username
57 password: pass
58 connection: FC/iSCSI
59 multihost: true
60 multipath: true
61 pool: SAS7K2
Kirill Bespalov01614c02017-07-31 17:06:09 +030062 audit:
Petr Michaleca1c7ff12016-11-29 16:32:50 +010063 enabled: false
Simon Pasquier9089de42017-02-03 16:13:22 +010064 osapi_max_limit: 500
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +030065 barbican:
66 enabled: true
Filip Pytlounda2a0792015-10-06 16:28:31 +020067
68 cinder:
69 volume:
70 enabled: true
71 version: juno
Dmitry Stremkovskiy9f4ac8b2017-07-11 09:48:46 +030072 cinder_uid: 304
73 cinder_gid: 304
Dmitry Stremkovskiyef4c7d02017-07-30 16:51:52 +030074 nas_secure_file_permissions: false
75 nas_secure_file_operations: false
Dmitry Stremkovskiya5dd7992017-07-30 19:54:23 +030076 cinder_internal_tenant_user_id: f46924c112a14c80ab0a24a613d95eef
77 cinder_internal_tenant_project_id: b7455b8974bb4064ad247c8f375eae6c
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +010078 default_volume_type: 7k2SaS
Filip Pytlounda2a0792015-10-06 16:28:31 +020079 database:
80 engine: mysql
81 host: 127.0.0.1
82 port: 3306
83 name: cinder
84 user: cinder
85 password: pwd
86 identity:
87 engine: keystone
88 host: 127.0.0.1
89 port: 35357
90 tenant: service
91 user: cinder
92 password: pwd
93 message_queue:
94 engine: rabbitmq
95 host: 127.0.0.1
96 port: 5672
97 user: openstack
98 password: pwd
99 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100100 backend:
101 7k2_SAS:
102 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100103 type_name: 7k2 SAS disk
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100104 host: 192.168.0.1
105 port: 22
106 user: username
107 password: pass
108 connection: FC/iSCSI
109 multihost: true
110 multipath: true
111 pool: SAS7K2
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100112 audit:
113 enabled: false
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +0300114 barbican:
115 enabled: true
Ondrej Smola74af21b2017-04-28 12:30:24 +0200116
117
118Enable CORS parameters
119
120.. code-block:: yaml
121
122 cinder:
123 controller:
124 cors:
125 allowed_origin: https:localhost.local,http:localhost.local
126 expose_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
127 allow_methods: GET,PUT,POST,DELETE,PATCH
128 allow_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
129 allow_credentials: True
130 max_age: 86400
Jiri Konecny2dce35f2016-04-19 16:29:52 +0200131
132Client-side RabbitMQ HA setup for controller
133
134.. code-block:: yaml
135
136 cinder:
137 controller:
138 ....
139 message_queue:
140 engine: rabbitmq
141 members:
142 - host: 10.0.16.1
143 - host: 10.0.16.2
144 - host: 10.0.16.3
145 user: openstack
146 password: pwd
147 virtual_host: '/openstack'
148 ....
149
150Client-side RabbitMQ HA setup for volume component
151
152.. code-block:: yaml
153
154 cinder:
155 volume:
156 ....
157 message_queue:
158 engine: rabbitmq
159 members:
160 - host: 10.0.16.1
161 - host: 10.0.16.2
162 - host: 10.0.16.3
163 user: openstack
164 password: pwd
165 virtual_host: '/openstack'
166 ....
Filip Pytlounda2a0792015-10-06 16:28:31 +0200167
Kirill Bespalov01614c02017-07-31 17:06:09 +0300168
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300169Configuring TLS communications
170------------------------------
Kirill Bespalov01614c02017-07-31 17:06:09 +0300171
Kirill Bespalov01614c02017-07-31 17:06:09 +0300172
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300173**Note:** by default system wide installed CA certs are used, so ``cacert_file`` param is optional, as well as ``cacert``.
174
175
176- **RabbitMQ TLS**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300177
178.. code-block:: yaml
179
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300180 cinder:
181 controller, volume:
Kirill Bespalov01614c02017-07-31 17:06:09 +0300182 message_queue:
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300183 port: 5671
Kirill Bespalov01614c02017-07-31 17:06:09 +0300184 ssl:
185 enabled: True
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300186 (optional) cacert: cert body if the cacert_file does not exists
187 (optional) cacert_file: /etc/openstack/rabbitmq-ca.pem
188 (optional) version: TLSv1_2
Kirill Bespalov01614c02017-07-31 17:06:09 +0300189
190
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300191- **MySQL TLS**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300192
193.. code-block:: yaml
194
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300195 cinder:
196 controller:
197 database:
Kirill Bespalov01614c02017-07-31 17:06:09 +0300198 ssl:
199 enabled: True
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300200 (optional) cacert: cert body if the cacert_file does not exists
201 (optional) cacert_file: /etc/openstack/mysql-ca.pem
Kirill Bespalov01614c02017-07-31 17:06:09 +0300202
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300203- **Openstack HTTPS API**
Kirill Bespalov01614c02017-07-31 17:06:09 +0300204
205.. code-block:: yaml
206
Kirill Bespalov1550d6c2017-11-21 12:55:33 +0300207 cinder:
208 controller, volume:
209 identity:
210 protocol: https
211 (optional) cacert_file: /etc/openstack/proxy.pem
212 glance:
213 protocol: https
214 (optional) cacert_file: /etc/openstack/proxy.pem
Kirill Bespalov01614c02017-07-31 17:06:09 +0300215
216
217
Filip Pytlounda2a0792015-10-06 16:28:31 +0200218Cinder setup with zeroing deleted volumes
219
Alexander Noskov62496fb2017-02-27 16:42:54 +0100220.. code-block:: yaml
221
Filip Pytlounda2a0792015-10-06 16:28:31 +0200222 cinder:
223 controller:
224 enabled: true
225 wipe_method: zero
226 ...
227
228Cinder setup with shreding deleted volumes
229
230.. code-block:: yaml
231
232 cinder:
233 controller:
234 enabled: true
235 wipe_method: shred
236 ...
237
Dmitry Ukov56c29072017-05-04 16:48:29 +0400238Configuration of policy.json file
239
240.. code-block:: yaml
241
242 cinder:
243 controller:
244 ....
245 policy:
246 'volume:delete': 'rule:admin_or_owner'
247 # Add key without value to remove line from policy.json
248 'volume:extend':
249
Filip Pytlounda2a0792015-10-06 16:28:31 +0200250
251Default Cinder setup with iSCSI target
252
253.. code-block:: yaml
254
255 cinder:
256 controller:
257 enabled: true
Jakub Pavlik3d437df2016-04-11 22:07:50 +0200258 version: mitaka
259 default_volume_type: lvmdriver-1
Filip Pytlounda2a0792015-10-06 16:28:31 +0200260 database:
261 engine: mysql
262 host: 127.0.0.1
263 port: 3306
264 name: cinder
265 user: cinder
266 password: pwd
267 identity:
268 engine: keystone
269 host: 127.0.0.1
270 port: 35357
271 tenant: service
272 user: cinder
273 password: pwd
274 message_queue:
275 engine: rabbitmq
276 host: 127.0.0.1
277 port: 5672
278 user: openstack
279 password: pwd
280 virtual_host: '/openstack'
Jakub Pavlikaf96c2a2016-01-08 15:49:54 +0100281 backend:
Jakub Pavlik3d437df2016-04-11 22:07:50 +0200282 lvmdriver-1:
283 engine: lvm
284 type_name: lvmdriver-1
285 volume_group: cinder-volume
Filip Pytlounda2a0792015-10-06 16:28:31 +0200286
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100287Cinder setup for IBM Storwize
Filip Pytlounda2a0792015-10-06 16:28:31 +0200288
289.. code-block:: yaml
290
291 cinder:
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100292 volume:
Filip Pytlounda2a0792015-10-06 16:28:31 +0200293 enabled: true
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100294 backend:
295 7k2_SAS:
296 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100297 type_name: 7k2 SAS disk
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100298 host: 192.168.0.1
299 port: 22
300 user: username
301 password: pass
302 connection: FC/iSCSI
303 multihost: true
304 multipath: true
305 pool: SAS7K2
306 10k_SAS:
307 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100308 type_name: 10k SAS disk
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100309 host: 192.168.0.1
310 port: 22
311 user: username
312 password: pass
313 connection: FC/iSCSI
314 multihost: true
315 multipath: true
316 pool: SAS10K
317 15k_SAS:
318 engine: storwize
Jakub Pavlikedd46102016-01-08 16:20:38 +0100319 type_name: 15k SAS
Ales Komarekdf13bbd2016-01-05 21:33:36 +0100320 host: 192.168.0.1
321 port: 22
322 user: username
323 password: pass
324 connection: FC/iSCSI
325 multihost: true
326 multipath: true
327 pool: SAS15K
Filip Pytlounda2a0792015-10-06 16:28:31 +0200328
Jiri Broulik88548db2017-03-31 12:21:37 +0200329
330Cinder setup with NFS
331
332.. code-block:: yaml
333
334 cinder:
335 controller:
336 enabled: true
337 default_volume_type: nfs-driver
338 backend:
339 nfs-driver:
340 engine: nfs
341 type_name: nfs-driver
342 volume_group: cinder-volume
343 path: /var/lib/cinder/nfs
344 devices:
345 - 172.16.10.110:/var/nfs/cinder
346 options: rw,sync
347
348
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400349Cinder setup with NetApp
350
351.. code-block:: yaml
352
353 cinder:
354 controller:
355 backend:
356 netapp:
357 engine: netapp
358 type_name: netapp
359 user: openstack
360 vserver: vm1
361 server_hostname: 172.18.2.3
362 password: password
363 storage_protocol: nfs
364 transport_type: https
365 lun_space_reservation: enabled
366 use_multipath_for_image_xfer: True
Dmitry Stremkouskiffa53c02017-09-15 19:47:21 +0300367 nas_secure_file_operations: false
368 nas_secure_file_permissions: false
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400369 devices:
370 - 172.18.1.2:/vol_1
371 - 172.18.1.2:/vol_2
372 - 172.18.1.2:/vol_3
373 - 172.18.1.2:/vol_4
Jakub Pavlik94dc0c92017-06-14 14:53:23 +0200374 linux:
375 system:
376 package:
377 nfs-common:
378 version: latest
Alexey Chekunovf916f0c2017-05-25 13:29:45 +0400379
380
Filip Pytlounda2a0792015-10-06 16:28:31 +0200381Cinder setup with Hitachi VPS
382
383.. code-block:: yaml
384
385 cinder:
386 controller:
387 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100388 backend:
389 hus100_backend:
marcodaa52fa2016-01-25 23:49:50 +0100390 type_name: HUS100
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100391 backend: hus100_backend
392 engine: hitachi_vsp
393 connection: FC
Filip Pytlounda2a0792015-10-06 16:28:31 +0200394
Ondrej Smola16d66bd2017-01-15 13:56:03 +0100395Cinder setup with Hitachi VPS with defined ldev range
396
397.. code-block:: yaml
398
399 cinder:
400 controller:
401 enabled: true
402 backend:
403 hus100_backend:
404 type_name: HUS100
405 backend: hus100_backend
406 engine: hitachi_vsp
407 connection: FC
408 ldev_range: 0-1000
409
Filip Pytlounda2a0792015-10-06 16:28:31 +0200410Cinder setup with CEPH
411
412.. code-block:: yaml
413
414 cinder:
415 controller:
416 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100417 backend:
418 ceph_backend:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100419 type_name: standard-iops
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100420 backend: ceph_backend
421 pool: volumes
422 engine: ceph
423 user: cinder
424 secret_uuid: da74ccb7-aa59-1721-a172-0006b1aa4e3e
425 client_cinder_key: AQDOavlU6BsSJhAAnpFR906mvdgdfRqLHwu0Uw==
Michel Nederlofb43a4872017-06-20 09:36:47 +0200426 report_discard_supported: True
Filip Pytlounda2a0792015-10-06 16:28:31 +0200427
428http://ceph.com/docs/master/rbd/rbd-openstack/
429
430
431Cinder setup with HP3par
432
433.. code-block:: yaml
434
435 cinder:
436 controller:
437 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100438 backend:
439 hp3par_backend:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100440 type_name: hp3par
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100441 backend: hp3par_backend
442 user: hp3paruser
443 password: something
444 url: http://10.10.10.10/api/v1
445 cpg: OpenStackCPG
446 host: 10.10.10.10
447 login: hp3paradmin
448 sanpassword: something
449 debug: True
450 snapcpg: OpenStackSNAPCPG
Filip Pytlounda2a0792015-10-06 16:28:31 +0200451
452Cinder setup with Fujitsu Eternus
453
454.. code-block:: yaml
455
456 cinder:
457 volume:
458 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100459 backend:
460 10kThinPro:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100461 type_name: 10kThinPro
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100462 engine: fujitsu
463 pool: 10kThinPro
464 host: 192.168.0.1
465 port: 5988
466 user: username
467 password: pass
468 connection: FC/iSCSI
marcodaa52fa2016-01-25 23:49:50 +0100469 name: 10kThinPro
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100470 10k_SAS:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100471 type_name: 10k_SAS
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100472 pool: SAS10K
473 engine: fujitsu
474 host: 192.168.0.1
475 port: 5988
476 user: username
477 password: pass
478 connection: FC/iSCSI
marcodaa52fa2016-01-25 23:49:50 +0100479 name: 10k_SAS
Filip Pytlounda2a0792015-10-06 16:28:31 +0200480
Jakub Pavlik9703c602015-10-15 18:52:47 +0200481Cinder setup with IBM GPFS filesystem
482
483.. code-block:: yaml
484
485 cinder:
486 volume:
487 enabled: true
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100488 backend:
489 GPFS-GOLD:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100490 type_name: GPFS-GOLD
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100491 engine: gpfs
492 mount_point: '/mnt/gpfs-openstack/cinder/gold'
marcodaa52fa2016-01-25 23:49:50 +0100493 GPFS-SILVER:
Jakub Pavlikedd46102016-01-08 16:20:38 +0100494 type_name: GPFS-SILVER
Jakub Pavlik5d7df0d2016-01-06 13:08:30 +0100495 engine: gpfs
496 mount_point: '/mnt/gpfs-openstack/cinder/silver'
Kirill Bespalov01614c02017-07-31 17:06:09 +0300497
Jakub Pavlik9f5988a2016-01-11 13:44:57 +0100498Cinder setup with HP LeftHand
499
500.. code-block:: yaml
501
502 cinder:
503 volume:
504 enabled: true
505 backend:
506 HP-LeftHand:
507 type_name: normal-storage
508 engine: hp_lefthand
509 api_url: 'https://10.10.10.10:8081/lhos'
510 username: user
511 password: password
512 clustername: cluster1
513 iscsi_chap_enabled: false
514
Jakub Pavlika63764f2016-01-11 14:41:06 +0100515Extra parameters for HP LeftHand
Jakub Pavlika63764f2016-01-11 14:41:06 +0100516
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100517.. code-block:: yaml
518
Kirill Bespalov01614c02017-07-31 17:06:09 +0300519 cinder type-key normal-storage set hplh:data_pl=r-10-2 hplh:provisioning=full
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100520
marcodaa52fa2016-01-25 23:49:50 +0100521Cinder setup with Solidfire
Jakub Pavlik5050dda2016-01-11 16:52:32 +0100522
523.. code-block:: yaml
524
525 cinder:
526 volume:
527 enabled: true
528 backend:
529 solidfire:
530 type_name: normal-storage
531 engine: solidfire
532 san_ip: 10.10.10.10
533 san_login: user
534 san_password: password
535 clustername: cluster1
536 sf_emulate_512: false
Filip Pytlounda2a0792015-10-06 16:28:31 +0200537
Alexander Noskov023a0032017-06-16 09:31:59 +0200538Cinder setup with Block Device driver
539
540.. code-block:: yaml
541
542 cinder:
543 volume:
544 enabled: true
545 backend:
546 bdd:
547 engine: bdd
548 enabled: true
549 type_name: bdd
550 devices:
551 - sdb
552 - sdc
553 - sdd
554
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200555Enable cinder-backup service for ceph
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100556
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200557.. code-block:: yaml
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100558
Ondrej Smolaed6abbf2017-04-25 11:55:44 +0200559 cinder:
560 controller:
561 enabled: true
562 version: mitaka
563 backup:
564 engine: ceph
565 ceph_conf: "/etc/ceph/ceph.conf"
566 ceph_pool: backup
567 ceph_stripe_count: 0
568 ceph_stripe_unit: 0
569 ceph_user: cinder
570 ceph_chunk_size: 134217728
571 restore_discard_excess_bytes: false
572 volume:
573 enabled: true
574 version: mitaka
575 backup:
576 engine: ceph
577 ceph_conf: "/etc/ceph/ceph.conf"
578 ceph_pool: backup
579 ceph_stripe_count: 0
580 ceph_stripe_unit: 0
581 ceph_user: cinder
582 ceph_chunk_size: 134217728
583 restore_discard_excess_bytes: false
Kirill Bespalov01614c02017-07-31 17:06:09 +0300584
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100585Enable auditing filter, ie: CADF
586
587.. code-block:: yaml
588
589 cinder:
590 controller:
591 audit:
592 enabled: true
593 ....
594 filter_factory: 'keystonemiddleware.audit:filter_factory'
595 map_file: '/etc/pycadf/cinder_api_audit_map.conf'
596 ....
597 volume:
598 audit:
599 enabled: true
600 ....
601 filter_factory: 'keystonemiddleware.audit:filter_factory'
602 map_file: '/etc/pycadf/cinder_api_audit_map.conf'
603
Michel Nederlofb8603eb2017-02-09 10:04:38 +0100604
605Cinder setup with custom availability zones:
606
607.. code-block:: yaml
608
609 cinder:
610 controller:
611 default_availability_zone: my-default-zone
612 storage_availability_zone: my-custom-zone-name
613 cinder:
614 volume:
615 default_availability_zone: my-default-zone
616 storage_availability_zone: my-custom-zone-name
617
Andrii Ostapenkob7aa34d2017-04-20 14:22:44 +0300618
619Cinder setup with custom non-admin volume query filters:
620
621.. code-block:: yaml
622
623 cinder:
624 controller:
625 query_volume_filters:
626 - name
627 - status
628 - metadata
629 - availability_zone
630 - bootable
631
632
Alexander Noskov62496fb2017-02-27 16:42:54 +0100633public_endpoint and osapi_volume_base_url parameters:
634"public_endpoint" is used for configuring versions endpoint,
635"osapi_volume_base_URL" is used to present Cinder URL to users.
636They are useful when running Cinder under load balancer in SSL.
637
638.. code-block:: yaml
639
640 cinder:
641 controller:
642 public_endpoint_address: https://${_param:cluster_domain}:8776
643
Michel Nederlofb8603eb2017-02-09 10:04:38 +0100644The 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)
645The storage availability zone is the actual zone where the node belongs to. Make sure to specify this per node.
646Check the documentation of OpenStack for more information
647
Jiri Broulik47aa6b32017-07-10 18:39:15 +0200648
649Client role
650
651.. code-block:: yaml
652
653 cinder:
654 client:
655 enabled: true
656 identity:
657 host: 127.0.0.1
658 port: 35357
659 project: service
660 user: cinder
661 password: pwd
662 protocol: http
663 endpoint_type: internalURL
664 region_name: RegionOne
665 backend:
666 ceph:
667 type_name: standard-iops
668 engine: ceph
669 key:
670 conn_speed: fibre-10G
671
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +0300672Enable Barbican integration
673
674.. code-block:: yaml
675
676 cinder:
677 controller:
678 barbican:
679 enabled: true
Jiri Broulik47aa6b32017-07-10 18:39:15 +0200680
Jakub Pavlikb513f132016-05-20 11:11:19 +0200681Documentation and Bugs
682============================
683
684To learn how to deploy OpenStack Salt, consult the documentation available
685online at:
686
Petr Michaleca1c7ff12016-11-29 16:32:50 +0100687https://wiki.openstack.org/wiki/OpenStackSalt
Jakub Pavlikb513f132016-05-20 11:11:19 +0200688
689In the unfortunate event that bugs are discovered, they should be reported to
690the appropriate bug tracker. If you obtained the software from a 3rd party
691operating system vendor, it is often wise to use their own bug tracker for
692reporting problems. In all other cases use the master OpenStack bug tracker,
693available at:
694
695 http://bugs.launchpad.net/openstack-salt
696
697Developers wishing to work on the OpenStack Salt project should always base
698their work on the latest formulas code, available from the master GIT
699repository at:
700
701 https://git.openstack.org/cgit/openstack/salt-formula-cinder
702
703Developers should also join the discussion on the IRC list, at:
704
705 https://wiki.openstack.org/wiki/Meetings/openstack-salt
Filip Pytlounb0f5c1f2017-02-02 13:02:03 +0100706
707Documentation and Bugs
708======================
709
710To learn how to install and update salt-formulas, consult the documentation
711available online at:
712
713 http://salt-formulas.readthedocs.io/
714
715In the unfortunate event that bugs are discovered, they should be reported to
716the appropriate issue tracker. Use Github issue tracker for specific salt
717formula:
718
719 https://github.com/salt-formulas/salt-formula-cinder/issues
720
721For feature requests, bug reports or blueprints affecting entire ecosystem,
722use Launchpad salt-formulas project:
723
724 https://launchpad.net/salt-formulas
725
726You can also join salt-formulas-users team and subscribe to mailing list:
727
728 https://launchpad.net/~salt-formulas-users
729
730Developers wishing to work on the salt-formulas projects should always base
731their work on master branch and submit pull request against specific formula.
732
733 https://github.com/salt-formulas/salt-formula-cinder
734
735Any questions or feedback is always welcome so feel free to join our IRC
736channel:
737
738 #salt-formulas @ irc.freenode.net