OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 1 | ===== |
| 2 | Usage |
| 3 | ===== |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 4 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 5 | Cinder provides an infrastructure for managing volumes in OpenStack. |
| 6 | Originally, this project was the Nova component called ``nova-volume`` |
| 7 | and starting from the Folsom OpenStack release it has become an independent |
| 8 | project. |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 9 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 10 | This file provides the sample configurations for different use cases: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 11 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 12 | * Pillar sample of a basic Cinder configuration: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 13 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 14 | The pillar structure defines ``cinder-api`` and ``cinder-scheduler`` inside |
| 15 | the ``controller`` role and ``cinder-volume`` inside the to ``volume`` |
| 16 | role. |
| 17 | |
| 18 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 19 | |
| 20 | cinder: |
| 21 | controller: |
| 22 | enabled: true |
| 23 | version: juno |
Dmitry Stremkovskiy | 9f4ac8b | 2017-07-11 09:48:46 +0300 | [diff] [blame] | 24 | cinder_uid: 304 |
| 25 | cinder_gid: 304 |
Dmitry Stremkovskiy | ef4c7d0 | 2017-07-30 16:51:52 +0300 | [diff] [blame] | 26 | nas_secure_file_permissions: false |
| 27 | nas_secure_file_operations: false |
Dmitry Stremkovskiy | a5dd799 | 2017-07-30 19:54:23 +0300 | [diff] [blame] | 28 | cinder_internal_tenant_user_id: f46924c112a14c80ab0a24a613d95eef |
| 29 | cinder_internal_tenant_project_id: b7455b8974bb4064ad247c8f375eae6c |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 30 | default_volume_type: 7k2SaS |
stelucz | 1f3a82f | 2017-09-19 18:38:13 +0200 | [diff] [blame] | 31 | enable_force_upload: true |
Damian Szeluga | 0918f5a | 2017-04-19 12:26:56 +0200 | [diff] [blame] | 32 | availability_zone_fallback: True |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 33 | database: |
| 34 | engine: mysql |
| 35 | host: 127.0.0.1 |
| 36 | port: 3306 |
| 37 | name: cinder |
| 38 | user: cinder |
| 39 | password: pwd |
| 40 | identity: |
| 41 | engine: keystone |
| 42 | host: 127.0.0.1 |
| 43 | port: 35357 |
| 44 | tenant: service |
| 45 | user: cinder |
| 46 | password: pwd |
| 47 | message_queue: |
| 48 | engine: rabbitmq |
| 49 | host: 127.0.0.1 |
| 50 | port: 5672 |
| 51 | user: openstack |
| 52 | password: pwd |
| 53 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 54 | backend: |
| 55 | 7k2_SAS: |
| 56 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 57 | type_name: slow-disks |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 58 | host: 192.168.0.1 |
| 59 | port: 22 |
| 60 | user: username |
| 61 | password: pass |
| 62 | connection: FC/iSCSI |
| 63 | multihost: true |
| 64 | multipath: true |
| 65 | pool: SAS7K2 |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 66 | audit: |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 67 | enabled: false |
Simon Pasquier | 9089de4 | 2017-02-03 16:13:22 +0100 | [diff] [blame] | 68 | osapi_max_limit: 500 |
Oleg Iurchenko | 83ee09a | 2017-10-17 18:24:28 +0300 | [diff] [blame] | 69 | barbican: |
| 70 | enabled: true |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 71 | |
| 72 | cinder: |
| 73 | volume: |
| 74 | enabled: true |
| 75 | version: juno |
Dmitry Stremkovskiy | 9f4ac8b | 2017-07-11 09:48:46 +0300 | [diff] [blame] | 76 | cinder_uid: 304 |
| 77 | cinder_gid: 304 |
Dmitry Stremkovskiy | ef4c7d0 | 2017-07-30 16:51:52 +0300 | [diff] [blame] | 78 | nas_secure_file_permissions: false |
| 79 | nas_secure_file_operations: false |
Dmitry Stremkovskiy | a5dd799 | 2017-07-30 19:54:23 +0300 | [diff] [blame] | 80 | cinder_internal_tenant_user_id: f46924c112a14c80ab0a24a613d95eef |
| 81 | cinder_internal_tenant_project_id: b7455b8974bb4064ad247c8f375eae6c |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 82 | default_volume_type: 7k2SaS |
stelucz | 1f3a82f | 2017-09-19 18:38:13 +0200 | [diff] [blame] | 83 | nable_force_upload: true |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 84 | database: |
| 85 | engine: mysql |
| 86 | host: 127.0.0.1 |
| 87 | port: 3306 |
| 88 | name: cinder |
| 89 | user: cinder |
| 90 | password: pwd |
| 91 | identity: |
| 92 | engine: keystone |
| 93 | host: 127.0.0.1 |
| 94 | port: 35357 |
| 95 | tenant: service |
| 96 | user: cinder |
| 97 | password: pwd |
| 98 | message_queue: |
| 99 | engine: rabbitmq |
| 100 | host: 127.0.0.1 |
| 101 | port: 5672 |
| 102 | user: openstack |
| 103 | password: pwd |
| 104 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 105 | backend: |
| 106 | 7k2_SAS: |
| 107 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 108 | type_name: 7k2 SAS disk |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 109 | host: 192.168.0.1 |
| 110 | port: 22 |
| 111 | user: username |
| 112 | password: pass |
| 113 | connection: FC/iSCSI |
| 114 | multihost: true |
| 115 | multipath: true |
| 116 | pool: SAS7K2 |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 117 | audit: |
| 118 | enabled: false |
Oleg Iurchenko | 83ee09a | 2017-10-17 18:24:28 +0300 | [diff] [blame] | 119 | barbican: |
| 120 | enabled: true |
Ondrej Smola | 74af21b | 2017-04-28 12:30:24 +0200 | [diff] [blame] | 121 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 122 | * The CORS parameters enablement: |
Ondrej Smola | 74af21b | 2017-04-28 12:30:24 +0200 | [diff] [blame] | 123 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 124 | .. code-block:: yaml |
Ondrej Smola | 74af21b | 2017-04-28 12:30:24 +0200 | [diff] [blame] | 125 | |
| 126 | cinder: |
| 127 | controller: |
| 128 | cors: |
| 129 | allowed_origin: https:localhost.local,http:localhost.local |
| 130 | expose_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token |
| 131 | allow_methods: GET,PUT,POST,DELETE,PATCH |
| 132 | allow_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token |
| 133 | allow_credentials: True |
| 134 | max_age: 86400 |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 135 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 136 | * The client-side RabbitMQ HA setup for the controller: |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 137 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 138 | .. code-block:: yaml |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 139 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 140 | cinder: |
| 141 | controller: |
| 142 | .... |
| 143 | message_queue: |
| 144 | engine: rabbitmq |
| 145 | members: |
| 146 | - host: 10.0.16.1 |
| 147 | - host: 10.0.16.2 |
| 148 | - host: 10.0.16.3 |
| 149 | user: openstack |
| 150 | password: pwd |
| 151 | virtual_host: '/openstack' |
| 152 | .... |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 153 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 154 | * The client-side RabbitMQ HA setup for the volume component |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 155 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 156 | .. code-block:: yaml |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 157 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 158 | cinder: |
| 159 | volume: |
| 160 | .... |
| 161 | message_queue: |
| 162 | engine: rabbitmq |
| 163 | members: |
| 164 | - host: 10.0.16.1 |
| 165 | - host: 10.0.16.2 |
| 166 | - host: 10.0.16.3 |
| 167 | user: openstack |
| 168 | password: pwd |
| 169 | virtual_host: '/openstack' |
| 170 | .... |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 171 | |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 172 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 173 | * Configuring TLS communications. |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 174 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 175 | .. note:: By default, system-wide installed CA certs are used. |
| 176 | Therefore, the ``cacert_file`` and ``cacert`` parameters are |
| 177 | optional. |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 178 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 179 | * RabbitMQ TLS: |
Kirill Bespalov | 1550d6c | 2017-11-21 12:55:33 +0300 | [diff] [blame] | 180 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 181 | .. code-block:: yaml |
Kirill Bespalov | 1550d6c | 2017-11-21 12:55:33 +0300 | [diff] [blame] | 182 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 183 | cinder: |
| 184 | controller, volume: |
| 185 | message_queue: |
| 186 | port: 5671 |
| 187 | ssl: |
| 188 | enabled: True |
| 189 | (optional) cacert: cert body if the cacert_file does not exists |
| 190 | (optional) cacert_file: /etc/openstack/rabbitmq-ca.pem |
| 191 | (optional) version: TLSv1_2 |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 192 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 193 | * MySQL TLS: |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 194 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 195 | .. code-block:: yaml |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 196 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 197 | cinder: |
| 198 | controller: |
| 199 | database: |
| 200 | ssl: |
| 201 | enabled: True |
| 202 | (optional) cacert: cert body if the cacert_file does not exists |
| 203 | (optional) cacert_file: /etc/openstack/mysql-ca.pem |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 204 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 205 | * Openstack HTTPS API: |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 206 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 207 | .. code-block:: yaml |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 208 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 209 | 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 Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 217 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 218 | * Cinder setup with zeroing deleted volumes: |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 219 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 220 | .. code-block:: yaml |
Alexander Noskov | 62496fb | 2017-02-27 16:42:54 +0100 | [diff] [blame] | 221 | |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 222 | cinder: |
| 223 | controller: |
| 224 | enabled: true |
| 225 | wipe_method: zero |
| 226 | ... |
| 227 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 228 | * Cinder setup with shreding deleted volumes: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 229 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 230 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 231 | |
| 232 | cinder: |
| 233 | controller: |
| 234 | enabled: true |
| 235 | wipe_method: shred |
| 236 | ... |
| 237 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 238 | * Configuration of ``policy.json`` file: |
Dmitry Ukov | 56c2907 | 2017-05-04 16:48:29 +0400 | [diff] [blame] | 239 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 240 | .. code-block:: yaml |
Dmitry Ukov | 56c2907 | 2017-05-04 16:48:29 +0400 | [diff] [blame] | 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 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 250 | * Default Cinder backend ``lvm_type`` setup: |
sgarbuz | 0901ebe | 2018-06-13 17:16:16 +0300 | [diff] [blame] | 251 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 252 | .. code-block:: yaml |
sgarbuz | 0901ebe | 2018-06-13 17:16:16 +0300 | [diff] [blame] | 253 | |
| 254 | cinder: |
| 255 | volume: |
| 256 | enabled: true |
| 257 | backend: |
| 258 | # Type of LVM volumes to deploy; (default, thin, or auto). Auto defaults to thin if thin is supported. |
| 259 | lvm_type: auto |
| 260 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 261 | * Default Cinder setup with iSCSI target: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 262 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 263 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 264 | |
| 265 | cinder: |
| 266 | controller: |
| 267 | enabled: true |
Jakub Pavlik | 3d437df | 2016-04-11 22:07:50 +0200 | [diff] [blame] | 268 | version: mitaka |
| 269 | default_volume_type: lvmdriver-1 |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 270 | database: |
| 271 | engine: mysql |
| 272 | host: 127.0.0.1 |
| 273 | port: 3306 |
| 274 | name: cinder |
| 275 | user: cinder |
| 276 | password: pwd |
| 277 | identity: |
| 278 | engine: keystone |
| 279 | host: 127.0.0.1 |
| 280 | port: 35357 |
| 281 | tenant: service |
| 282 | user: cinder |
| 283 | password: pwd |
| 284 | message_queue: |
| 285 | engine: rabbitmq |
| 286 | host: 127.0.0.1 |
| 287 | port: 5672 |
| 288 | user: openstack |
| 289 | password: pwd |
| 290 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 291 | backend: |
Jakub Pavlik | 3d437df | 2016-04-11 22:07:50 +0200 | [diff] [blame] | 292 | lvmdriver-1: |
| 293 | engine: lvm |
| 294 | type_name: lvmdriver-1 |
| 295 | volume_group: cinder-volume |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 296 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 297 | * Cinder setup for IBM Storwize: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 298 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 299 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 300 | |
| 301 | cinder: |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 302 | volume: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 303 | enabled: true |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 304 | backend: |
| 305 | 7k2_SAS: |
| 306 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 307 | type_name: 7k2 SAS disk |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 308 | host: 192.168.0.1 |
| 309 | port: 22 |
| 310 | user: username |
| 311 | password: pass |
| 312 | connection: FC/iSCSI |
| 313 | multihost: true |
| 314 | multipath: true |
| 315 | pool: SAS7K2 |
| 316 | 10k_SAS: |
| 317 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 318 | type_name: 10k SAS disk |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 319 | host: 192.168.0.1 |
| 320 | port: 22 |
| 321 | user: username |
| 322 | password: pass |
| 323 | connection: FC/iSCSI |
| 324 | multihost: true |
| 325 | multipath: true |
| 326 | pool: SAS10K |
| 327 | 15k_SAS: |
| 328 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 329 | type_name: 15k SAS |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 330 | host: 192.168.0.1 |
| 331 | port: 22 |
| 332 | user: username |
| 333 | password: pass |
| 334 | connection: FC/iSCSI |
| 335 | multihost: true |
| 336 | multipath: true |
| 337 | pool: SAS15K |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 338 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 339 | * Cinder setup with NFS: |
Jiri Broulik | 88548db | 2017-03-31 12:21:37 +0200 | [diff] [blame] | 340 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 341 | .. code-block:: yaml |
Jiri Broulik | 88548db | 2017-03-31 12:21:37 +0200 | [diff] [blame] | 342 | |
| 343 | cinder: |
| 344 | controller: |
| 345 | enabled: true |
| 346 | default_volume_type: nfs-driver |
| 347 | backend: |
| 348 | nfs-driver: |
| 349 | engine: nfs |
| 350 | type_name: nfs-driver |
| 351 | volume_group: cinder-volume |
| 352 | path: /var/lib/cinder/nfs |
| 353 | devices: |
| 354 | - 172.16.10.110:/var/nfs/cinder |
| 355 | options: rw,sync |
| 356 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 357 | * Cinder setup with NetApp: |
Jiri Broulik | 88548db | 2017-03-31 12:21:37 +0200 | [diff] [blame] | 358 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 359 | .. code-block:: yaml |
Alexey Chekunov | f916f0c | 2017-05-25 13:29:45 +0400 | [diff] [blame] | 360 | |
| 361 | cinder: |
| 362 | controller: |
| 363 | backend: |
| 364 | netapp: |
| 365 | engine: netapp |
| 366 | type_name: netapp |
| 367 | user: openstack |
| 368 | vserver: vm1 |
| 369 | server_hostname: 172.18.2.3 |
| 370 | password: password |
| 371 | storage_protocol: nfs |
| 372 | transport_type: https |
| 373 | lun_space_reservation: enabled |
| 374 | use_multipath_for_image_xfer: True |
Dmitry Stremkouski | ffa53c0 | 2017-09-15 19:47:21 +0300 | [diff] [blame] | 375 | nas_secure_file_operations: false |
| 376 | nas_secure_file_permissions: false |
Alexey Chekunov | f916f0c | 2017-05-25 13:29:45 +0400 | [diff] [blame] | 377 | devices: |
| 378 | - 172.18.1.2:/vol_1 |
| 379 | - 172.18.1.2:/vol_2 |
| 380 | - 172.18.1.2:/vol_3 |
| 381 | - 172.18.1.2:/vol_4 |
Jakub Pavlik | 94dc0c9 | 2017-06-14 14:53:23 +0200 | [diff] [blame] | 382 | linux: |
| 383 | system: |
| 384 | package: |
| 385 | nfs-common: |
| 386 | version: latest |
Alexey Chekunov | f916f0c | 2017-05-25 13:29:45 +0400 | [diff] [blame] | 387 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 388 | * Cinder setup with Hitachi VPS: |
Alexey Chekunov | f916f0c | 2017-05-25 13:29:45 +0400 | [diff] [blame] | 389 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 390 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 391 | |
| 392 | cinder: |
| 393 | controller: |
| 394 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 395 | backend: |
| 396 | hus100_backend: |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 397 | type_name: HUS100 |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 398 | backend: hus100_backend |
| 399 | engine: hitachi_vsp |
| 400 | connection: FC |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 401 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 402 | * Cinder setup with Hitachi VPS with defined ``ldev`` range: |
Ondrej Smola | 16d66bd | 2017-01-15 13:56:03 +0100 | [diff] [blame] | 403 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 404 | .. code-block:: yaml |
Ondrej Smola | 16d66bd | 2017-01-15 13:56:03 +0100 | [diff] [blame] | 405 | |
| 406 | cinder: |
| 407 | controller: |
| 408 | enabled: true |
| 409 | backend: |
| 410 | hus100_backend: |
| 411 | type_name: HUS100 |
| 412 | backend: hus100_backend |
| 413 | engine: hitachi_vsp |
| 414 | connection: FC |
| 415 | ldev_range: 0-1000 |
| 416 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 417 | * Cinder setup with Ceph: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 418 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 419 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 420 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 421 | cinder: |
| 422 | controller: |
| 423 | enabled: true |
| 424 | backend: |
| 425 | ceph_backend: |
| 426 | type_name: standard-iops |
| 427 | backend: ceph_backend |
| 428 | pool: volumes |
| 429 | engine: ceph |
| 430 | user: cinder |
| 431 | secret_uuid: da74ccb7-aa59-1721-a172-0006b1aa4e3e |
| 432 | client_cinder_key: AQDOavlU6BsSJhAAnpFR906mvdgdfRqLHwu0Uw== |
| 433 | report_discard_supported: True |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 434 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 435 | .. note:: `Ceph official documentation <http://ceph.com/docs/master/rbd/rbd-openstack/>`__ |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 436 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 437 | * Cinder setup with HP3par: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 438 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 439 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 440 | |
| 441 | cinder: |
| 442 | controller: |
| 443 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 444 | backend: |
| 445 | hp3par_backend: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 446 | type_name: hp3par |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 447 | backend: hp3par_backend |
| 448 | user: hp3paruser |
| 449 | password: something |
| 450 | url: http://10.10.10.10/api/v1 |
| 451 | cpg: OpenStackCPG |
| 452 | host: 10.10.10.10 |
| 453 | login: hp3paradmin |
| 454 | sanpassword: something |
| 455 | debug: True |
| 456 | snapcpg: OpenStackSNAPCPG |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 457 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 458 | * Cinder setup with Fujitsu Eternus: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 459 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 460 | .. code-block:: yaml |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 461 | |
| 462 | cinder: |
| 463 | volume: |
| 464 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 465 | backend: |
| 466 | 10kThinPro: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 467 | type_name: 10kThinPro |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 468 | engine: fujitsu |
| 469 | pool: 10kThinPro |
| 470 | host: 192.168.0.1 |
| 471 | port: 5988 |
| 472 | user: username |
| 473 | password: pass |
| 474 | connection: FC/iSCSI |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 475 | name: 10kThinPro |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 476 | 10k_SAS: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 477 | type_name: 10k_SAS |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 478 | pool: SAS10K |
| 479 | engine: fujitsu |
| 480 | host: 192.168.0.1 |
| 481 | port: 5988 |
| 482 | user: username |
| 483 | password: pass |
| 484 | connection: FC/iSCSI |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 485 | name: 10k_SAS |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 486 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 487 | * Cinder setup with IBM GPFS filesystem: |
Jakub Pavlik | 9703c60 | 2015-10-15 18:52:47 +0200 | [diff] [blame] | 488 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 489 | .. code-block:: yaml |
Jakub Pavlik | 9703c60 | 2015-10-15 18:52:47 +0200 | [diff] [blame] | 490 | |
| 491 | cinder: |
| 492 | volume: |
| 493 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 494 | backend: |
| 495 | GPFS-GOLD: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 496 | type_name: GPFS-GOLD |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 497 | engine: gpfs |
| 498 | mount_point: '/mnt/gpfs-openstack/cinder/gold' |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 499 | GPFS-SILVER: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 500 | type_name: GPFS-SILVER |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 501 | engine: gpfs |
| 502 | mount_point: '/mnt/gpfs-openstack/cinder/silver' |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 503 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 504 | * Cinder setup with HP LeftHand: |
Jakub Pavlik | 9f5988a | 2016-01-11 13:44:57 +0100 | [diff] [blame] | 505 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 506 | .. code-block:: yaml |
Jakub Pavlik | 9f5988a | 2016-01-11 13:44:57 +0100 | [diff] [blame] | 507 | |
| 508 | cinder: |
| 509 | volume: |
| 510 | enabled: true |
| 511 | backend: |
| 512 | HP-LeftHand: |
| 513 | type_name: normal-storage |
| 514 | engine: hp_lefthand |
| 515 | api_url: 'https://10.10.10.10:8081/lhos' |
| 516 | username: user |
| 517 | password: password |
| 518 | clustername: cluster1 |
| 519 | iscsi_chap_enabled: false |
| 520 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 521 | * Extra parameters for HP LeftHand: |
Jakub Pavlik | a63764f | 2016-01-11 14:41:06 +0100 | [diff] [blame] | 522 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 523 | .. code-block:: yaml |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 524 | |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 525 | cinder type-key normal-storage set hplh:data_pl=r-10-2 hplh:provisioning=full |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 526 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 527 | * Cinder setup with Solidfire: |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 528 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 529 | .. code-block:: yaml |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 530 | |
| 531 | cinder: |
| 532 | volume: |
| 533 | enabled: true |
| 534 | backend: |
| 535 | solidfire: |
| 536 | type_name: normal-storage |
| 537 | engine: solidfire |
| 538 | san_ip: 10.10.10.10 |
| 539 | san_login: user |
| 540 | san_password: password |
| 541 | clustername: cluster1 |
| 542 | sf_emulate_512: false |
sergio | 9e6387e | 2018-02-19 21:13:14 +0200 | [diff] [blame] | 543 | sf_api_port: 14443 |
| 544 | host: ctl01 |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 545 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 546 | * Cinder setup with Block Device driver: |
Alexander Noskov | 023a003 | 2017-06-16 09:31:59 +0200 | [diff] [blame] | 547 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 548 | .. code-block:: yaml |
Alexander Noskov | 023a003 | 2017-06-16 09:31:59 +0200 | [diff] [blame] | 549 | |
| 550 | cinder: |
| 551 | volume: |
| 552 | enabled: true |
| 553 | backend: |
| 554 | bdd: |
| 555 | engine: bdd |
| 556 | enabled: true |
| 557 | type_name: bdd |
| 558 | devices: |
| 559 | - sdb |
| 560 | - sdc |
| 561 | - sdd |
| 562 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 563 | * Enable cinder-backup service for ceph |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 564 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 565 | .. code-block:: yaml |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 566 | |
Ondrej Smola | ed6abbf | 2017-04-25 11:55:44 +0200 | [diff] [blame] | 567 | cinder: |
| 568 | controller: |
| 569 | enabled: true |
| 570 | version: mitaka |
| 571 | backup: |
| 572 | engine: ceph |
| 573 | ceph_conf: "/etc/ceph/ceph.conf" |
| 574 | ceph_pool: backup |
| 575 | ceph_stripe_count: 0 |
| 576 | ceph_stripe_unit: 0 |
| 577 | ceph_user: cinder |
| 578 | ceph_chunk_size: 134217728 |
| 579 | restore_discard_excess_bytes: false |
| 580 | volume: |
| 581 | enabled: true |
| 582 | version: mitaka |
| 583 | backup: |
| 584 | engine: ceph |
| 585 | ceph_conf: "/etc/ceph/ceph.conf" |
| 586 | ceph_pool: backup |
| 587 | ceph_stripe_count: 0 |
| 588 | ceph_stripe_unit: 0 |
| 589 | ceph_user: cinder |
| 590 | ceph_chunk_size: 134217728 |
| 591 | restore_discard_excess_bytes: false |
Kirill Bespalov | 01614c0 | 2017-07-31 17:06:09 +0300 | [diff] [blame] | 592 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 593 | * Auditing filter (CADF) enablement: |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 594 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 595 | .. code-block:: yaml |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 596 | |
| 597 | cinder: |
| 598 | controller: |
| 599 | audit: |
| 600 | enabled: true |
| 601 | .... |
| 602 | filter_factory: 'keystonemiddleware.audit:filter_factory' |
| 603 | map_file: '/etc/pycadf/cinder_api_audit_map.conf' |
| 604 | .... |
| 605 | volume: |
| 606 | audit: |
| 607 | enabled: true |
| 608 | .... |
| 609 | filter_factory: 'keystonemiddleware.audit:filter_factory' |
| 610 | map_file: '/etc/pycadf/cinder_api_audit_map.conf' |
| 611 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 612 | * Cinder setup with custom availability zones: |
Michel Nederlof | b8603eb | 2017-02-09 10:04:38 +0100 | [diff] [blame] | 613 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 614 | .. code-block:: yaml |
Michel Nederlof | b8603eb | 2017-02-09 10:04:38 +0100 | [diff] [blame] | 615 | |
| 616 | cinder: |
| 617 | controller: |
| 618 | default_availability_zone: my-default-zone |
| 619 | storage_availability_zone: my-custom-zone-name |
| 620 | cinder: |
| 621 | volume: |
| 622 | default_availability_zone: my-default-zone |
| 623 | storage_availability_zone: my-custom-zone-name |
| 624 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 625 | The ``default_availability_zone`` is used when a volume has been created, |
| 626 | without specifying a zone in the ``create`` request as this zone must exist |
| 627 | in your configuration. |
Andrii Ostapenko | b7aa34d | 2017-04-20 14:22:44 +0300 | [diff] [blame] | 628 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 629 | The ``storage_availability_zone`` is an actual zone where the node belongs to |
| 630 | and must be specified per each node. |
Andrii Ostapenko | b7aa34d | 2017-04-20 14:22:44 +0300 | [diff] [blame] | 631 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 632 | * Cinder setup with custom non-admin volume query filters: |
| 633 | |
| 634 | .. code-block:: yaml |
Andrii Ostapenko | b7aa34d | 2017-04-20 14:22:44 +0300 | [diff] [blame] | 635 | |
| 636 | cinder: |
| 637 | controller: |
| 638 | query_volume_filters: |
| 639 | - name |
| 640 | - status |
| 641 | - metadata |
| 642 | - availability_zone |
| 643 | - bootable |
| 644 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 645 | * ``public_endpoint`` and ``osapi_volume_base_url``: |
Andrii Ostapenko | b7aa34d | 2017-04-20 14:22:44 +0300 | [diff] [blame] | 646 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 647 | * ``public_endpoint`` |
| 648 | Used for configuring versions endpoint |
| 649 | * ``osapi_volume_base_URL`` |
| 650 | Used to present Cinder URL to users |
Alexander Noskov | 62496fb | 2017-02-27 16:42:54 +0100 | [diff] [blame] | 651 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 652 | These parameters can be useful when running Cinder under load balancer in |
| 653 | SSL. |
| 654 | |
| 655 | .. code-block:: yaml |
Alexander Noskov | 62496fb | 2017-02-27 16:42:54 +0100 | [diff] [blame] | 656 | |
| 657 | cinder: |
| 658 | controller: |
| 659 | public_endpoint_address: https://${_param:cluster_domain}:8776 |
| 660 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 661 | * Client role definition: |
Michel Nederlof | b8603eb | 2017-02-09 10:04:38 +0100 | [diff] [blame] | 662 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 663 | .. code-block:: yaml |
Jiri Broulik | 47aa6b3 | 2017-07-10 18:39:15 +0200 | [diff] [blame] | 664 | |
| 665 | cinder: |
| 666 | client: |
| 667 | enabled: true |
| 668 | identity: |
| 669 | host: 127.0.0.1 |
| 670 | port: 35357 |
| 671 | project: service |
| 672 | user: cinder |
| 673 | password: pwd |
| 674 | protocol: http |
| 675 | endpoint_type: internalURL |
| 676 | region_name: RegionOne |
| 677 | backend: |
| 678 | ceph: |
| 679 | type_name: standard-iops |
| 680 | engine: ceph |
| 681 | key: |
| 682 | conn_speed: fibre-10G |
| 683 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 684 | * Barbican integration enablement: |
Oleg Iurchenko | 83ee09a | 2017-10-17 18:24:28 +0300 | [diff] [blame] | 685 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 686 | .. code-block:: yaml |
Oleg Iurchenko | 83ee09a | 2017-10-17 18:24:28 +0300 | [diff] [blame] | 687 | |
| 688 | cinder: |
| 689 | controller: |
| 690 | barbican: |
| 691 | enabled: true |
Jiri Broulik | 47aa6b3 | 2017-07-10 18:39:15 +0200 | [diff] [blame] | 692 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 693 | * Keystone API version specification (v3 is default): |
Oleg Iurchenko | 6fe8e5d | 2018-02-20 14:26:04 +0200 | [diff] [blame] | 694 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 695 | .. code-block:: yaml |
Oleg Iurchenko | 6fe8e5d | 2018-02-20 14:26:04 +0200 | [diff] [blame] | 696 | |
| 697 | cinder: |
| 698 | controller: |
| 699 | identity: |
| 700 | api_version: v2.0 |
| 701 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 702 | **Enhanced logging with logging.conf** |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 703 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 704 | By default ``logging.conf`` is disabled. |
| 705 | You can enable per-binary ``logging.conf`` by setting the following |
| 706 | parameters: |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 707 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 708 | * ``openstack_log_appender`` |
| 709 | Set to ``true`` to enable ``log_config_append`` for all OpenStack |
| 710 | services |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 711 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 712 | * ``openstack_fluentd_handler_enabled`` |
| 713 | Set to ``true`` to enable FluentHandler for all Openstack services |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 714 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 715 | * ``openstack_ossyslog_handler_enabled`` |
| 716 | Set to ``true`` to enable OSSysLogHandler for all Openstack services |
| 717 | |
| 718 | Only WatchedFileHandler, OSSysLogHandler, and FluentHandler are available. |
| 719 | |
| 720 | To configure this functionality with pillar: |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 721 | |
| 722 | .. code-block:: yaml |
| 723 | |
| 724 | cinder: |
| 725 | controller: |
| 726 | logging: |
| 727 | log_appender: true |
| 728 | log_handlers: |
| 729 | watchedfile: |
| 730 | enabled: true |
| 731 | fluentd: |
| 732 | enabled: true |
Oleksii Chupryn | 688ae09 | 2018-02-07 09:49:21 +0200 | [diff] [blame] | 733 | ossyslog: |
| 734 | enabled: true |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 735 | |
| 736 | volume: |
| 737 | logging: |
| 738 | log_appender: true |
| 739 | log_handlers: |
| 740 | watchedfile: |
| 741 | enabled: true |
| 742 | fluentd: |
| 743 | enabled: true |
Oleksii Chupryn | 688ae09 | 2018-02-07 09:49:21 +0200 | [diff] [blame] | 744 | ossyslog: |
| 745 | enabled: true |
Dmitry Kalashnik | 3291f54 | 2017-12-05 18:43:47 +0400 | [diff] [blame] | 746 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 747 | **Documentation and bugs** |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 748 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 749 | * http://salt-formulas.readthedocs.io/ |
| 750 | Learn how to install and update salt-formulas |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 751 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 752 | * https://github.com/salt-formulas/salt-formula-cinder/issues |
| 753 | In the unfortunate event that bugs are discovered, report the issue to the |
| 754 | appropriate issue tracker. Use the Github issue tracker for a specific salt |
| 755 | formula |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 756 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 757 | * https://launchpad.net/salt-formulas |
| 758 | For feature requests, bug reports, or blueprints affecting the entire |
| 759 | ecosystem, use the Launchpad salt-formulas project |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 760 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 761 | * https://launchpad.net/~salt-formulas-users |
| 762 | Join the salt-formulas-users team and subscribe to mailing list if required |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 763 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 764 | * https://github.com/salt-formulas/salt-formula-cinder |
| 765 | Develop the salt-formulas projects in the master branch and then submit pull |
| 766 | requests against a specific formula |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 767 | |
OlgaGusarenko | 74b53f2 | 2018-06-28 17:35:48 +0300 | [diff] [blame^] | 768 | * #salt-formulas @ irc.freenode.net |
| 769 | Use this IRC channel in case of any questions or feedback which is always |
| 770 | welcome |